Bug 1066510 - Simulation results: If sum of probability for XOR is greater than 100% then simulation engine executes more instances of the process.
Summary: Simulation results: If sum of probability for XOR is greater than 100% then s...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Designer
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ER2
: 6.0.1
Assignee: Maciej Swiderski
QA Contact: Sona Mala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-18 14:51 UTC by Sona Mala
Modified: 2014-08-06 20:04 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:04:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
BPMN2 process (15.99 KB, application/xml)
2014-02-18 14:51 UTC, Sona Mala
no flags Details
Screen shot - simulation results (90.16 KB, image/png)
2014-02-18 14:52 UTC, Sona Mala
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1047931 0 medium CLOSED Simulation results: If sum of probability for XOR is smaller than 100% then simulation engine executes fewer instances o... 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1075134 0 high CLOSED Simulation Engine: Simulation which contains parallel gateway fails 2021-02-22 00:41:40 UTC

Internal Links: 1047931 1075134

Description Sona Mala 2014-02-18 14:51:20 UTC
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

Comment 1 Sona Mala 2014-02-18 14:52:42 UTC
Created attachment 864595 [details]
Screen shot - simulation results

Comment 3 Sona Mala 2014-03-11 13:06:36 UTC
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 %.


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