If a flow will not save and red text appears that indicates something is failing, validate the input to the card to ensure that the data type matches what is expected.
- This may be apparent when trying to save a Flow but unable to and receiving an Error message:
Save Failure Your Flow cannot be saved because it is invalid. Correct the problems and try again.
Hover over the red text on a card to see further details.
- Example: Invalid type conversion can be seen when an action or function card expects a specific type of input but receives another that it cannot convert. In this example, List to Text is expecting a List of Text however, a List of Objects is being passed in.
- Okta Workflows
To prevent issues while saving flows or adding inputs to cards:
-
After discovering the card(s) with red text, as shown above, the data type being passed in must have the expected data type.
-
Update the output data type to match the expected input type will allow the text to turn black to allow saving the flow.
-
In this instance, the List-Construct output can be changed as needed; however, depending on the flow design/usage, it may be necessary to leverage other Function cards to get the needed format.
- Here is an article on a different example to reference as well: Send Mail Action for Office 365 Mail - Cannot Add Attachments - Error Received when Trying to Save the Flow
- Here is an article on a different example to reference as well: Send Mail Action for Office 365 Mail - Cannot Add Attachments - Error Received when Trying to Save the Flow
-
-
-
- Now that the Input/Output types match, the red text is gone, and the flow can be saved
-
