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 » [SOLVED]_RC=0

Post new topic  Reply to topic
 [SOLVED]_RC=0 « View previous topic :: View next topic » 
Author Message
Prahasith
PostPosted: Mon Jun 02, 2003 1:27 pm    Post subject: [SOLVED]_RC=0 Reply with quote

Disciple

Joined: 16 May 2003
Posts: 184
Location: Kansas City

Can any one explain _RC=0 exit condition
how do i know which activity requires this exit condition
Back to top
View user's profile Send private message Send e-mail
Ratan
PostPosted: Mon Jun 02, 2003 1:31 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

that depends on your business rules. If your activity HAS TO be completed with a resultcode of _RC=0, then you specify it in the exit condition. This makes the process flow stop at the actviity untill the exit condition evaluates to true (_RC =0).

If you do not specify an exit condition, the process flow exits the activity as soon as it is executed though the desired results are not reached.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
Prahasith
PostPosted: Mon Jun 02, 2003 1:39 pm    Post subject: Reply with quote

Disciple

Joined: 16 May 2003
Posts: 184
Location: Kansas City

where are these business rules specified
Back to top
View user's profile Send private message Send e-mail
MaheshPN
PostPosted: Mon Jun 02, 2003 1:39 pm    Post subject: _RC=0 Reply with quote

Master

Joined: 21 May 2003
Posts: 245
Location: Charlotte, NC

Hi,
This variable comes as default data member. You can change the value of it. So you can use this variable in transition conditions instead of creating your own data memeber to hold the value.

Regards,

Mahesh
IBM Certified Solution Expert - MQWorkflow
Back to top
View user's profile Send private message
Prahasith
PostPosted: Mon Jun 02, 2003 1:42 pm    Post subject: Reply with quote

Disciple

Joined: 16 May 2003
Posts: 184
Location: Kansas City

I am talking about exit conditions here
Back to top
View user's profile Send private message Send e-mail
Ratan
PostPosted: Mon Jun 02, 2003 1:46 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

These are the rules that were used to create your proces models. Your requirements docs might be usefull.

If you have an exit condition for any activities, that means those activities should repeat as long as the exit condition is not met.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
Prahasith
PostPosted: Mon Jun 02, 2003 1:54 pm    Post subject: Reply with quote

Disciple

Joined: 16 May 2003
Posts: 184
Location: Kansas City

I understand what a exit condition means and what _RC=0 is doing for the activity.

the question is
Is it anyway associted with the program asscociated with the activity?
There are some activities with exit conditions _RC=100 and RC=-1
Is it anything associated with manual or automatic activities
Back to top
View user's profile Send private message Send e-mail
MaheshPN
PostPosted: Mon Jun 02, 2003 1:58 pm    Post subject: _RC=0 Reply with quote

Master

Joined: 21 May 2003
Posts: 245
Location: Charlotte, NC

Sorry, I was just explaining the use of _RC

You can change the value of the _RC in the program. If you want to come out the activity or Block when some condition is met, then update the value in program for _RC to 0 otherwise change the value of _RC to greater than 0. This depends on when you want to come out of loop(ie, Your business rule). In the Exit condtion type _RC = 0.

Hope this what you may be looking for.

Mahesh
Back to top
View user's profile Send private message
Ratan
PostPosted: Mon Jun 02, 2003 2:05 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Quote:
Is it anyway associted with the program asscociated with the activity?


Yes it is. Your Program is the one that returns the output container (_RC is a member of the output container).

Quote:
There are some activities with exit conditions _RC=100 and RC=-1
Is it anything associated with manual or automatic activities


If you specify an exitcondition for an automatic activity and the exit condition fails, the activity becomes manual and endsup in the worklist of all the authorized users. If you want the activity to still be automatic, put the activity in a block and specify the exit condition to the block instead of the activity. this will execute the activity automatically as long as the exit condition is not met.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
Prahasith
PostPosted: Mon Jun 02, 2003 2:26 pm    Post subject: Reply with quote

Disciple

Joined: 16 May 2003
Posts: 184
Location: Kansas City

Thanks ratan and mahesh my doubt is clarified now
Back to top
View user's profile Send private message Send e-mail
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 » [SOLVED]_RC=0
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.