Description of problem: Simulation ends with an alert "Unable to perform simulation: Process is not valid for simulation - use validation to find errors". This alert was added with related issue. The condition, which was added by the related issue, does not reflect type of gateway. Not sure how BPMN2SimulationDataProvider works, but I think that its behaviour is gateway's type related. Version-Release number of selected component (if applicable): 6.0.1 ER2 BPMS How reproducible: Use parallel gateway instead of XOR gateway Steps to Reproduce: 1. create process (Start->Task->XOR->Task->End) |->Task->End 2. set probability for outgoing sequence flow to the sum is equal to 100 3. run simulation 4. change XOR to Parallel gateway (do not change probability) 5. run simulation Actual results: step 3: simulation returns results step 5: an alert is shown Expected results: step 5: simulation returns results which are expected for Parallel gateway (all outgoing sequence flow are executed) I think that the condition should be gateway's type related. Additional info:
Sona, very good catch. I missed gateway check while verifying probability. droolsjbpm-integration master: https://github.com/droolsjbpm/droolsjbpm-integration/commit/9dbeb471c3b2485662ebde90815c957731e68324 6.0.x: https://github.com/droolsjbpm/droolsjbpm-integration/commit/310f576346ceabb3f04ad7ba971f763137e3737f
Ticket cherry-picked into 6.0.1.CR1. Commit: 2c098bbb655bf818f206be81e79b27a78bb4b7f5
Verified for 6.0.1.CR1 BPMS. Number of instances is right and an executed path is right,