Trouble Integrating bpmn-js-token-simulation Plugin

Hello everyone,

I’ve been trying to integrate the bpmn-js-token-simulation plugin into my bpmn-js project, but I’m facing some challenges.

Here’s what I’ve done so far:

  1. I’ve successfully installed the bpmn-js-token-simulation plugin via npm.
  2. I’ve imported the plugin in my main JavaScript file and added it to the additionalModules of my bpmn-js Modeler instance.
  3. My main HTML file (index.html) references the compiled JavaScript, and I’ve ensured that the plugin’s resources are correctly bundled.

However, when I run my application, I don’t see the token simulation functionality. I’ve checked the browser console for errors, but there aren’t any that seem related to the plugin.

Here’s a brief overview of my project structure:

  • Main HTML file in the app directory.
  • JavaScript code is bundled and minified into app.js.

I’ve followed the plugin’s documentation and tried various solutions, but I’m still stuck. Has anyone faced a similar issue or can provide some guidance on what I might be missing?

Thank you in advance for your help!

From you post, it seems like everything should work. At this point, it is easiest to share a CodeSandbox that reproduces your issue in a way that we can inspect it.

Otherwise, we can just guess what is happening :slight_smile: