Created attachment 844598 [details] BPMN2 definition Version-Release number of selected component (if applicable): BPMS 6.0.0 ER7 Steps to Reproduce: 1. import the attached process 2. run simulation (10 instances, 10 minutes) 3. see results Actual results: probability for conditions: (Path X/Others) A: 30 Path1: 3 instances of Decision, Task A (3/7) B: 10 Path2: 1 instances of Decision, Task B (1/9) C: 20 Path3: 2 instances of Decision, Task C (2/8) SUM: 60 The Decision task should be executed by all instances of the process, but (how you can see) Decision task was executed just 6 times instead of 10 times. Num. of Executions is "10" and all num. of execution for "Path X + Others" is equal to 10. There is missing information about a problem. Expected results: Option 1 (the cleanest): - Designer validation says that process is not valid (has been implemented, yet) - show alert "Simulation engine did not return results: The sum of probability for gate XXX is not equal 100%" or "Simulation engine did not return results: process is not valid" Option 2: - Show problem in results - Num of Execution is "6 (4 instances failed)" - Path1 / Others (3/3) - Path2 / Others (1/5) - Path3 / Others (2/4) Option 3: - Add result for Failing Path - Num of Execution is "10" - Path1 / Others (3/7) - Path2 / Others (1/9) - Path3 / Others (2/8) - Fail / Others (4/6) - Mark just nodes which were executed (voluntary: mark place of error) Additional info:
Same problem with OR gateway
option one is implemented, in such a case an error will be shown to the user that process is not valid for simulation and validation should be used to find out what is wrong. droolsjbpm-integration master: https://github.com/droolsjbpm/droolsjbpm-integration/commit/83da4b927cfc0711265c92db05b5f87a4a115215 6.0.x: https://github.com/droolsjbpm/droolsjbpm-integration/commit/0a691b01303a45cc5144a85fb2b026fc8034398c jbpm-designer: master: https://github.com/droolsjbpm/jbpm-designer/commit/8a7adbcf288a84be47036ba4e53f49f36784f1f2 6.0.x: https://github.com/droolsjbpm/jbpm-designer/commit/7dd2d7339d4cca3391ab87df3a2c991a84e42fc4
I verify this for ER1 6.0.1. Unfortunately, there is a problem when sum of probabilities is greater then 100. I will create a new issue.