WorldServer supports reuse of workflows in an even more advanced
mode by allowing for parallel execution of multiple sub-workflows.
Much like the Parallel
Review Step, the workflow splits and waits for all the
sub-workflows to complete. Like the Sub-Workflow Step,
the Parallel Sub-Workflow
Step has a result of Success or Failure.
In a
Parallel Sub-Workflow
Step, the
Success or
Failure result is determined by looking at the individual
results of each of the sub-workflows and returning an aggregate result
based on one of two possible choices:
- And – The
result of an And Parallel Sub-Workflow step is Success if all of the
sub-workflows return Success. It is Failure if one or more sub-workflows return Failure.
- Or – The
result of an Or Parallel Sub-Workflow step is Success if any of the
sub-workflows return Success. It returns Failure only if all
of the sub-workflows return Failure.
For each parallel sub-workflow step, choose how many parallel
branches the step includes, whether the step returns results based
on
and results or
or results, and specify another existing
workflow to embed for each branch of the parallel sub-workflow step.