Wht is process name dynamic override?

Answer Posted / anshul

An XPath formula specifying the name of the process
to call. Use this field to dynamically determine which
process to call when the process instance is running.

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 wish to
call a process that includes activities in the Manual Work palette to obtain the
proper approvals. For orders under $10,000, you wish 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 BusinessWorks Process Design Guide for more information about
mapping and transforming input data.
The input for the activity is the following.
It may be helpful to create process definitions that act as programmatic interfaces
when using the Process Name Dynamic Override field.
In the example above, you may create a process named orderProcessOrApprove.
The only purpose of this process is for specifying the input, output, and error
schemas. Place this process in the Process field of the Call Process tab. Then,
create the manualApproval and processOrder process definitions as copies of the
orderProcessOrApprove process. The Call Process activity then has the correct
input, output, and error schemas for all processes that can be called.
If you use the Process Name Dynamic Override field, make sure you include all
potentially callable subprocesses when you create your Process Archive for
deployment. TIBCO Designer cannot determine which subprocesses are
potentially callable at design time, and therefore they cannot be automatically

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I am a commerce graduate, with service desk experience of 4 years. Not much technical, which module of Tibco will help me and will that have a demand in market. If yes how long time it will take me to learn.

2048


What are the different types of transactions tibco provides?

799


What is a spawn in call process?

767


What are the options for configuring storage for process engine's checkpoint repository ?

868


What are the tibco bw activities that can participate in transactions?

759


What are the different modes of service invocation in tibco?

881


How to design a process such that depending on number of records updated in a database, 3 different sub-processes may be called ?

782


If the business process needs to invoke another web service which resource do you use ?

732


What activities are supported in jta transaction?

733


What is tibco?

840


What is import and include in schema in tibco bw?

2405


How to use legacy .dat file format with latest designer ?

805


What are the mandatory configuration parameters for ftp connection & ftp with firewall ?

783


What is the purpose of the inspector activity ?

782


If Sender has sent the message on a queue.If the JMS Primary Server went down and secondary Server get the message which is lost. Where is the message now?

1318