AnsweredAssumed Answered

No Asset Group Scriptlet -help

Question asked by John Sponheimer on May 3, 2019
Latest reply on May 6, 2019 by John Sponheimer

Greetings all.

I found this script around here a few months ago but I seem to be having some issues.  I am not sure if its the script or something else.

 

I created a dashboard item that was entirely related to showing items that get the tag "No Asset Group".

 

The "No Asset Group" tag has the below script

if(asset.getAssetType()!=Asset.AssetType.HOST) return false;
return asset.tags.reservedType.findAll { it.toString().equals("ASSET_GROUP") }.size() < 1;

I have a bunch of assets in an Asset Group showing up in this tag...and I must be missing something.

Any ideas?

Outcomes