Include a dynamic subflow in the flow diagram

About this task

At any time, you can include an existing flow definition as a dynamic subflow within a flow diagram. A dynamic subflow, also called a subflow by reference, refers to a target flow that has already been submitted to Process Manager. Only flows that have been submitted to Process Manager and published are eligible target flows for dynamic subflows.

When you modify the definition of the target flow, all the dynamic subflows that reference this target flow can obtain the latest version.

Procedure

  1. Click the Insert Dynamic Subflow button to put the Flow Editor in subflow placement mode.

    The Dynamic Subflow - Insert dynamic subflow window displays.

  2. Specify the attributes for the dynamic subflow.
    1. In the Name field, specify a name for the dynamic subflow.
    2. In the Choose a flow to insert field, select a target flow for the dynamic subflow.

      The eligible target flows are shown in the form of user_name:flow_name. Only flows that have been submitted to Process Manager and published are shown in this field.

    3. To add input variables to the dynamic subflow in the Specify input variable values field, click Modify. The Input Variables window displays.

      The variables are set in the form of Name=Value. You can specify user variables as input variable values. When Process Manager expands dynamic subflows, these input variables are set at the subflow level.

      Note:

      If you set default values (by enabling Specify a default value), this creates both environment variables and user variables.

    4. Select how you want Process Manager to update the dynamic subflow when the main flow is instantiated.
      • Use the default setting specified in the main flow
      • Automatically update to the default version
      • Manually update to the default version
    5. Click OK to save your dynamic flow definition.
  3. Left-click in the workspace in the location where you want to insert the dynamic subflow. The dynamic subflow icon is added to the flow diagram.
  4. Draw the lines describing any dependencies the dynamic subflow has on other work items in the flow definition.