AnsweredAssumed Answered

Groovy scripts - How to for Asset Tags embedded in Asset Tags ....

Question asked by Patrick Patenaude on Sep 17, 2014
Latest reply on Sep 17, 2014 by Kishore kumar janakiraman

How would we go about embedding multiple conditions in a TAG?

 

Assume the following exists:

 

Asset Tag Linux

Asset Tag Linux-Type

Asset Tag Linux-Services

Asset Tag Site

Asset Tag A

Asset Tag B

 

Example:

TAG NAME : Midrange

Asset TAG contains Linux and Asset Tag Contains Linux-Type and (Asset Tag Contains Linux-Services or Asset Tag Contains A or Tag Contains B) and Asset Tag contains SITE

 

I think this needs to be done in a groovy script but how. Not to much information regarding groovy scripts on something like this.

 

Thanks.

As reference also see below

 

.tag3.JPG

Outcomes