I have an output named ‘decision’ which has many choices:
decision = {good, bad, normal};
I use ExclusiveGateway.
The result: I have an error
Hi @fatma_wings,
Can you please post a question? Otherwise, it is hard to help you.
As a hint: it seems you forgot to model a sequence flow for the decision normal. Maybe that is the problem?
Best
Johannes
Hi @JoHeinem,
The output ‘decision’ can have the value ‘bad’, ‘good’ or ‘normal’.
I read this document https://docs.camunda.org/manual/7.4/reference/bpmn20/gateways/exclusive-gateway/ and I apply it, but, an error message displays.
Hi @fatma_wings,
That’s nice, but I really can’t help you here, if don’t state a question!
Best
Johannes
Hi @JoHeinem,
I don’t understand the error message
After every exclusive gateway the engine needs to decide which sequence flow (arrows in the diagram) it should take next based on the given condition. As I can see it you have two outgoing sequence flows from the exclusive gateway. One is valid, when the the decision variable is set to good
and the other one is valid, when the decision variable is set to bad
(I assume). However, if the variable has different value, none of the two conditions are met and the engine does not know which path (sequence flow) to take next. Therefore the error.
What you can do now is, for example, setting a default sequence flow or one the matches the missing condition.
Does that help you?
Best,
Johannes
Hi @JoHeinem,
Thank you so much for your help