bpmn-engine icon indicating copy to clipboard operation
bpmn-engine copied to clipboard

Using conditional boundary event

Open rusaym opened this issue 2 years ago • 3 comments

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.
Screenshot from 2023-06-21 12-56-42 2. Screenshot from 2023-06-19 13-53-08

rusaym avatar Jun 21 '23 10:06 rusaym

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.

paed01 avatar Jul 05 '23 12:07 paed01

I have made a number of failed attempts in bpmn-elements to support this. Still struggling.

paed01 avatar May 04 '24 08:05 paed01

@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)

paed01 avatar Aug 08 '24 05:08 paed01