Skip to main content
Answer

Smart Group with Criteria for Two Cached Packages

  • February 7, 2019
  • 4 replies
  • 36 views

Forum|alt.badge.img+10

I built a simple smart group that is supposed to include computers that have two packages cached in the "Waiting Room" folder. I have the criteria set up like this:

And I have a computer with both packages cached, as can be seen on its inventory page:

But the computer doesn't show up in the group. If I remove one of them so it's only looking for one package it works, but for some reason it's not working for both at the same time.

Any ideas?

Best answer by isaacnelson

It looks like I can get around this by creating a separate smart group for each package and using membership of those groups in another smart group to get the same result. Super clunky though, and doing it this way probably has potential to cause unnecessary load on the Jamf Pro server if there are a lot of computers that fall into the groups.

Not ideal, but it works.

4 replies

Forum|alt.badge.img+10
  • Author
  • Valued Contributor
  • Answer
  • February 8, 2019

It looks like I can get around this by creating a separate smart group for each package and using membership of those groups in another smart group to get the same result. Super clunky though, and doing it this way probably has potential to cause unnecessary load on the Jamf Pro server if there are a lot of computers that fall into the groups.

Not ideal, but it works.


arivera
Forum|alt.badge.img+6
  • Contributor
  • February 8, 2019

Good find. I will be testing this myself to see if maybe you missed something but the logic of your smart group seems sound to me. Thanks for bringing this up.


Forum|alt.badge.img+10
  • Valued Contributor
  • February 8, 2019

I had one like this and I just had to include the ( )around the inventory checks


Forum|alt.badge.img+10
  • Author
  • Valued Contributor
  • February 11, 2019

@arivera Cool. Let me know what you find from your testing.

@rhooper Hmm. I experimented with parentheses and didn't have any luck. Did you have them around each item individually or all together as a group?