Updated on 2024-10-29 GMT+08:00

Multi-Branch Workflow

You can implement multi-branch in two ways. However, the condition phase is limited to two branches. Configuring Phase Parameters to Control Branch Execution allows you to replace the ConditionStep capability without adding new phases, offering more flexibility.

Creating a Condition Phase to Control Branch Execution is used for conditional branching in the execution of phases based on condition value comparison or metrics output by the preceding phase.

Configuring Phase Parameters to Control Branch Execution is used for complex scenarios that involve multiple branches. When each execution starts, the workflow decides which branches to run and which ones to skip based on the relevant configuration information. This way, only some branches are executed. This function has a similar use case as ConditionStep, but it is more powerful.