<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Save Failure Error Occurs When Saving Complex Workflows
Okta Classic Engine
Okta Identity Engine
Workflows
Overview

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.

 

Save Failure

 

If the browser Developer Tools option is active, the following error can be observed:

 

504 Gateway Timeout

 

 

Applies To
  • Workflows Designer

  • Complex Workflows
Cause

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.

Solution

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/Else cards with If/ElseIf cards, as these are processed and saved more efficiently.
Loading
Save Failure Error Occurs When Saving Complex Workflows