The last 10 days I have been playing around with my coding AI to see how I can implement a bpmn-js-token-simulation-like animation service for my intended use case:
a) a visualisation of recorded execution logs, and
b) an interactive dashboard for process execution.
For my use case, it was important to visually separate tokens belonging to different process instances and provide focused views of the current process instance to the user. Also it was important to support multi-instance activities. In the presence of multiple process instances, message deliveries are tricky and message flows can not easily be used to address sender-recipient matching. Therefore, I needed an alternative.
I am pretty happy with the result that looks like this:

You can find the code at GitHub - bpmn-os/bpmn-js-animation: Animation for BPMN · GitHub . It consists of an animation API, an Animator allowing for playback of recorded execution logs, and an interactive Simulator allowing to control process execution (primarily) by double-clicking on the respective tokens (no other toggles/buttons).
As such, the implementation took quite a different direction compared to bpmn-js-token-simulation. I’d be very happy for any feedback on this - especially from you @nikku ![]()
Related topics:
- Token simulation playback
- How to use the API to control tokens in bpmn-js-token-simulation
- Token Simulator Questions
- Support ad-hoc sub-processes · Issue #235 · bpmn-io/bpmn-js-token-simulation · GitHub
- Loop and multi-instance support · Issue #227 · bpmn-io/bpmn-js-token-simulation · GitHub
- Emit messages without message flows · Issue #125 · bpmn-io/bpmn-js-token-simulation · GitHub