Workflow Routes
To send jobs to different steps based on some conditions, you can configure workflow routes. For example, if you want to send jobs approved by the reviewer to one step, and jobs rejected by the reviewer back to a maker step.
To configure a workflow route, click on the ℹ️ icon on the connection arrow between any two steps.
Route Types
There are three types of route option in the workflow:
1. Continue
It is the default route for a new connection between any two steps. It always sends a job to the connected step without any conditional checks.
2. Boolean
A boolean route sends jobs to one step if the specified condition is true, and to another step if the specified condition is false. For example, you can use the boolean route to send jobs approved by the reviewer to end step, and jobs rejected by the reviewer back to a maker step.
To create a boolean route:
Select route type as
boolean
Enter the field name. It is the key in the job build to check for routing jobs.
Select field value, true or false for the route.
Last updated