This is a powershell script that will disable a list of workflows in an Actifo Appliance.
There are two files needed for this to work.
- disable-wflows.ps1_ This file needs no configuration.
- actparams.ps1 This is a parameter file that can be renamed. Customise the values in the parameter file to your environment.
- wflowlist.txt (optional) If you want to specify the list of workflows in a file instead of using the actparams.ps1 file. You can list all the workflows in this file, separate each workflow name with a comma (,).
Edit wflowlist.txt with the list of workflow names, comma separated, no double quotes. Format should be like:
workflowname1,workflowname2,workflowname3
Edit actparams.ps1 with all parameters needed. You can create multiple parameter files, just give each one a different name.
To run, simply use syntax like this:
./disable-wflows.ps1 -paramfile .\actparams.ps1