Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 5 General Activities Palette : Call Process

Call Process
Activity
The Call Process activity calls and executes an existing process definition. The input to the called process is defined in the Start activity of the called process. The output of the called process is defined in the End activity of the called process. See the description of the Start and End activities in TIBCO ActiveMatrix BusinessWorks Process Design for more information about specifying the input and output of a process.
Configuration
The Configuration tab has the following fields.
See Dynamically Determining the Process to Call for more information about this field.
Dynamically Determining the Process to Call
You can use the Process Name Dynamic Override field on the Configuration tab to specify an XPath expression that determines which process to call. This is useful for calling a different process depending upon the value of the XPath expression. For example, you have an incoming HTTP request that contains an attribute named orderAmount. For all incoming orders over $10,000, you want to call a process that includes activities in the Manual Work palette to obtain the proper approvals. For orders under $10,000, you want to call a process that handles the order automatically. You can create the following expression that resolves to the proper process name for each type of order:
 
if($IncomingOrder/orderAmount > 10000) then
           ’/MyProject/manualApproval.process’
      else ’/MyProject/processOrder.process’
Use the full path and name of the process file as stored in the project directory.
When you use the Process Name Dynamic Override field, you must also specify a process to call in the Process field. The input, output, and error definitions of the specified process must be the same as any process that the expression in the Process Name Dynamic Override field can evaluate to.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design for more information about mapping and transforming input data.
The input for the activity is the following.
Output
The output for the activity is the following.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved