ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to make decision whether it is success or failure?

Post new topic  Reply to topic
 How to make decision whether it is success or failure? « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Tue Dec 19, 2006 10:30 am    Post subject: How to make decision whether it is success or failure? Reply with quote

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
View user's profile Send private message
JosephGramig
PostPosted: Tue Dec 19, 2006 10:44 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
jeevan
PostPosted: Tue Dec 19, 2006 11:17 am    Post subject: Reply with quote

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
View user's profile Send private message
JosephGramig
PostPosted: Tue Dec 19, 2006 11:23 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
jeevan
PostPosted: Wed Dec 20, 2006 1:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to make decision whether it is success or failure?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.