Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Execute Failure Step (https://www.kinook.com/Forum/showthread.php?t=107)

keyboardmonkey 05-27-2003 10:34 AM

Execute Failure Step
 
I need to execute my failure step from JScript. I noticed in a previous thread that I should use
throw "Failure"
I keep getting the following message when I use it:
(Exception thrown and not caught)
I do have a failure step called "Failure".

Thanks

pjaquiery 05-27-2003 03:49 PM

throw "Failure" raises an exception that is handled by the processing in the "Failure Steps" tab. I suspect that it doesn't matter what the text or object is that is thrown and that the failure processing is generic, it handles any failure during "Project Step" processing.

Assuming that to be the case, you can use any text you like for the throw and can then determine from the log where or why the throw happened. Note also that the steps in the "Failure Steps" processing can use %FAILSTEP_NAME% to determine where the failure happened.


All times are GMT -5. The time now is 06:01 PM.


Copyright © 1999-2023 Kinook Software, Inc.