Parallel Sub-Workflow Steps
WorldServer supports reuse of workflows in an even more advanced mode by allowing for parallel execution of multiple sub-workflows. Much like parallel review steps, the workflow splits and waits for all of the sub-workflows to complete.
Like a sub-workflow, a parallel sub-workflow has a result of Success or Failure that can be used to control the workflow after executing the sub-workflow. This result is determined by assessing the individual results from each of the sub-workflows and constructing an aggregate result. Each parallel sub-workflow step has an option that controls how the aggregate result is determined. The choices are:
- An And parallel sub-workflow Step
The result of an And parallel sub-workflow step is Success if all of the sub-workflow steps have a result of Success.
- An Or Parallel Sub-Workflow step
The result of an Or parallel sub-workflow step is Success if any of the sub-workflow steps has a result of Success.