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: apps/docs/content/docs/en/blocks/condition.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,7 +135,7 @@ Function (Process) → Condition (account_type === 'enterprise') → Advanced or
135
135
## Best Practices
136
136
137
137
-**Order conditions correctly**: Place more specific conditions before general ones to ensure specific logic takes precedence over fallbacks
138
-
-**Include a default condition**: Add a catch-all condition (`true`) as the last condition to handle unmatched cases and prevent workflow execution from getting stuck
138
+
-**Use the else branch when needed**: If no conditions match and the else branch is not connected, the workflow branch will end gracefully. Connect the else branch if you need a fallback path for unmatched cases
139
139
-**Keep expressions simple**: Use clear, straightforward boolean expressions for better readability and easier debugging
140
140
-**Document your conditions**: Add descriptions to explain the purpose of each condition for better team collaboration and maintenance
141
141
-**Test edge cases**: Verify conditions handle boundary values correctly by testing with values at the edges of your condition ranges
0 commit comments