Updated on 2025-08-19 GMT+08:00

Configuring a Conditional Branch Processor

The Conditional Branch processor of a function flow determines whether to execute other branches based on the configured conditions.

Notes and Constraints

  • Function flows created in Data Workroom (DWR) can only be viewed on the FunctionGraph console; editing and deletion must be done within DWR.
  • The Conditional Branch processor connects 2 to 20 nodes that are not start, stop, or error handling.

Prerequisites

Before using flows, learn about Expression Description and Operators.

Configuration Description

In the flow orchestration area, configure the Conditional Branch and Edge parameters.

Figure 1 Configuring the Conditional Branch processor
Figure 2 Configuring the Edge
Table 1 Conditional Branch processor parameters

Parameter

Description

Input Filter Expression

JSONPath expression used to filter the input information of the node.

Output Filter Expression

JSONPath expression used to filter the output information of the node.

Table 2 Edge parameters

Parameter

Description

Branch Type

Select Conditional or Default from the drop-down list.

Expression

Required when Branch Type is set to Conditional. This parameter determines whether the current branch meets the execution condition. For example, $.input<2 means the conditional branch runs when the input is less than 2, otherwise the default branch runs.