Return

This function card ends a flow and returns values to the caller of the flow.

Input

This card has no default input fields. To add input fields, create them manually on this card or drag and drop output fields from other cards.

Output

This card has no output fields.

The Return function card behaves differently when inside a If/ElseIf or If/Error block. Think of these blocks as anonymous helper flows. Just as when you call a helper flow, a Return function card returns you to the parent. A Return function card 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 card instead, but it will generate an error when it stops the flow.

Related topics

Functions in Workflows

Workflow elements