Return
Use the Return function to end processing of the current set of actions.
What happens when a Return function is reached depends on where it is used:
-
Workflow: The workflow stops processing the current step and progresses along the exit transition to the next step.
-
Event Handler: Processing of the event handler's actions ends immediately and the event handler resumes listening for its trigger event.
-
Callout Control Event: Processing of the actions for the callout control event ends immediately.
-
User-Defined Function: Processing of the user-defined function ends immediately. If a Return Type has been defined for the function, the Return function also specifies the return value.