REFERENCE
Developer Reference
Authentication, APIs, SDKs, Flow Agent processors and parameter resolution, in full.
Exit
The workflow's end point, optionally handing control to another workflow.
Exit marks the end of a workflow, and can also be pointed at another workflow's Entry.
Basic usage
Exit terminates workflow execution. Besides being an endpoint, it can act as a bridge into another workflow's Entry, joining two workflows together.
Its shape in the Workflow CRD
Like Entry, Exit is not a member of
spec.processorsbut its own top-level field,spec.exits, which is why it appears in no processor type list.spec:
entries:
- name: entry-main
handlingProcessor: proc-query
exits: []
processors:
- name: proc-query
type: query-databaseA workflow that needs no endpoint can simply write
exits: []. Automation Tool workflows usually do, because a Response processor handing back a result is their endpoint and no separate Exit is needed.Notes
- A workflow does not have to have an Exit.
- Exit is required only when you want to end this workflow and hand over to another Entry; the route is chosen on the Exit itself.
- A workflow can have several Exits for different ending situations.