Author |
Message
|
Prahasith |
Posted: Mon Jun 02, 2003 1:27 pm Post subject: [SOLVED]_RC=0 |
|
|
 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 |
|
 |
Ratan |
Posted: Mon Jun 02, 2003 1:31 pm Post subject: |
|
|
 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 |
|
 |
Prahasith |
Posted: Mon Jun 02, 2003 1:39 pm Post subject: |
|
|
 Disciple
Joined: 16 May 2003 Posts: 184 Location: Kansas City
|
where are these business rules specified |
|
Back to top |
|
 |
MaheshPN |
Posted: Mon Jun 02, 2003 1:39 pm Post subject: _RC=0 |
|
|
 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 |
|
 |
Prahasith |
Posted: Mon Jun 02, 2003 1:42 pm Post subject: |
|
|
 Disciple
Joined: 16 May 2003 Posts: 184 Location: Kansas City
|
I am talking about exit conditions here |
|
Back to top |
|
 |
Ratan |
Posted: Mon Jun 02, 2003 1:46 pm Post subject: |
|
|
 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 |
|
 |
Prahasith |
Posted: Mon Jun 02, 2003 1:54 pm Post subject: |
|
|
 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 |
|
 |
MaheshPN |
Posted: Mon Jun 02, 2003 1:58 pm Post subject: _RC=0 |
|
|
 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 |
|
 |
Ratan |
Posted: Mon Jun 02, 2003 2:05 pm Post subject: |
|
|
 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 |
|
 |
Prahasith |
Posted: Mon Jun 02, 2003 2:26 pm Post subject: |
|
|
 Disciple
Joined: 16 May 2003 Posts: 184 Location: Kansas City
|
Thanks ratan and mahesh my doubt is clarified now |
|
Back to top |
|
 |
|