View Single Post
  #1  
Old 04-08-2003, 08:47 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
How can I build different failure steps for each project step?

On the More tab of the Step Properties dialog, check 'Build failure steps' and select or enter the failure step 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 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 sample). Another example: you could use Set Macro 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 failure step to send the error information (FAILSTEP_* macros, etc.) to the responsible person.
Reply With Quote