Created attachment 810361 [details] Video file - step to reproduce Description of problem: If the process contains a parallel gateway with probabilities (x,y) of outgoing flows, which are set to x:y where x + y < 200 && x <= 100 && y <= 100, then the simulation engine starts less instances (for example 60:40 - starts 2 instances instead of 10). If probabilities of outgoing flows are set to 100:100 then the number of started instances is right. Version-Release number of selected component (if applicable): 6.0.0 BPMS ER3 Steps to Reproduce (see attached video): 1. create a process (see attached image of BPMN2) 2. set the probability of the flow from gateway to "h2" to 60 3. set the probability of the flow from gateway to "sss" to 40 4. run simulation 10 instances, 10 minutes Actual results: Number of instances for each activity is 2 (see attached screenshot) Table for path: ------------------ |Path1 | 2 | |Other Paths | 8 | ------------------ Expected results: Number of instances for each activity is 10 (see attached screenshot) Table for path: ------------------- |Path1 | 10 | |Other Paths | 0 | ------------------- I believe that a probability parameter is useless for parallel gateway. I think that engine should ignore such parameters. Additional info:
Created attachment 810362 [details] Process image
Created attachment 810363 [details] Actual result - Activity Instancies
Created attachment 810364 [details] Expected result - Activity Instancies
Created attachment 810365 [details] Actual result - Path 1
Created attachment 810366 [details] Expected result - Path 1
Created attachment 810368 [details] Server log
roblem was caused by invalid handling of probability parameters for parallel gateway - they should be ignored as all outgoing sequence flows shall always be taken droolsjbpm-integration master https://github.com/droolsjbpm/droolsjbpm-integration/commit/34c4feae7acd71c27ce67630fa7b091e7df977ff 6.0.x https://github.com/droolsjbpm/droolsjbpm-integration/commit/5c20c8827e7b252034e499fb4e92803c978a74bb
Verified for ER5.
A test for this issue should be a part of certification matrix for Simulation features. Now, it does not exist.