I am working on a workflow that will, among other pieces, suspend all running jobs and then execute a command on each CV infrastructure server. However, I’m having trouble with two aspects of this.
First: I have been unable to force the script to wait until all jobs have actually suspended before continuing on to the next steps. It executes the command, and all jobs suspend, but the next step still happens even while there are jobs in “Suspend Pending” status. How can I force the workflow to pause/hold until all jobs are suspended?
Second: I have a Client Computer Group created that contains all of the servers on which I’m wanting to execute the script. How do I program into the workflow to automatically choose that group?