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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » return codes in workflow

Post new topic  Reply to topic
 return codes in workflow « View previous topic :: View next topic » 
Author Message
newbiedude
PostPosted: Tue Nov 15, 2005 3:11 pm    Post subject: return codes in workflow Reply with quote

Voyager

Joined: 22 Dec 2002
Posts: 87

do we as workflow analysts want to include business application error codes into mqwf tool? eg. I have a 2 step process.

Program Activity A ---------------> Program Activity B.

When A is started, it starts a cobol program which has several return codes (22 being good, 33 being bad, 44 being bad with x condition, 55 being bad with y condition etc). I don't understand how I can work with those error codes the business apps are providing. I thought that in workflow we had codes like _RC=0 for good and _RC=-1 for bad. Am I missing something here? Can someone please explain? - nathan
_________________
Newbiedude
Back to top
View user's profile Send private message
jmac
PostPosted: Wed Nov 16, 2005 5:24 am    Post subject: Re: return codes in workflow Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

newbiedude wrote:
Can someone please explain?


I would set the value of RETURN-CODE in the COBOL program to member ReturnCode in the output container, then base my conditions on the ReturnCode member. If you have activities to run in the event of the33 44 or 55 values add them to the diagram. Make the transition from A to B dependent on the 22.
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » return codes in workflow
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.