Complex Gateway


#1

Is the complex gateway supported in the Camunda Engine ?


#2

No it’s not - out of interest what are you trying to model that might require a complex gateway?


#3

Thanks Niall,

My scenario is that I have a parallel sequence…
Sequence 1: being an user task that can be completed
Sequence 2: An external task that can be completed (system triggered)

I need the continue/merge as soon as one of them complete … (but the next task should only execute once)

As a workaround - I could have conditional gateways after each task to transition them to an end event if a variable is set (based on the first task that completes)… however a complex gateway seemed more elegant …

Is there another way to achieve this that I may be missing ?


#4

There are quite a few ways of modeling this - i wouldn’t recommend a complex gateway because their broad definition leads to confusion of readers, its just not explicit enough. (Also it doesnt execute :slight_smile: )

I would suggest this solution: https://cawemo.com/shares/3a0fa9c0-08de-49a3-928c-5fba0758f34e

But as i said. there are a lot more options.