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
How to use legacy .dat file format with latest designer ?
What are the different modes of service invocation?
If there are Senders who are sending messages on a queue. And these messages are not yet received by the consumers. They are still lying in the server. But before the consumers could receive the message the server went down. Since they are persistent messages, they are saved. But when secondary comes up how will the secondary server will get the message because it’s a different machine. How will it get the messages which are with the Primary server?
What are the cases where business process cant proceed correctly subsequent to restart from a checkpoint ?
Which one to prefer, Soap over JMS or Soap over HTTP in web service. Explain their pros and cons.
What is the role of tra?
Which are the two process variables available to all activities with inputs ?
Where does the tibco admin maintains the version history of the application? Please tell us the path?
What are the modes of tibco bw installations ?
What are the output formats for xslt?
Where are the designer preferences stored ?
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?
What are the uses of grouping activities ?
Can there be two error transitions out of an activity ?
By using which bw palette we can create db table?