Hi,
I am attempting to call a routine using a Routine Activity in a sequence. Based on what the return value is I decide on which path to follow. However, although the routine is being called, it always returns the error
DW03100sLoadBackOut3..JobControl (@routCheckinsCertStaffRptAssoc): Routine DSU.CheckFileExistsNr did not finish OK, return code = 'Y'.
"Y" is the expected value and I've set up under the "Triggers" tab, the Expression type of "ReturnValue - (Conditional)" with the Expression being "= "Y" ".
Is there something obvious I'm missing or I'm I just setting this up incorrectly?
Thanks
Return Values from Routine Activity
Moderators: chulett, rschirm, roy
Sounds like you are using the new feature to 'automatically handle jobs that fail'. Routines that return a non-zero value are considered to have failed when that option is turned on.
Two things to try:
1) turn off the option
2) Add an 'otherwise' trigger so that it thinks you are handling the error and therefore it doesn't have to.
Two things to try:
1) turn off the option
2) Add an 'otherwise' trigger so that it thinks you are handling the error and therefore it doesn't have to.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers