Red Hat Bugzilla – Bug 1047891
Simulation results: Nodes in event subprocess are not marked as visited
Last modified: 2016-10-14 10:16:25 EDT
Created attachment 844564 [details] BPMN2 definition Description of problem: Simulation results for the attached process are correct but diagram for path execution does not mark all nodes which was executed (fired). Version-Release number of selected component (if applicable): BPMS 6.0.0 ER7 Steps to Reproduce: 1. import attached process 2. run simulation (10 instancies, 10 minutes) 3. open Paths results for "Path 2" Actual results: see attached screenshot Expected results: see attached image (based on screenshot). All nodes which was fired should be marked. Do not care if they are in process or in subprocess. Additional info:
Created attachment 844565 [details] result for ER7
Created attachment 844568 [details] Expected result
This issue is still relevant.
The way path finding currently works with simulation is that by default only the core process paths are searched for. This is the default when you select "Find Paths" on the core modelling canvas area as well as in simulation results. In order to view Embedded/Event Subprocess paths, you have to click on the Subprocess (make sure it is selected) and then run the Find Process Path option. This will focus on paths that are specific to this subprocess. The simulation results currently show only the basic process paths and do not look into the subprocesses. We can fix the simulation runtime in the future to also return the subprocess paths information by default if needed. I have fixed the coloring problems with the event subprocesses being colored with black background whenever the path finder was executed. This was checked into designer master and the 6.2.x branches.
Please, can you implement it in the simulation engine. I can reproduce the described situation and I can confirm that changes from comment #5 are present in 6.1.0 ER5. The expected result: The simulation result for the path, which contains the signal event, marks all nodes in the event subprocess.
fixed handling of event subprocess for both path finder and simulation execution droolsjbpm-integration master: https://github.com/droolsjbpm/droolsjbpm-integration/commit/3edee1678411ebb0f9591fbce0c27d41099a83fd since this has no acks for 6.1.0 it's left on master only for now. Please reassign back to me in case back port is needed.
There was jboss-bpms-6.1.0+ before I reassigned this issue. I think that this issue can be back ported.
Reassigning for backport
backported droolsjbpm-integration 6.2.x: https://github.com/droolsjbpm/droolsjbpm-integration/commit/a0e7cc51aa0bbe5c4289a33ca245855e0b7e42a4
Reassigned for backport.
this is already pack ported to 6.2.x see comment 11
This issue was verified on 6.1.0 ER6. The path result in the simulation tab is same as in the "Expected result" attachment.