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 workflow. 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"
- Console Modeler
- Zeebe Modeler
Deploy the updated workflow again so the specified decisions in the gateway will be used.