AnsweredAssumed Answered

How to use "asset search" in a tag rule

Question asked by Kenneth Ord on Jun 18, 2019
Latest reply on Jun 18, 2019 by Busby

I have an asset search that reports all of our Lenovo laptops, all with a Cloud Agent installed. It's 

 

system.manufacturer: "lenovo"

 

It works perfectly in Assets under "Asset View". But I want a "Lenovo" tag applied to every asset that matches that search and I can't get it to work with the "Asset Search" option for the Rule Engine in the Tag Rule. Does anyone know what I'm doing wrong, please? The text against each numbered line in rule the is always in red text and I get an error when testing any asset against the rule.

 

Edit: I just discovered I may have to write the expression in XML. Is there any way to extract the search from the Assets view as XML and paste it in?

Outcomes