Prevent elements from being colored in bpmn-js-token-simulation@0.33.0

A follow-up to Bpmn-js-token-simulation color reset - #4 by philippfromme.

How to prevent elements from being neutral colored when token-simulation is active on latest version of bpmn-js-token-simulation (0.0.33)?

@philippfromme can you please answer?

In recent versions of token simulation this changed to what we initially posted. You now have to mock the ElementColors service:

new BpmnJS({
  additionalModules: [
      elementColors: [ 'value', {
        add() { },
        remove() { }
      } ]
1 Like

Thanks a lot, it worked for me

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.