PSEC - Powershell Enhanced Capability
Version 1.2.1

Task Showcase CondTask

Purpose

This step is used demonstrate the a step that is conditionally visible based on the situation of other tasks. It can be used, as in this example, to have a quarterly process when the month setting is mar, jun, sep or dec.

Operation

The visibility test is performed by the showWhen function which runs during work flow setup and at the end of every Task Run action.

Activation

The mode is triggered by including the function showWhen([Task]$task) signature in the ?-def.psm1 file. It return #$true* when the task step should be displayed. Otherwise it will be hidden.

PSEC - Powershell Enhanced Capability
1.2.1

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

 

 

 

 

 

X