Created attachment 864594 [details] BPMN2 process Description of problem: See related issue Version-Release number of selected component (if applicable): 6.0.1 ER1 BPMS Steps to Reproduce: 1. Import attached process 2. Simulate (number of instances is 10) 3. See results Actual results: See attached screen shot. Task A was run 20 times, but user required 10 times. Expected results: Simulation engine should stop with error message. Additional info: I suggest change condition "if (provider != null && probabilitySummary < 1)" should be changed to "if (provider != null && probabilitySummary != 1)" at line #81 in file https://github.com/droolsjbpm/droolsjbpm-integration/blob/83da4b927cfc0711265c92db05b5f87a4a115215/jbpm-simulation/src/main/java/org/jbpm/simulation/converter/SimulationFilterPathFormatConverter.java
Created attachment 864595 [details] Screen shot - simulation results
fixed to cover both upper and lower probability errors droolsjbpm-integration master: https://github.com/droolsjbpm/droolsjbpm-integration/commit/423f4afb7eebedf8460f4b135dd559c102e9eb92 6.0.x: https://github.com/droolsjbpm/droolsjbpm-integration/commit/e466a62631236283c8b5f8044833b605a8aea640
In 6.0.1 ER2, I verify that the simulation engine fails (with correct alert) if sum of probabilities of all outgoing sequence flows from XOR gateways is not equals 100 %.