Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 8 Using Sub-Processes and Process Interfaces : Reusable Sub-Processes

Reusable Sub-Processes
See "Reusable Sub-Processes" in TIBCO Business Studio Concepts.
There are different ways of creating a call to a reusable sub-process:
Drag and Drop
To create a reusable sub-process call using drag and drop, do the following:
1.
2.
3.
Create Sub-Process Task Sequence  Selecting this option allows you to create sub-process tasks connected by sequence flow. The following dialog is displayed to allow you to control the order of the tasks:
Use the Move Up and Move Down buttons or drag and drop to control the order of the tasks. When you are finished, click OK to place the tasks.
Create Unsequenced Sub-Process Tasks  Selecting this option places the tasks in the process without a connecting sequence flow.
Palette
To create a reusable sub-process call using the palette, do the following:
1.
In the Process Editor, select the reusable sub-process tool.
2.
3.
Example
The following example demonstrates how a top-level process could use sub-processes in an insurance environment:
Each of the activities in the process calls sub-processes that are executed in the runtime environment. For example, the sub-process called from the Claims Management activity could look like this:
Note the following about this sub-process:
The Process Claimant activity has a Loop Activity Marker, that indicates that the activity is repeated for each Claimant.
The actual sub-process called by the Assess Liability activity is a manual Process. However, the to be sub-process (planned for the future), could be implemented as an automatic process that consists of a series of questions used to determine liability. Simulation could be used to demonstrate the performance and cost-savings of migrating the Assess Liability activity to an automatic process.
Expanding a Sub-Process
An activity that calls a sub-process looks like this:
To expand the sub-process associated with this activity, either click the symbol, or do the following:
1.
2.
3.
Click Open Sub-Process:
4.
Configuring a Sub-Process
Use the Lifecycle option, on the General tab in the Properties view, to configure whether the sub-process should execute immediately or whether its start request should be queued.
If you select Schedule Start Request, then you set the initial priority for the sub-process start and the tasks within that using the options in the Priority drop-down.
If you select Start Immediately then you can still set the priority of the task within the process in the process Resource tab. See Prioritizing a Scheduled Reuseable Sub-Process.
You can specify whether sub-process instances should suspend and resume when the parent process is suspended or resumed by selecting or deselecting the Suspend/Resume With Parent Process tickbox.
Prioritizing a Scheduled Reuseable Sub-Process
Reusable sub-processes configured to Schedule Start Request are started with the default priority at which a main process is started. This means they may be queued behind a large number of main processes already waiting to be executed.
In this case you may want to prioritize reuseable sub-processes in a process. To do this use the drop-down from the Priority field from the Resource tab for the re-useable sub-process. This contains the following priorities:
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved