 |
hiteksoftware.com User discussion forum
|
| View previous topic :: View next topic |
| Author |
Message |
jeffroloff
Joined: 21 Dec 2006 Posts: 1
|
Posted: Thu Dec 21, 2006 12:10 pm Post subject: Any way to force exit code for a chain. |
|
|
I have nested chains (one main chain calls a number of other chains in sequence). If there is any failure in any chain, I need the entire process to stop.
I don't know how to signal back to my main chain that one of the chains that it calls has failed. Failure is indicated by a bad exit code from one of the tasks in the called chain or the existence of the word "fatal" in a text search task that runs at the end of each called chain.
Right now, if a called chain fails, the failure does not seem to be returned to the main chain, so it continues on with the entire sequence of sub-chains. |
|
| Back to top |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Thu Dec 21, 2006 12:57 pm Post subject: |
|
|
After each sub chain step you can add a variable monitor task. this should monitor the value of the Text search task exit code
$%text_search_task_title::ExitCode%$
if exit code = -100 then the text is found.. and you can go to step 100 ..i..e exit the main chain |
|
| Back to top |
|
 |
|
|
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
|
Powered by phpBB © 2001, 2005 phpBB Group
|