Return

Ends a Flow and returns values to the caller of the Flow.

Input Fields

This card has no default input fields. Input fields are created by supplying manual input or dragging-and-dropping output fields from other cards.

Output Fields

No output fields.

Note: Return behaves differently when inside a If/ElseIf or If/Error block. Think of these blocks as anonymous child Flows -- and just as when you call a child Flow, a Return returns you to the parent. So, a Return inside one of these block proceeds to the step immediately after the container. Use a Continue If after the If/ElseIf block to stop a Flow under normal conditions. Or, you can use Return Error or Return Error If instead, but it will generate an error when it halts the Flow.

See Also

Functions in Workflows

About the elements of Okta Workflows