A workflow reference node has the following required attributes:
namespecifies the name of the node. It has the same character
restrictions as the name attribute of the
node type. This name will be displayed in the graph and the Elements
tree. Same restrictions apply as for Node Type.
descriptionspecifies a description of the node.
wfReferencespecifies the reference path of the nested process template.
The workflow reference node has the following optional child elements:
inputVarThis element has two attributes processVarName and nestedProcessVarName. This mapping
is used to transfer variable values from the main process to the nested
process. You can specify any number of inputVar elements.
outputVaris used when you want the workflow reference node
to set the values of process variables after execution. Similar to
the inputVar element, outputVar has two attributes processVarName and nestedProcessVarName. You can specify any number of outputVar elements.
Note: Output files generated from batch nodes in nested process templates are not accessible.
<workflow-reference-node name="Nested Workflow" wfReference="/Data/Shared Data/nested-workflow.pt.xml"
description="Reference Workflow node">
<inputVar processVarName="outerVariable" nestedProcessVarName="v1" />
<outputVar nestedProcessVarName="v1" processVarName="outerVariable" />
</workflow-reference-node>