|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
question about promote property |
« View previous topic :: View next topic » |
Author |
Message
|
pfaulkner |
Posted: Thu Jan 16, 2003 11:52 am Post subject: question about promote property |
|
|
Master
Joined: 18 Mar 2002 Posts: 241 Location: Colorado, USA
|
Hi,
I have a Error Handling subflow that also sends email, pages or neither.
I would like to be able to control which (email, page or none) from the Flow that calls the subflow.
The only way I have thought of doing this is to add a Compute node to my error handling subflow that sets the default value of my flag.
Set emailFlag = 'PAGE';
And the Promote the COMPUTE EXPRESSION so that the flow using this subflow can also set the emailFLag.
Is this the best way to do this or is there better way? |
|
Back to top |
|
 |
fschofer |
Posted: Fri Jan 17, 2003 1:59 am Post subject: |
|
|
 Knight
Joined: 02 Jul 2001 Posts: 524 Location: Mainz, Germany
|
Hi,
the only idea i have at the moment is to add a 'flag' to the name
of your main message flow which you can readout from
the exception list of your error.
But i am not sure if this is a better solution for you.
Greetings
Frank |
|
Back to top |
|
 |
Yanghui |
Posted: Fri Jan 17, 2003 7:16 am Post subject: |
|
|
Disciple
Joined: 08 May 2002 Posts: 151 Location: Dublin, Ireland
|
Another way of achieving this is to use environment tree to store the flag. You only need to populate this before it goes down to error handling subflow. Environment tree is accessable anywhere in one msg processing life time after you populate it.
Hope it helps...
-Yanghui |
|
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
|
|
|
|