What is flow branching?
When configuring automation flows, it's possible to create a separate section of the flow and perform actions on related work items — this is referred to as branching. This is in reference to the flow no longer executing in a linear fashion and, instead, branching into multiple paths.
For example, a flow that’s triggered when a work item transitions to Done could also have a branch that performs separate actions on that work item’s subtasks.
例
In the screenshot above, we have an automation flow consisting of a trigger, an action, and a branch.
The Scheduled trigger and Create a new task action are the main line of the flow.
The For all created work items branch allows the flow to add a comment to the task that was just created. Without this branch, we wouldn’t be able to add a comment to the new task.
分岐の制限
入れ子: あるブランチを別のブランチの中に入れることはできません。
If/else condition: The If/else block condition can’t be used inside a branch.
Isolation: Branches are isolated. Any changes that occur in a branch won’t be visible to the main flow, or any other branch. For example, if a branch has a Create variable action, the created smart value can be used in that same branch, but can't be used in the main flow, nor in other branches.
詳細
To learn more about how to configure flow branches:
For Jira automation, see Jira automation branches
Confluence 自動化については、「Confluence 自動化のブランチ」をご参照ください
Check out how we use branches in our Jira automation template library.
この内容はお役に立ちましたか?