Author |
Message
|
venusboy |
Posted: Fri Jul 07, 2006 3:57 am Post subject: Promoting UDP |
|
|
Acolyte
Joined: 11 Jun 2002 Posts: 51
|
Is promoting a UDP supported? I cannot seem to get this work correctly. |
|
Back to top |
|
 |
elvis_gn |
Posted: Fri Jul 07, 2006 4:48 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi venusboy,
Yes it is...it will already be at the flow level....only if you add this flow as a subflow to another will you get the option of promotion...
i.e The flow where u have created the UDP, there the concept of promotion will not be applicable as it will already be promoted(in a sense)
Regards. |
|
Back to top |
|
 |
venusboy |
Posted: Fri Jul 07, 2006 4:57 am Post subject: |
|
|
Acolyte
Joined: 11 Jun 2002 Posts: 51
|
Thanks for the reply. You are correct, I get it going if I am one level deep:
Flow_1 --uses-subflow--> Flow_2 (UDP) (SubFlow)
From the Flow1 I can set the UDP and this works correctly.
Now I wish to do have an extra subflow level:
Flow_0 --uses-subflow--> Flow_1 (subflow)--> Flow_2 (UDP)(SubFlow)
I need to prompt the UDP within flow_1, this can be done, however Flow_2 does not pick up the value.
Each flow is in a different schema. My UDP is set at the schema level. Is this my issue?
Flow |
|
Back to top |
|
 |
venusboy |
Posted: Fri Jul 07, 2006 4:59 am Post subject: |
|
|
Acolyte
Joined: 11 Jun 2002 Posts: 51
|
Also version 6.0.0.0 and 6.0.0.1 perform differently in regards to UDP, have you had any experience of this change? |
|
Back to top |
|
 |
elvis_gn |
Posted: Fri Jul 07, 2006 5:26 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi venusboy,
From flow_1 to flow_0 you will need to do a property promotion....i got it working...mine was in the same schema but...let me know if it does not work...
And about the UDP working differently in 6 and 6..1, well you would be better using 6..1 then...i immediately moved to 6.1 so not sure...
Regards. |
|
Back to top |
|
 |
venusboy |
Posted: Fri Jul 07, 2006 5:36 am Post subject: |
|
|
Acolyte
Joined: 11 Jun 2002 Posts: 51
|
Thanks again. No I have not got it working.
So within flow_2 schema I have:
DECLARE myUDF EXTERNAL CHARACTER;
Within flow_2 User Properties I have:
myUDF - STRING
Within flow_1 I have promoted myUDF. This is done at the SubFlow.
Also note that flow_2 is actually a MQ_InputNode i.e the start of the flow.
Am glad to hear it can be done, but am sure it's down to the schemas.
Regards,
Tom. |
|
Back to top |
|
 |
|