Skip to main content
Question

Smart group logic examples?

  • February 3, 2016
  • 3 replies
  • 21 views

AVmcclint
Forum|alt.badge.img+21

I still can't really wrap my brain around the logic JSS requires for making smart groups. Are there examples available somewhere I can look through to get an idea of exactly how I'm supposed to enter the info?

One of the types of smart groups i'm trying to make is for all Macs that either don't have a program installed at all OR it has an older version of the program installed. Every time I try to make it, I try with and without parentheses, I try with AND and with OR and any combination thereof, but nothing works.
Here is one example of what I've tried:

What is wrong with the logic I'm using? Why does it require AND? AND in this case does not return the results I need. I've tried putting the parenthetical after the single criteria but it grays out OR.

3 replies

Forum|alt.badge.img+8
  • Contributor
  • February 3, 2016

I was able to get it working by doing the following. Give it a try and let me know if it works for you


AVmcclint
Forum|alt.badge.img+21
  • Author
  • Esteemed Contributor
  • February 3, 2016

That worked. The only real difference is that you didn't use parentheses. I definitely need a guide for building the logic in these smart groups.


mpermann
Forum|alt.badge.img+22
  • Valued Contributor
  • February 3, 2016

@AVmcclint the JSS user manual doesn't have much in the way of good examples of the logic used for building smart groups. I think this is an area where JAMF could use some improvement.