Author |
Message
|
jeevan |
Posted: Tue Dec 19, 2006 10:30 am Post subject: How to make decision whether it is success or failure? |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
What varaible can I use to make decision that the flow has met success or failure?
Is there any particular attribute /child in ExceptionList that we can take to make a decision? like
If <...> or if abc=" " or similar, so that I can decide that the flow is failed or succeed. I have to write a log based on the whether this is a success flow or failure flow.
Thanks |
|
Back to top |
|
 |
JosephGramig |
Posted: Tue Dec 19, 2006 10:44 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Well, I would think that if you have an ExceptionList that would indicate that it has failed.
Do you have ExceptionLists with success in your design? _________________ Joseph
Administrator - IBM WebSphere MQ (WMQ) V6.0, IBM WebSphere Message Broker (WMB) V6.1 & V6.0
Solution Designer - WMQ V6.0
Solution Developer - WMB V6.1 & V6.0, WMQ V5.3 |
|
Back to top |
|
 |
jeevan |
Posted: Tue Dec 19, 2006 11:17 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Thanks JosephGramig
JosephGramig wrote
Quote: |
Do you have ExceptionLists with success in your design?
|
I do not think so. But I want know whether the exception builds any other variable which we can use in decision making. But I can use existence of ExceptionList or its child as variable.
Thanks |
|
Back to top |
|
 |
JosephGramig |
Posted: Tue Dec 19, 2006 11:23 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Hmmm, you can only see the ExceptionList if you do one of the three following things:
1) Wire a catch terminal off the Input node or TryCatch node
2) Wire the failure terminal (not a usual thing)
3) Declare a handler
If you are not in one of these conditions, then no exception has occurred.
At this point, only the business logic can tell you if you are successful or not. _________________ Joseph
Administrator - IBM WebSphere MQ (WMQ) V6.0, IBM WebSphere Message Broker (WMB) V6.1 & V6.0
Solution Designer - WMQ V6.0
Solution Developer - WMB V6.1 & V6.0, WMQ V5.3 |
|
Back to top |
|
 |
jeevan |
Posted: Wed Dec 20, 2006 1:20 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
i resolved it by using cardinality of the ExceptionList. If there is exception, there should be child if not there will not be child.
thanks |
|
Back to top |
|
 |
|