PDA

View Full Version : Failure steps are not being called.


james_cline
03-06-2003, 08:46 PM
I have some failure steps setup but they are not called when IgnoreFailure is set, is thre way to have a step fail and call the failure step but still continue building following steps?

What I am doing is logging everything but also logging failures to a separate file by using the failure steps. This works great unless the step has IgnoreFailure set. I guess what would help is if there were a way to tell it to continue after failure. So that it would not ignore the failure but continue building after processing failure steps.
_
-Jim

kinook
03-06-2003, 08:47 PM
The failure steps will not get executed if Ignore Failure is checked. What you could do is put these "partial" failure steps in a subroutine, and then call that subroutine in a step after the step(s) that might fail, conditionally building that Subroutine Call step only if %LASTSTEP_STATUS% is not equal to 0.