A SWITCH node is a control node that executes the corresponding branch based on the value of the global variable and the results that are determined based on the custom expression. This topic describes the parameters that are involved when you create a SWITCH node.
Parameter | Description |
Node Name | The name of the node. A node name is unique in a workflow. |
Run flag |
|
Description | The feature description of the node. |
Task priority | The priority of the node in the workflow. Default value: MEDIUM. Valid values:
|
Number of failed retries | The maximum number of times that the system automatically retries to run the node if the workflow fails. |
Failed retry interval | The interval between two consecutive retries. Unit: minutes. |
Delay execution time | The amount of time that is delayed before the node is run. Unit: minutes. |
Timeout alarm | Specifies whether to enable alerting on node execution timeout. By default, the Timeout alarm switch is turned off. You can turn on the Timeout alarm switch and select Timeout alarm and Timeout failure as Timeout strategy. If the execution of a node exceeds the timeout period, an alert message is sent to your mailbox, and the node fails. |
Condition | The condition of the node. You can configure multiple conditions for a SWITCH node. If the conditions are met, the node executes the specified branch. You can configure conditions based on your business requirements. You must enclose each condition of the STRING type in double quotation marks ( Example: |
Branch Flow | The default branch. If no condition is met, the specified descendant nodes of the default branch are run. |
Pre tasks | The ancestor node of the node. |