PDA

View Full Version : How can I build different failure steps for each project step?


kinook
04-08-2003, 08:47 AM
On the More tab (http://www.kinook.com/VisBuildPro/Manual/stepfailure.htm) of the Step Properties dialog, check 'Build failure steps' and select or enter the failure step (http://www.kinook.com/VisBuildPro/Manual/failurestepstab.htm) subroutine to build in the combo to the right. Only that failure subroutine will be built if the step fails.

Or, define conditional build rules (http://www.kinook.com/VisBuildPro/Manual/buildrules.htm) on the failure steps. For instance, you can use the FAILSTEP_NAME macro in the rule to build different steps based on their names (see the VisBuildPro.bld (http://www.kinook.com/VisBuildPro/Manual/visbuildprosample.htm) sample). Another example: you could use Set Macro (http://www.kinook.com/VisBuildPro/Manual/setmacroaction.htm) steps in the project steps to set a macro RESP_EMAIL to the person the following step(s) are assigned to, and then use that macro in a Send Mail (http://www.kinook.com/VisBuildPro/Manual/sendmail.htm) failure step to send the error information (FAILSTEP_* macros, etc.) to the responsible person.