AnsweredAssumed Answered

Cloud Agent assets tagging by Activation Key

Question asked by Artur Paprzycki on Feb 21, 2018
Latest reply on Feb 23, 2018 by Artur Paprzycki

Hello, 

 

How to tag assets by cloud agent activation key?

 

I am trying to build groovy script but doesn't seem to work.

 

if(asset.getAssetType()!=Asset.AssetType.HOST) return false;

return asset.agentActivations.key == ("eca08566-8114-4fa8-b1d7-6906127de1bd") != null

 

Kindly appreciate help with this. 

 

Thank you.

Artur

Outcomes