Workflow Elements
Tasks and workflows have several elements in common. When applicable, the task definition for these sections is linked to rather than duplicated.
A workflow is comprised of the following elements:
- A single, optional
inputsection (identical to theinputsection within tasks). - Any number of workflow execution elements, which include the following:
- A private declaration (identical to private declarations within tasks).
- A
callstatement, which invokes tasks or subworkflows. - A
scatterstatement, which enables parallelized of workflow execution elements across collections. - A conditional (
if) statement, which enables conditional execution of workflow execution elements.
- A single, optional
outputsection (identical to theoutputsection within tasks). - A single, optional
metasection (identical to themetasection within tasks). - A single, optional
parameter_metasection (identical to theparameter_metasection within tasks).
There is no enforced order for workflow elements.