Implement a decision gateway
Prerequisites​
- Web Modeler or Desktop Modeler
Implement a decision gateway​
In the last section, we connected a worker that will return a JSON object, which is used to decide which path to take in the process. Now, we can use the JSON object to route your process by filling in the condition expression on the two sequence flows after the XOR gateway.
Use the following conditional expression for the "Pong" sequence flow:
= return = "Pong"
And for the else sequence flow:
= return != "Pong"
- Web Modeler
- Desktop Modeler
Deploy the updated process again so the specified decisions in the gateway are used.