Book a Demo

Author Topic: Link an activity to a swim lane  (Read 16053 times)

chan

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Link an activity to a swim lane
« on: October 07, 2009, 05:22:17 pm »
Hey,

In my BPMN I use swimlanes. I want to link my activities in the swimlanes to the swimlane. This way i can search which activities are used in a swimlane and vice-versa.

Can you do this in EA?

Thanks in advance,

Chan

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Link an activity to a swim lane
« Reply #1 on: October 07, 2009, 05:35:20 pm »
I believe that is should be possible by creating an (SQL) search in EA, but I'm afraid it won't be easy.
Try looking in the "magic string" fields like "PDATA1" and "Style", that's were I would start.

Geert

robbierzzz

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: Link an activity to a swim lane
« Reply #2 on: October 08, 2009, 06:16:44 pm »
I was also looking for a way to report which activities are listed in the swimlanes. I asked this to Sparx, the answer is given below..

Quote
Hi Robbie,

Thanks for your note.

When placing an Activity on top/within a Lane on a diagram you should also find that it is positioned as a child of the Lane in the Project Browser.  Note, that if this doesn't happen automatically it would be due to the element's "z-order" (See the "Z Order Elements" EA help topic).  Other than this, no relationship is created between the Lane and its Activities.

Unfortunately it's not possible to display this relationship in the relationship Matrix.  Based on the Parent/Child relationship you could possibly use an RTF report (The report would include the Parent/Lane, then all the Child Activities).

If you have further questions or issues please let us know.

Best Regards,
 
Simon Cotching
Sparx Systems Pty Ltd
[email protected]
http://www.sparxsystems.com
 

-----Original Message-----
From: Robbie van Riet [mailto:[email protected]]
Sent: Monday, 8 June 2009 9:54 PM
To: sparxsupport
Subject: Registered Support Request - Relationship Matrix: Show relation activity - lane / pool

The following Registered Support Request was submitted by Robbie van Riet (mailto:[email protected]) on Mon Jun  8 21:53:58 EST 2009.
------------------------------------------------------------------------
-------

ENVIRONMENT DETAILS

EA Version:  7.5.845
EA Edition:  Corporate
EA Add In:  No Add-In
Repository Type:  
Operating System:  Windows XP
Service Pack:  3

------------------------------------------------------------------------
-------

ISSUE DETAILS

Subject:  

Relationship Matrix: Show relation activity - lane / pool


Details:  

Dear SparxSystems,

Is it possible to show in a relationship matrix or another report which activities are categorized under a certain Lane or Pool in a BPMN diagram?

Thanks in advance!

Greetings,

Robbie van Riet


Steps to Reproduce:  

Dear SparxSystems,

Is it possible to show in a relationship matrix or another report which activities are categorized under a certain Lane or Pool in a BPMN diagram?

Thanks in advance!

Greetings,

Robbie van Riet

------------------------------------------------------------------------
-------


Dance with the stars

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Link an activity to a swim lane
« Reply #3 on: October 09, 2009, 09:21:06 am »
An add-in could find out this information.

To find out which pools an activity is in: You would need to find all the diagram objects that represent your activity element, find out which diagram they are on, find all the diagram objects that represent pools on that diagram, check that the activity's diagram object's left, right, top and bottom values are all within the pool's diagram object's left, right, top and bottom values.

To find out which activities are in a pool is a similar process: Find all the diagram objects that represent your pool, find out which diagram they are on, find all the diagram objects that represent activities on that diagram, check that the activity's diagram object's left, right, top and bottom values are all within the pool's diagram object's left, right, top and bottom values.

It could probably be done with a single custom SQL query (as Geert suggested) but it would be a complex one. Fields to look in include t_diagramobjects.RectTop, .RectLeft, .RectRight, and .RectBottom (be warned that vertical co-ordinates are negative numbers)
The Sparx Team
[email protected]

Tim Twe

  • EA User
  • **
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Re: Link an activity to a swim lane
« Reply #4 on: May 26, 2010, 11:37:39 pm »
Hi,

My apologies to resurrect this thread.  This approach is bollox.  Please find an appropriate way to accurately link to swimlanes via connectors/something.

The solution of scanning a diagram graphically to determine association is ridiculous.

-Tim

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Link an activity to a swim lane
« Reply #5 on: May 26, 2010, 11:44:04 pm »
Tim,

Since this is a user forum you are barking up the wrong tree.
Please send a change request/bug report to Sparx using the links on the bottom of the page.

Geert