Workflow Task Preconditions Agent value

Discussion created by Matthew_Evans_6648 on Mar 7, 2016
Latest reply on Mar 11, 2016 by laura_albrecht_automic
I have Workflow B called from Workflow A.  Workflow B has a Precondition which checks for the existence of a file in a directory, if the file exists then I want task Workflow B to execute, otherwise I want it to skip.

I can only get this to work if I select a specific Host as *OWN for the Agent is only permitted for JOBS and JOBF type tasks.  However, this workflow needs to be able to run in many different environments and I don't want to have to change the Host every time I promote the code to a new target environment.

Is there a way to specify a generic host?

For other JOBS I use an Agent Group, but this doesn't appear on the drop-down list.