Exit Macro
The Exit Macro action ends the current macro and resumes the calling automation at its next action. Output produced before the exit remains available to the Invoke Macro action.
When to Use This Action
Use this action when:
- A condition means the macro's remaining actions are unnecessary.
- The macro has produced enough output and should return early.
- The calling rule, task, workflow, Agentic Action, or macro should continue afterward.
Do not use this action when the macro should report a failure. Configure the relevant action to generate an exception instead.
Behavior
When this action executes:
- The macro skips its remaining actions.
- The macro returns output produced before the exit.
- The calling automation resumes at the action after Invoke Macro.
When one macro invokes another, Exit Macro exits only the nearest macro. The calling macro continues with its next action.
Parameters
This action has no parameters.
Returned Variables
This action does not return variables directly. The Invoke Macro action publishes the exiting macro's output through its configured Store results in variable value.