Skip Ribbon Commands
Skip to main content
SharePoint

Starting Multiple Instances of a Child Process

You can start multiple instances of a sub-process when your process runs.

To start multiple instances of a sub-process, complete the following steps:

  1. Check out and open the process.
      
  2. In the Toolbox pane, click BPM. A list of activities is displayed.
      
  3. Double-click or drag the Start Subprocess activity into the process.
      
  4. Link the activity appropriately to other activities.
     
  5. Right-click the Start Subprocess activity. A shortcut menu is displayed.
     
  6. Select View Properties. The Start Subprocess window is displayed.
     
  7. Click the Subprocess tab. The Subprocess options are displayed.
      
  8. In the Select the process to start field, click the Subprocess icon. A shortcut menu is displayed.
      
  9. Select the appropriate process. The process name is displayed in the field.
      
  10. Click the Multiple Instances tab. The multiple option instances are displayed.
     
  11. Select the Create Multiple Instances of the subprocess check box. The fields are now enabled.
     
  12. In the Collection member as instance key field, select the relevant collection data item.  Make sure you select the Collection, and not an element of the Collection.  Because the Data Item is a Collection, it must be associated with a Data Model.
     
    Note:
    One process will be started for each instance of the selected data item.

      
  13. In the Destination Data Item in Subprocess field, select the relevant collection data item that should reference the appropriate data model. The data item name is displayed in the field.  Make sure that you select a Data Item associated with the same Data Model you used for the Collection member as instance key in step 12, above.
      
    Note:
    Calculation data Items are read-only. You cannot edit this type of data item.

      
  14. Click OK. You configured the activity to start multiple instances of a subprocess.
      
    Note:
    Mapping data items is a one-to-one mapping. You cannot map a single data item in one process to multiple data items in another process.

Here is an example of a correctly configured Subprocess Activity using Multiple Instances

 Multi Instance Sub Process

Related Topics
Starting a Subprocess Synchronously
Automatically Determining the Subprocess Data Items to Populate when the Subprocess Starts
Manually Determining the Subprocess Data Items to Populate
Automatically Determining the Parent Process Data Items to Populate
Manually Determining the Parent Process Data Items to Populate when a Subprocess Completes

Source
BPM Designer Topics > Overview of Activities and Activity Topics > BPM Activities > Start Subprocess
Last modified at 7/31/2020 12:04 PM