Hello everyone,
I noticed the BPMN simulation using the BPSim engine has not the same behavior as soon as pools are defined.
Let's define the test case A having the following structure :
<<Package>> Case A
|__<<BusinessProcess>> Case A
|__<<View>> Case A
|__<<Activity
sub process>> Activity1
|__<<Activity
sub process>> Activity2
|__<<Activity
task>> Activity3
|__<<EndEvent>> EndEvent3
|__<<StartEvent>> StartEvent3
|__<<EndEvent>> EndEvent2
|__<<StartEvent>> StartEvent2
|__<<EndEvent>> EndEvent1
|__<<StartEvent>> StartEvent1
|__<<BPSim>> Artifact1
This structure consists of 3 nested processes. Each of them contains a start event, an end event and a sub process (Activity1 and Activity2) or a task (Activity3).
Note that we define 1 token on the StartEvent1 start event.
BPSim simulation results shows the token reaches the Activity3. Which is the behavior we expected.
However, including a pool object breaks this simulation behavior. The token doesn't goes to objects nested into the
Activity1 sub-process.
Please find the 'Case B' structure.
Let's define the test case B having the following structure :
<<Package>> Case B
|__<<BusinessProcess>> Case B
|__
<<Pool>> Pool1 |__<<Activity
sub process>> Activity1
|__
<<Pool>> Pool2 |__<<Activity
task>> Activity2
|__<<EndEvent>> EndEvent2
|__<<StartEvent>> StartEvent2
|__<<EndEvent>> EndEvent1
|__<<StartEvent>> StartEvent1
|__<<BPSim>> Artifact1
Can anyone enlighten why pool objets usage breaks the simulation behavior ?
Thank you in advance
