Wоrkflоws
Tasks aka Nodes

Decision

5min

This node will divide the flow of the process into two branches based on the conditions.

You can set conditions in the 'Decision criteria' section. Conditions are based on process properties, also you can choose whether the node needs to meet all presented conditions or just one of them.

Document image


The first branch is 'No' And it will occur when the set conditions are not met.

Document image


If the conditions are met, the process will go to the 'Yes' branch.

Document image


To create the task inside the decision node, you need to select the big decision node and click on the plus icon, then you have to choose a branch on which you want to add the task.

Document image

Document image


You can create multiple tasks inside the branch, but to create a node after the branch you need to select the small decision node at the end and click the plus icon.

Document image


Wait for condition

If the 'wait for condition' setting is enabled the node will wait for the condition to be met, if it`s not met in the set period of time, the node will go to the 'No' branch.

The waiting time can be set in the 'delay' field (supports computed expression)

Document image


Example

We have a process that sends a certain email depending on the status of the payment.

Document image


If the payment status isn`t 'Successful' after one day passes, the process will send a 'failed purchase' email to the customer. If the status is 'Successful', the receipt will be sent.

Let`s start the process.

Document image


As we can see the payment field is empty and the process is waiting for an update.

Document image


Then the receipt was sent to the customer just after the payment status was updated.

Updated 03 Mar 2023
Doc contributor
Did this page help you?