Login to participate
Endpoint Management & Virtualization BlogsRSS

Using a Computer Group as a Condition for a Job

marcoads's picture

How do you use the name of a Computer Group within the DS console as a task condition? This tech tip will show you how. Note that this will only work with Deployment Solution 6.5, 6.8, and 6.9.

Create a Task Condition and use a User Defined Token with the token condition:

%#*"Select group_name from computer_display where computer_id=%ID%"%

This token is evaluated at run time when the agent is connected.

paulsmith's picture

Example?

This looks really interesting but can you give us an example on how we would use this say if a computer was in a group called desktops?

Thanks

marcoads's picture

Value

Just plug in "desktops" as the value and then it should turn up as a task condition in the DS console.

spazzzen's picture

matching conditions

Is there a way to use this to see if two conditions are the same?  Like the token %COMPNAME%=%NAME% ?