Book a Demo

Author Topic: BPMN 2.0 Simulation of sub-processes  (Read 3474 times)

Ian Mitchell

  • EA User
  • **
  • Posts: 507
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
BPMN 2.0 Simulation of sub-processes
« on: August 13, 2013, 01:52:40 am »
I'm trying to figure out how to simulate a BPMN sub-process.
For simple sub-processes, which just have one end event, everything is fine. The SIM dives into the sub-process, then comes back up again, and carries on. Fine.

Now I want my sub-process to end on one of two end events: lets call them 'OK' and 'Not OK'.
The flow out of the parent process clearly depends on whether the result of the sub-process was 'OK' or 'Not OK'. Somehow I need to hook these end Events to the activities which follow them.
Does anyone know how to get this to work with the simulator? It's a common use cases,  as it follows BPMN 'best practice' from lots of the BPMN books, and it would be great to show this all working dynamically in EA.
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

Ian Mitchell

  • EA User
  • **
  • Posts: 507
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: BPMN 2.0 Simulation of sub-processes
« Reply #1 on: August 14, 2013, 06:43:25 pm »
So I think I've figured this one out, but it means not modelling things in a BPMN style which is ideal.
What I did was to make the lower-level process end with the same 'OK' and 'Not OK' events, but made them IntermediateEvents.
This means they can be used as the starting point for other sequence flows (keeping them as EndEvents means that EA - correctly - doesn't let them continue to other activities).
So I just dropped my two new intermediate events inside the box for the higher-level process, then hooked each one to the appropriate down-stream activity.
Now the simulator works just fine. I can nest my sub-processes just as much as I need!

Is this news to anyone, or have I just re-invented stuff which you all knew already ?
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com