Author Topic: BPMN Common Processes  (Read 2141 times)

chrisjenkins

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
BPMN Common Processes
« on: March 26, 2014, 02:54:09 am »
I have to merge the processes of two companies. When I've identified a common process i.e. one which is used by both companies I'd like to have it defined only once, what's the best way of achieving this?
Could I have three packages in a model, where the package for company 1 (pckg 1) and company 2 (pckg 2), references the common processes (pckg 3)?

qwerty

  • EA Guru
  • *****
  • Posts: 11310
  • Karma: +283/-258
  • I'm no guru at all
    • View Profile
Re: BPMN Common Processes
« Reply #1 on: March 26, 2014, 05:07:28 am »
Sounds reasonable.

q.

Nizam Mohamed

  • EA User
  • **
  • Posts: 190
  • Karma: +0/-0
    • View Profile
Re: BPMN Common Processes
« Reply #2 on: March 26, 2014, 02:35:07 pm »
If you intend to protect one company's data from another, you can have two different models as well, as long as you have your common references (package 3) in both models (with same GUIDs), you can keep them in synch using the Diff Merge utility of EA.

philchudley

  • EA User
  • **
  • Posts: 604
  • Karma: +13/-0
  • UML/EA Principal Consultant / Trainer
    • View Profile
Re: BPMN Common Processes
« Reply #3 on: March 26, 2014, 08:08:02 pm »
I would keep the three packages idea

I would model the common process in the appropriate package.

When modelling the other processes, and I wish to refer to the common process I would use a[highlight] Callable Activity[/highlight]

Create an Activity and set the following tagged values

[highlight]activityType to Sub-Process
isCalledActivity to true[/highlight]

This will place the + sign on the Activity and make its border bold (indicating a common process)

Right-click this Activity and

[highlight]Select New Diagram | Select Composite Diagram
Navigate to the Common Process diagram created earlier[/highlight]

Re-use this Callable Activity in the other business process

Hope this helps

Phil
follow me on Twitter

@SparxEAGuru

chrisjenkins

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: BPMN Common Processes
« Reply #4 on: March 27, 2014, 02:31:59 am »
Thank you for all replies!

chrisjenkins

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: BPMN Common Processes
« Reply #5 on: March 28, 2014, 11:53:13 pm »
Hi,
The 3 pckgs idea worked ok until I started stringing the callable activities together.
I created a common processes pckg which has an "ADD Instrument" activity and a "generate msg" activity,
under a separate pckg I created a pckg "add and generate instrument" process which joins add instrument by sequence flow to generate msg activity.
However, now, under a new pckg called update instrument which has add instrument -> other activity -> generate msg a seq flow has appeared joining add instrument -> generate msg.
Any ideas?

chrisjenkins

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: BPMN Common Processes
« Reply #6 on: April 17, 2014, 07:38:22 pm »
Just for anybody that's following. I came across the following article;

http://bellekens.com/2012/12/09/uml-best-practice-there-are-no-activities-on-an-activity-diagram/

To invoke an action, hold down ctrl while selecting the activity and select invocation from the drop down!

HTH

Chris

Jacob Vos

  • EA User
  • **
  • Posts: 90
  • Karma: +0/-0
    • View Profile
Re: BPMN Common Processes
« Reply #7 on: May 02, 2014, 04:33:19 pm »
Hi Chris,

Did you finally solve your problem? Can you share your solution?

When I did an investigation, I noticed that following the BPMN specs is hard to do with Sparx EA. For example to use a shared task in a process of company A, BPMN says to have a Call Activity in that process that refers to that shared task. In Sparx EA: set the 'calledActivityRef' tag at the Call Activity to refer to the shared task. However, then in Sparx EA the layout of the Call Activity symbol doesn't change.

- Jacob
« Last Edit: May 02, 2014, 04:33:53 pm by jacobvos »

sbaishya

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: BPMN Common Processes
« Reply #8 on: May 10, 2014, 06:34:03 am »
Jacob, to make this work you need to set 3 values:

  • Set "activityType" to "Sub-Process"
  • Set "isCalledActivity" to "true"
  • Set "calledActivityRef" to the shared task

Have you set all 3?

Jacob Vos

  • EA User
  • **
  • Posts: 90
  • Karma: +0/-0
    • View Profile
Re: BPMN Common Processes
« Reply #9 on: May 10, 2014, 09:51:24 pm »
@sbaishya:
Yes, I managed it. Two comments:

a. Setting the activityType to 'Sub-Process' is NOT correct if you refer to a global process or a global task. The referring activity is then namely a Call Activity, which is not a sub-process.

b. Imo the label 'isCalledActivity' (passive form) is wrong and should be 'isCallActivity' (active form). This is the label that is used in the online User Guide. I reported this to Sparx.

- Jacob