![]() |
#2
|
|||
|
|||
You can look at the LASTSTEP_STATUS which will be set to a non-zero code when the steps failed even if Ignore fail is set to True.
See this sample step for an example (See the vbld_StepDone event script code): <step action='Run Script' type='0'> <Language>VBScript</Language> <Script>x = 1 / 0</Script> <ignorefail type='11'>-1</ignorefail> <indent type='3'>1</indent> <name>Fail Step (viewing status in StepDone)</name> <script><![CDATA[ Function vbld_StepDone() Builder.LogMessage Application.ExpandMacros("%LASTSTEP_STATUS%") End Function ]]></script> </step> |
|
|