![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
See "Dynamic Sub-Processes" in TIBCO Business Studio Concepts
1. Create a process interface that specifies the start event and its input/output parameters. Each process that is to be invoked from the dynamic sub-process task must implement the same process interface. See Creating a Process Interface.
− appointmentTypeArray.set(1, "PlasterDept");
− appointmentTypeArray.set(2, "Physio");
3. In the "Map to Sub-Process" property tab, map the array data field to the non-array sub-process/interface parameter. The sub-process invoked from each instance of the task will receive the list element corresponding to the instance index of that task (see ’getActivityLoopIndex()’ in the ’Process Scripting’ appendix of the TIBCO ActiveMatrix BPM Business Data Services guide for more information). For example:The flow of processing within dynamic sub-processes can be controlled using the facilities described in Chapter 5, Controlling Flow in a Process. In particular you can specify whether mutiple instances of the sub-processes should be performed sequentially or in parallel by using the Ordering and Flow Condition fields of the Reusable Sub-Process task. See Creating a Standard Loop for more details.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |