Wht is process name dynamic override?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / kumar k
for example we have 3 processes like addition,subtraction,division and one default process.now we have to call the one process dynamically,based on incoming values,when the process instance running.suppose getting input two values a,b then you have write this....in callprocess activity process dynamic override Xpath builder.
if ($Map-Data/root/a > $Map-Data/root/b)
then
'/processdynamicoverride/addition.process'
else if($Map-Data/root/a = $Map-Data/root/b)
then
'/processdynamicoverride/division.process'
else if($Map-Data/root/b > $Map-Data/root/a)
then
'/processdynamicoverride/subtraction.process'
else
'/processdynamicoverride/default.process'
based on the a,b values the process dynamically calls one process.
Is This Answer Correct ? | 0 Yes | 0 No |
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 is difference between scripted deployment and normal deployment?
what is the location of shared variable store data in persistent mode
1 Answers Atos Origin, IBM, SG,
Process engines in a fault tolerant group can be configured as peers or master secondary.how do these differ ?
What is the difference between publish by value and publish by reference?
What is import and include in schema in tibco bw?
What activities are supported in xa transaction ?
What are the tibco bw activities that can participate in transactions?
can any one tell me.i have 3 years experience of non-It field.but outof 3 y.of ex. first 1.6 years of ex.one dept's & second 1.7 years of ex.another dept's .i have completed M.com ,but i want to change to IT side (instead of non-IT) what is my quesion.in interview point of time thay are asking about myself (i have to give the replay morethen 6 minit) how to give the replay don't mind give me replay
i have 3.6 it exp,relavant 2 years, how to tell my self?
How many types of Global vaibles are there in BW?
what is alias file in TIBCO?