Sequence Goes To Exception Handler
Posted: Thu Mar 19, 2009 5:11 am
Hi
I have a sequence with the following flow.
Routine1 ------>JobA----------->JobB---------->Routine2
Exception_Handler---------->Email------------>Terminator
Routine 1 Returns a value which is something like 20070303#15:45#0 or
20070303#15:45#1. In the Trigger option of the routine i am saying that JobA should get executed only if
Convert(@FM,"",(Field(Routine1.$ReturnValue,"#",3))) = '0'
I can see that my routine is retuning a value of '0' but even then instead of going to Job A it goes to Exception Handler.
The problem seems to me is that the sequence is not able to read that Convert(@FM,"",(Field(Routine1.$ReturnValue,"#",3))) is returning me '0'.
Can you please help me in resolving this issue.
I have a sequence with the following flow.
Routine1 ------>JobA----------->JobB---------->Routine2
Exception_Handler---------->Email------------>Terminator
Routine 1 Returns a value which is something like 20070303#15:45#0 or
20070303#15:45#1. In the Trigger option of the routine i am saying that JobA should get executed only if
Convert(@FM,"",(Field(Routine1.$ReturnValue,"#",3))) = '0'
I can see that my routine is retuning a value of '0' but even then instead of going to Job A it goes to Exception Handler.
The problem seems to me is that the sequence is not able to read that Convert(@FM,"",(Field(Routine1.$ReturnValue,"#",3))) is returning me '0'.
Can you please help me in resolving this issue.