Book a Demo

Author Topic: matrix overlays on BPMN activities/pool  (Read 6810 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1403
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
matrix overlays on BPMN activities/pool
« on: October 28, 2014, 06:24:26 pm »
Hi,

I need to define CRUD or similar categories between BPMN activities and pools or lanes that contain them.
An activity located under e.g. a pool doesn't lead to an association so I don't have any way to apply a matrix overlay onto it. If I start creating dependencies between activities and pools or lanes to apply the overlay, these relationships show up on the diagrams (and this leads to additional work to maintain those links up to date, either manually or via a script).

I can't think of a workaround to achieve what I'm looking for. Any suggestion?

Thanks
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Re: matrix overlays on BPMN activities/pool
« Reply #1 on: October 29, 2014, 03:35:44 am »
Hi,

I can think of three solutions - none very nice.

1) create an automation script that you run periodically to add the relationships (and hide the connectors on all diagrams). It could also remove any old incorrect relationships.
2) more complex - write an add-in that looks for the event when an element is added to a diagram and creates the relationships then - issue here is removing old incorrect relationships
3) add an triggers to your database (t_object) that insert into t_connector, t_diagramlinks when the parent_id on an activity is set to a pool/lane...


gusesquinca

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: matrix overlays on BPMN activities/pool
« Reply #2 on: January 26, 2017, 10:37:19 am »
Any good news on version 13 for this post???

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Re: matrix overlays on BPMN activities/pool
« Reply #3 on: February 10, 2017, 12:20:04 am »
Hi,

I don't think so; the only think that has changed since my original post which would have related to v9.x of Sparx I think - is that v13 by default nests activities as a child of the containing pool in the project browser. See http://sparxsystems.com/resources/webinar/partners/bpmn/bpmn-enhancements-cephas.html which explains how to create BPMN models in Sparx. If you adopt this approach, you should be able to query an activities t_object.parent_id column to find out the containing pool; if the activity itself has a classifier defined in a library of processes you should also be able to query this...


Regards,


Jon.