To make a conditional judgment in a task flow, you can add a conditional branch node to the task flow. The subsequent tasks in the task flow can be run only if the conditional branch node meets the specified conditions. This topic describes how to configure a conditional branch node.
Prerequisites
Scenarios
During the execution of a task flow, if the conditional expression of a conditional
branch node evaluates to true, the subsequent tasks are run. Otherwise, the subsequent
tasks are not run. You can apply a conditional branch node to the following or other
similar scenarios:
- Back up and delete data when the number of data entries reaches the specified value.
- Send a notification when the sales amount meets the specified condition.
- Check whether a specific file exists. If the file does not exist, create it.