bpmn-io / bpmn-js-token-simulation

A BPMN 2.0 specification compliant token simulator.
https://bpmn-io.github.io/bpmn-js-token-simulation/modeler.html?e=1&pp=1
MIT License
249 stars 71 forks source link

Implicit starts are not properly handled #144

Closed nikku closed 9 months ago

nikku commented 10 months ago

Describe the Bug

The simulation currently does not properly handle implicit starts (i.e. nodes in a scope without incoming sequence flows). This leads to surprises as users try it out against more complex diagrams:

capture iDL0o8_optimized

Steps to Reproduce

  1. Open implicit-start.bpmn
  2. Toggle simulation
  3. See that start cannot be triggered on task
  4. See that start triggered on start event does not spawn a token on task

Expected Behavior

Environment


Surfaced in this conversation