An Automation Orchestrator workflow runs according to a logical flow of events.
When you run a workflow, each schema element in the workflow runs according to the following sequence.
- The workflow binds the workflow token variables and input parameters to the input parameters of the schema element.
- The schema element runs.
- The output parameters of the schema element are copied to the workflow token variables and workflow output parameters.
- The workflow token variables and output parameters are stored in the database.
- The next schema element starts running.
This sequence repeats for each schema element until the end of the workflow.
Workflow token check points
When a workflow runs, each schema element is a check point. After each schema element runs, Automation Orchestrator stores workflow token variables in the database, and the next schema element starts running. If the workflow stops unexpectedly, the next time the Automation Orchestrator server restarts, the currently active schema element runs again, and the workflow continues from the start of the schema element that was running when the interruption occurred. However, Automation Orchestrator does not implement transaction management or a rollback function.
End of workflow
The workflow ends if the current active schema element is an end element. After the workflow reaches an end element, other workflows or applications can use the output parameters of the workflow.