|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How To Override UDP defined at flow level by passing value |
« View previous topic :: View next topic » |
Author |
Message
|
snegi3 |
Posted: Fri Feb 14, 2014 4:15 pm Post subject: How To Override UDP defined at flow level by passing value |
|
|
Newbie
Joined: 14 Feb 2014 Posts: 3
|
Scenario - I have a main flow which uses a Sub flow for adding some extra validation on message. I have defined a UDP variable at flow level for the sub flow and on main flow level I am providing a UDP value or you can say passing UDP value at flow level on to the subflow for futher processing now the problem is here , I need to pass 2 different values from same main flow to same sub flow means, this should be able to handle 2 types of value now. this sub flow can received 2 types of UDP values, But as I am defining the value at flow level so at a time only value is being passed to sub flow. so solution I want to know if I can pass these different values dynamically on to the sub flow ? Say one message comes with UDP value X and next message comes with Y so this should be able to handle both, now I can't hardcode both values at flow level UDP , i need to find a way to pass these value to UDP parameter and say I have some default value in UDP now , can this be possible to over ride that value and pass the X value using any means say using esql itself ? |
|
Back to top |
|
 |
Gralgrathor |
Posted: Fri Feb 14, 2014 4:25 pm Post subject: |
|
|
Master
Joined: 23 Jul 2009 Posts: 297
|
Saywhat?
From what I understand, you've got multiple use cases, and want to pass some different value down to the subflow for each use case, right?
Simple. Make your flow so that there's a separate invocation of the subflow for each use case. Then give each invocation the appropriate value. You can adjust the separate values at deploy-time. |
|
Back to top |
|
 |
snegi3 |
Posted: Sat Feb 15, 2014 12:34 am Post subject: |
|
|
Newbie
Joined: 14 Feb 2014 Posts: 3
|
Gralgrathor wrote: |
Saywhat?
From what I understand, you've got multiple use cases, and want to pass some different value down to the subflow for each use case, right?
Simple. Make your flow so that there's a separate invocation of the subflow for each use case. Then give each invocation the appropriate value. You can adjust the separate values at deploy-time. |
Yes , You got it right these are 2 use cases now I have.. it sounds good to me also , will try to invoke subflow separately today , thanks  |
|
Back to top |
|
 |
snegi3 |
Posted: Sat Feb 15, 2014 12:23 pm Post subject: |
|
|
Newbie
Joined: 14 Feb 2014 Posts: 3
|
It Worked Thanks. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|