IBM BPM, V8.0.1, All platforms > Create processes in IBM Process Designer > Modeling processes > Create a business process definition (BPD) > Subprocess types > Work with linked processes

Calling a linked process dynamically

When you use a linked process as the implementation for an activity, you can use an advanced option in the implementation properties to supply a predefined variable to dynamically call one of many linked processes, depending on your needs.

To use the dynamic option for a linked process, first:

To configure an activity to dynamically call one of many potential linked processes:


Procedure

  1. Open the parent business process definition (BPD) in the Process Designer.

  2. Click the activity that you want to work with in the BPD diagram.

  3. Click the Implementation tab in the properties.
  4. Under Implementation, select the Linked Process menu option.

  5. Click Select to choose one of the predefined linked BPDs from the library.

    You must initially select one of the predefined linked BPDs for the dynamic configuration to function properly.

  6. Click the Data Mapping tab in the properties.

    Because you already created the input and output variables for the linked process, the Data Mapping tab for the activity in the parent process includes those variables.

  7. Under Input Mapping, click the auto-map icon in the upper-right corner, and then click the auto-map icon in the upper-right corner of the Output Mapping section.

  8. Click the Implementation tab in the properties.

  9. Click the indicator next to the Advanced section heading to expand the section.

  10. Click the variable icon next to the Dynamic Sub-Process field to choose the previously defined variable that provides the name of the selected process.

    At run time, the value of this variable cannot be null and it must exactly match the name of an existing BPD.

  11. Save the configuration.

Work with linked processes