Author |
Message
|
smyers |
Posted: Fri Oct 18, 2002 8:51 am Post subject: block activity not exiting according to exit condition?? |
|
|
 Novice
Joined: 18 Jul 2002 Posts: 17
|
Has anyone ever encountered any problems with a block activity not exiting according to its exit condition, even if the exit condition is being met? In this case, I have a block activity which houses a program activity. The program activity has an exit condition of _RC = 0, and my block activity has an exit condition of ErrorCount =0. Whenever I go into workflow runtime and an associated work item list, and set the output data with a RC of 0 (RC is a fixed member and cannot be modified so it is 0) and my ErrorCount tag to 0, it still will not exit the activity. I should also mention that there are only default connectors leading into and out of this block.
Would anyone have any suggestions to try on this convoluted problem? |
|
Back to top |
|
 |
Ratan |
Posted: Fri Oct 18, 2002 12:15 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
I havent seen anything like that. Can you post your fdl fragments and we can see what might be possibly wrong with the model.
-Laze |
|
Back to top |
|
 |
amittalekar |
Posted: Fri Oct 18, 2002 12:23 pm Post subject: |
|
|
 Disciple
Joined: 03 Apr 2002 Posts: 166 Location: VA, USA
|
If the exit condition matches the block will definately exit. Are u using different datastructures for Block & inside program activity?..
Just check the maping between program activity & sink node.... |
|
Back to top |
|
 |
jmac |
Posted: Sat Oct 19, 2002 4:49 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I assume here that you are talking about _RC. This variable can most definitely be set.
Amit is right, this is most likely a mapping problem between your program activity and your block's sink activity.
You don't indicate fat or thin client... IF fat, be sure that your program is setting the output container prior to ending. If you don't do this the updates are never committed. (Thin client will do this for you). _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Ratan |
Posted: Mon Oct 21, 2002 12:06 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Quote: |
I assume here that you are talking about _RC. This variable can most definitely be set.
|
John, Is it possible to set _RC for a block activity. I thought it is constant for a block activity. Can you tell me how to set it.
-Laze |
|
Back to top |
|
 |
smyers |
Posted: Tue Oct 22, 2002 11:59 am Post subject: |
|
|
 Novice
Joined: 18 Jul 2002 Posts: 17
|
Hi Guys,
After investigating the mapping issues and finding nothing, we finally found that the Message Queueing Tab for the block's Queue Manager inadvertently had an extra character added to it (obviously this was missed the first time through)!
Now that this has been fixed everything is now running smoothly. YOur quick responses did allow us to learn much more about mapping! Thanks for all the help.Chalk another one up to making sure the simple stuff is correct first, and triple checking!!! |
|
Back to top |
|
 |
jmac |
Posted: Wed Oct 23, 2002 5:04 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Laze:
Quote: |
John, Is it possible to set _RC for a block activity. I thought it is constant for a block activity. Can you tell me how to set it. |
No, the only way you can get _RC set for a Block is via mapping. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|