Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1047891 - Simulation results: Nodes in event subprocess are not marked as visited
Simulation results: Nodes in event subprocess are not marked as visited
Status: VERIFIED
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Core (Show other bugs)
6.0.0
Unspecified Unspecified
high Severity medium
: ER6
: 6.1.0
Assigned To: Maciej Swiderski
Sona Mala
Dawn Eisner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-02 09:11 EST by Sona Mala
Modified: 2016-10-14 10:16 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
When you run a simulation, the Simulation engine does not mark elements which run in event subprocess. This state is displayed by the path results and the Simulation results for such elements exist in the tree of graphs. A user is likely to assume that the elements in event subprocess were ignored by simulation engine when they have actually been run. Cause: Simulation engine does not mark elements which run in event subprocess. This state is displayed by Path results. Simulation results for such elements exist in the tree of graphs. Consequence: An user may think that elements in event subprocess were ignored by simulation engine. Workaround (if any): Result:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
BPMN2 definition (22.96 KB, application/xml)
2014-01-02 09:11 EST, Sona Mala
no flags Details
result for ER7 (109.97 KB, image/png)
2014-01-02 09:12 EST, Sona Mala
no flags Details
Expected result (110.51 KB, image/png)
2014-01-02 09:13 EST, Sona Mala
no flags Details

  None (edit)
Description Sona Mala 2014-01-02 09:11:05 EST
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:
Comment 1 Sona Mala 2014-01-02 09:12:46 EST
Created attachment 844565 [details]
result for ER7
Comment 2 Sona Mala 2014-01-02 09:13:27 EST
Created attachment 844568 [details]
Expected result
Comment 4 Sona Mala 2014-06-23 06:57:41 EDT
This issue is still relevant.
Comment 5 Tihomir Surdilovic 2014-12-16 09:28:25 EST
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.
Comment 6 Sona Mala 2015-02-20 04:03:30 EST
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.
Comment 8 Maciej Swiderski 2015-02-20 10:44:09 EST
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.
Comment 9 Sona Mala 2015-02-20 11:11:42 EST
There was jboss-bpms-6.1.0+ before I reassigned this issue. I think that this issue can be back ported.
Comment 10 Kris Verlaenen 2015-02-20 11:18:41 EST
Reassigning for backport
Comment 11 Maciej Swiderski 2015-02-20 11:21:41 EST
backported

droolsjbpm-integration
6.2.x:
https://github.com/droolsjbpm/droolsjbpm-integration/commit/a0e7cc51aa0bbe5c4289a33ca245855e0b7e42a4
Comment 12 Kris Verlaenen 2015-02-22 07:42:12 EST
Reassigned for backport.
Comment 13 Maciej Swiderski 2015-02-23 05:45:24 EST
this is already pack ported to 6.2.x see comment 11
Comment 14 Sona Mala 2015-03-10 11:28:46 EDT
This issue was verified on 6.1.0 ER6.

The path result in the simulation tab is same as in the "Expected result" attachment.

Note You need to log in before you can comment on or make changes to this bug.