You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: workflow-management/building-workflows.mdx
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,9 @@ The specific set of properties depends on the type of action. Here are a few gen
94
94
95
95
You can add more actions by clicking the **+** icon in the workflow graph. You don't need to add actions sequentially: the **+** button is available between existing actions, allowing you to add new actions in the middle of your workflow.
96
96
97
-
If you need to reuse an action in multiple places, you can **copy/paste** it. This copies an action along with all its property values, saving you the trouble of reconfiguring it. For example, you can copy/paste actions between different workflows, or between [conditional branches](/workflow-management/conditional-branching/) of the same workflow that often end up sharing a part of their containing actions.
97
+
#### Copying and pasting steps
98
+
99
+
If you need to reuse an action step in multiple places, you can **copy/paste** it. This copies the action along with all its property values, saving you the trouble of reconfiguring it. For example, you can copy/paste actions between different workflows, or between [conditional branches](/workflow-management/conditional-branching/) of the same workflow that often end up sharing a part of their containing actions.
98
100
99
101
There are three ways to use copy/paste actions:
100
102
1. With the standard copy/paste keyboard shortcuts (**Ctrl+C/V** or **Cmd+C/V** on Mac). When you paste this way, the copied action is inserted after the action that is currently selected in the workflow graph.
@@ -121,6 +123,22 @@ Note that copy/paste has variable availability depending on the protocol used to
121
123
* After copying via the context or overflow menu, you can only paste within the same workflow.
122
124
</Info>
123
125
126
+
#### Collapsing and expanding steps
127
+
128
+
As you add more actions to your workflow, you'll notice that the workflow graph becomes more cluttered and harder to navigate. This is even more evident when your workflow includes many loops and conditions.
129
+
130
+
To make it easier to navigate complex workflows, you can collapse steps representing loops, [conditions](/workflow-management/conditional-branching#condition), and [split](/workflow-management/conditional-branching#split) actions.
131
+
132
+
For example, in the following image, step 7 is a condition with a branch that contains another condition:
133
+
134
+

135
+
136
+
If you're not currently working on this part of the workflow, you can collapse it by clicking the collapse icon to the left of step 7:
Click the icon again to expand the condition the next time you need to work on it.
141
+
124
142
## Testing a workflow
125
143
126
144
As you build your workflow, you should test individual steps (both the trigger and all actions) in isolation. Once you're done editing and testing the steps, you should also [test the entire workflow](#testing-the-entire-workflow) to make sure that everything works as expected.
Copy file name to clipboardExpand all lines: workflow-management/conditional-branching.mdx
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,8 +83,14 @@ All text operators provide a setting to toggle case sensitivity. All other opera
83
83
84
84
## Exploring conditional branches in large workflows
85
85
86
-
If you're dealing with a large workflow with many conditional branches and are having trouble navigating between them, click **Tree view** in the top control pane of the workflow editor:
86
+
If you're working with a large workflow that has many conditional branches and are having trouble navigating between them, consider collapsing steps you don't need to focus on right now, or use the **Tree view** pane.
87
+
88
+
To collapse a condition, split, or loop step, click the collapse icon to the left of the node. A collapsed node can be expanded by clicking the icon again:
Alternatively, for a bird's-eye view of the workflow, click **Tree view** in the top control pane of the workflow editor:
87
93

88
94
89
-
This displays the **Tree view** pane on the left of the editor — a great way to see a compact representation of your workflow, including conditions and branches:
95
+
This displays the **Tree view** pane on the left side of the editor — a great way to see a compact representation of your workflow, including conditions and branches:
90
96

0 commit comments