Posted: Tue Nov 15, 2005 3:11 pm Post subject: return codes in workflow
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
Posted: Wed Nov 16, 2005 5:24 am Post subject: Re: return codes in workflow
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
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