This article describes an issue where an error occurs during the saving process of a workflow within the Workflows Designer. When attempting to save a flow, the following error message appears:
Save Failure
Something went wrong while trying to save your Flow.
If the browser Developer Tools option is active, the following error can be observed:
504 Gateway Timeout
-
Workflows Designer
- Complex Workflows
A 60-second timeout limit exists for saving and loading flows in the Workflows Designer. If a workflow is highly complex and the save operation exceeds this limit, the process fails. For example, this may occur in flows containing a lot of If/Else cards.
To resolve the save failure, implement one of the following strategies:
-
Simplify the workflow by breaking the complex workflow into smaller, separate helper flows.
- Optimize logic cards by replacing
If/Elsecards withIf/ElseIfcards, as these are processed and saved more efficiently.
