Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Frequently Asked Questions > General

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is On



All times are GMT -5. The time now is 05:07 AM.


Copyright © 1999-2023 Kinook Software, Inc.