All Products
Search
Document Center

E-MapReduce:CONDITIONS

Last Updated:Aug 14, 2023

A CONDITIONS node is a conditional node that determines which descendant node is run based on the status of ancestor nodes. A CONDITIONS node can have multiple ancestor nodes and only two descendant nodes. If the number of ancestor nodes is greater than one, you can use the AND or OR operator to implement complex dependencies between the CONDITIONS node and its ancestor nodes. This topic describes the parameters that are involved when you create a CONDITIONS node.

Parameter

Description

Node Name

The name of the node. A node name is unique in a workflow.

Run flag

  • The run flag of the node. Default value: Normal. Valid values: Normal: The node is run when the workflow is run.

  • Prohibition execution: The node is not run when the workflow is run.

Description

The feature description of the node.

Task priority

The priority of the node in the workflow. Default value: MEDIUM. Valid values:

  • HIGHEST

  • HIGH

  • MEDIUM

  • LOW

  • LOWEST

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.

State

The state of the ancestor node. Valid values: Success and Failed.

Branch flow

After you connect descendant nodes to the CONDITIONS node, you can configure descendant branches. If all the ancestor nodes meet the specified check conditions, the Success branch is run. If at least one ancestor node does not meet the specified check conditions, the Failed branch is run.

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.

Add pre task check condition

The check conditions for ancestor nodes. A descendant branch is run based on the status of ancestor nodes.

  • Success: If all the ancestor nodes meet the specified check conditions, the Success branch is run.

  • Failed: If at least one ancestor node does not meet the specified check conditions, the Failed branch is run.

Pre tasks

The ancestor node of the current node. One or more ancestor nodes are supported.