variableListener on BPMN execution?

With CMMN, I can implement a VariableListener to execute code when a variable change occurs.

Is there something similar in a bpmn process? I could have an eventbased subprocess with a noninterrupting conditional start event watching a variable and then a service task backe by a JavaDelegate that then runs my code, but it would be much simpler (for a technical usecase where transparent documentation in the model is irrelevant) to just subscribe to the event itself. I can do so in case management, can I also do so in process management?

Not directly, you could use a Conditional Event as you say, but it would be a valuable feature to have it IMO

1 Like

Damn. Ok. Implementing such a feature would have some impact as it would also require modeler changes … I will open an issue.