Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Set Result of SubroutineStep (https://www.kinook.com/Forum/showthread.php?t=1102)

AndyFarr 06-13-2005 08:41 AM

Set Result of SubroutineStep
 
I have a build that uses allot of Subroutines. I would like to set the Result Status of the Subroutine call based on what happened to one or more parts of the subroutine. Is there any way of returning a pass/fail in a sub routine ?

This would be to mainly indicate visually what happened in the main build screen.

Andy

kinook 06-13-2005 08:57 AM

Store the result in a temporary macro using a Set Macro or Run Script step.

AndyFarr 06-13-2005 09:02 AM

??
 
How do I update the status of the subroutine call step in my main build ?

kinook 06-13-2005 09:09 AM

You can't update the status of the Subroutine Call step. Typically, you would allow the build to fail in the subroutine if something fails there. If you want the build to continue even if a step in the subroutine fails, check the status (stored in a temp macro by the subroutine) in the step following the Subroutine Call step and do what you want to indicate that a failure occurred in the subroutine.


All times are GMT -5. The time now is 08:51 AM.


Copyright © 1999-2023 Kinook Software, Inc.