Mapping Parameters Using the Dataflow Panel

You can use the Dataflow panel to map parameters and view existing parameter mappings.

This task shows you how to:

Map Parameters from One Activity to Another

You can review, create, delete, and modify available mappings between two activities.

  1. Open a simulation process.
  2. Select the source activity that contains the parameters that you want to map.
  3. From the shortcut toolbar or the shortcut menu, click Dataflow .
  4. Click the 1 to 1 tab.

    Parameters in the source activity appear on the left side of the Dataflow panel.

  5. From the process diagram, select the destination activity that contains the parameters to map.

    You cannot map the parameters between two parallel activities (branched through a gateway).

  6. Click to update the parameter values in an activity or process based on input data from other activities or processes.

    To update the parameter values in an activity mapped with another activity, you must open the dataflow panel for the activity to define it as the source, then click to update the parameter values.

  7. Select a source parameter. You can also click to create a new parameter in the source activity.

    If you click to create a new parameter in the source activity and the source activity is in a subflow of the destination activity, Process Composer automatically creates a mapping from the parameter in the parent of the subflow to the parameter in the subflow activity.

    Compatible destination parameters appear in the panel on the right. You can filter by parameter name using the box in the destination parameter column.
  8. Select a destination parameter.

    If the modes of the selected parameters are not compatible for mapping in any direction, a dialog box prompts you to change the parameter modes to be compatible. Click OK to accept these changes. The app decides the mapping direction based on the relationship between the activities and creates a bidirectional mapping when possible.

    Icons in the Direction column describe the parameter mappings:

    The app creates a mapping, if a parameter with the same name as the source parameter is present in the destination activity.
    The proposed mapping is impossible between the selected parameters. For more information, see Parameter Mapping Compatibility.
    The app creates a parameter with the same name in the destination activity and maps them to the source parameter.

  9. Optional: If the process contains subflows, you can change the direction of the mapping in the Direction column.
  10. To modify an existing mapping, select the row and click the destination parameter to search for a new destination parameter.
  11. Optional: Additional tools on the dataflow panel allow you to do the following:
    OptionDescription
    Swaps activities between one task and another.
    Creates one or more parameters and specifies details.
    Edits selected parameters.
    Removes selected parameters.
    Imports from XML.
    Exports to XML.
  12. Click Apply to save your changes, or click OK to save your changes and exit the Dataflow panel.

    Tip: You can also change tabs or select another source activity in the dataflow panel to save your changes.

Map Parameters from One Activity to Many Activities

You can review, create, delete, and modify available mappings between one activity and many others.

  1. Open a simulation process.
  2. Select the source activity that contains the parameters that you want to map.
  3. From the shortcut toolbar or the shortcut menu, click Dataflow .
  4. Click on the 1 to Many tab.
  5. From the top panel, select one or multiple source parameters. You can also click to create a new parameter in the source activity.

    Parameters in the source activity appear in the top panel.

  6. Click to update the parameter values in an activity or process based on input data from other activities or processes.

    To update the parameter values in an activity mapped with another activity, you must open the dataflow panel for the activity to define it as the source, then click to update the parameter values.

  7. At the top of the lower panel, select a mapping mode:
    OptionDescription
    One to Many The app maps the selected source parameter directly to the selected destination activities. (For example: A1>A2, A1>A3, A1>A4).
    Sequential The app maps the selected source parameters through a series of selected destination activities. (For example, A1>A2>A3>A4).

    If there is an error in a sequential mapping, the rest of the sequence becomes invalid.

  8. Select one or more destination activities that contain the parameters to map.
  9. Select destination parameters.

    Icons on the destination parameter describe the mapping status:

    The app creates a parameter with this name in the destination activity and maps it.
    The mapping already exists. No new mappings are created.
    A parameter with this name exists in the destination activity, but no mapping exists. So, the app creates a mapping.
    Represents an error and indicates that the app does not create a mapping. If the destination activity is not valid for mapping, this symbol appears next to all destination parameters.
    Represents that mappings already exist. You can click to view the list of mappings.

  10. Optional: Additional tools on the dataflow panel allow you to do the following:
    OptionDescription
    Clears filters.
    Searches for a file name and highlights it in the parameter table.
  11. Click Apply to save your changes, or click OK to save your changes and exit the Dataflow panel.

    Tip: You can also change tabs or select another source activity in the dataflow panel to save your changes.