I’ve attempted to search through the forums with little success. I’m working on deploying a fixlet, and I need some help with crafting the relevance statement to target a group of hosts based on the value of a managed property.
We use a managed property to tag our hosts into logical groups, and I have a fixlet that I need to target only a single group.
I’ve tried a few iterations of the following:
(exists property “PrimaryGroup” whose (value of it is “global-windows-clients”))
(value of results of (property “PrimaryGroup” = “global-windows-clients”))
and a number of other combinations… None of which seem to work.
What am I missing? Does anyone have experience in making fixlets relevant based on specific property values?
If I understand this correctly, you want to embed the targeting Relevance right within the Fixlet?
Normally, targetting would have been done when you Take Action.
The reasons why the statements you have won’t work are because they are Session Relevance statements meant to be executed on the Server side. And the Relevance we want for the Fixlet needs to run on the Clients.
You can try the following. We need to get the Relevance statement for Primary Group
exists true whose (if true then ((
[Relevance Statement for PrimaryGroup]) as string whose (it =
[Expected Results])) else false)
Thanks for the response. I’m open to suggestions, I’d be glad to put the relevance in the applicability if that’s the proper way to do it. But again, I’m not certain how I can make that happen.
The Take Action has some existing relevance, but if I can append PrimaryGroup=“myhostgroup” that would work too, but I can’t get the syntax correct.