PSEC - Powershell Enhanced Capability
Version 1.2.1

Task WhenFail

Description

The WhenFail facility makes one of more subsequent Tasks visible the when whenFail task has failed.

Its use is to allow remedial steps to be visible and executed that are not part of the normal Workflow.

Implementation

The dependency is defined in the Task Definition of the Workflow configuration file with the whenFail parameter.

Here is an example:

...
     {
         "title":  "Code TD Visa",
         "name":  "code-td-visa",
         "whenFail":  "code-cibc-visa,code-bmo-trans",
         "type":  "java"
     },
...

In this example Task code-td-visa would only be visible when either of code-cibc-visa or code-bmo-trans have failed.

PSEC - Powershell Enhanced Capability
1.2.1

Copyright © 2018-2021, 2022, Rexcel System Inc.

 

 

 

 

 

X