bpmn-engine
bpmn-engine copied to clipboard
Using conditional boundary event
Hi!
I didn't find any example of how to set condition on conditional boundary event, and tried couple variation by myself, but both of them doesn't work, can you please provide some example?
This is how I tried (simple condition, that returns true, so as I understand, it has to be executed always):
1.
2.
Only expressions are supported at the moment. And the activity need to be signalled to trigger the condition. It was a bit unclear how to trigger a condition when this was built. I will try to figure out a more proper approach, and support script conditions.
I have made a number of failed attempts in bpmn-elements to support this. Still struggling.
@rusaym can you make another attempt? The conditional event condition will be checked when started and when signalled. Published under npm i bpmn-engine@rc (v23)