Skip to main content
Solved

Smart Group for Computers with Expired Warranty

  • May 13, 2015
  • 12 replies
  • 41 views

Forum|alt.badge.img+10

Has anyone been able to come up with smart group criteria for computers for which the warranty has expired? I had this working in 8.x but it seems to have broken in 9.x. My criteria is "Warranty expiration in less than x days" with a value of 0. These same criteria work fine with values of positive numbers (I have other groups for warranty expires in 90 and 365 days), but it seems the JSS doesn't know how to evaluate these criteria against warranty dates that have passed.

Thanks,
Eric

Best answer by frozzierox

i know this is an old post, but i am coming across this issue and i wanted to help anyone new that is also looking for a solution. A workaround was recommended which works fine, while support investigates further and resolves this feature to work as intended.

the work around that was given is as follow:
1. Create one smart group that will list all the machines with a warranty date in the future.
criteria is set to "warranty expiration - in more than x days", value can be either 0 or 1.
2. Create a second smart group that will list all the machines that are not in the above smart group.
criteria is set to "computer group - not member of" and select the smart group you created above.

This will list all the machines that have a negative date as well as a blank warranty date field.

Hope this helps.

12 replies

bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • May 15, 2015

@etippett How are you getting the warranty expiry? GSX, Script or manually entered into the JSS?


Forum|alt.badge.img+10
  • Author
  • Contributor
  • May 15, 2015

bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • May 15, 2015

@etippett There have been a number of changes made to the GSX recently & the JSS's connectivity to it.

Best bet would be to log a call with support to get the best & current advice.


Forum|alt.badge.img+10
  • Author
  • Contributor
  • May 15, 2015

@bentoms Yup, I'm aware of all of that. The issue isn't with getting the information from GSX into the JSS; all of that is populating just fine. The issue is with the JSS not understanding how to determine the smart group membership. I do have a case open with support, and they've said it's a defect. I wanted to check and see if anyone else had come up with any creative workarounds, though, as it seems like this would be a pretty common smart group in most people's JSS's.

Thanks,
Eric


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • May 15, 2015

@etippett Oh sorry, I misread your original post.


Forum|alt.badge.img+5
  • New Contributor
  • Answer
  • August 25, 2016

i know this is an old post, but i am coming across this issue and i wanted to help anyone new that is also looking for a solution. A workaround was recommended which works fine, while support investigates further and resolves this feature to work as intended.

the work around that was given is as follow:
1. Create one smart group that will list all the machines with a warranty date in the future.
criteria is set to "warranty expiration - in more than x days", value can be either 0 or 1.
2. Create a second smart group that will list all the machines that are not in the above smart group.
criteria is set to "computer group - not member of" and select the smart group you created above.

This will list all the machines that have a negative date as well as a blank warranty date field.

Hope this helps.


Forum|alt.badge.img+10
  • Author
  • Contributor
  • August 25, 2016

@frozzierox : Clever, thanks!


mgshepherd
Forum|alt.badge.img+11
  • Contributor
  • March 14, 2017

Brillant! This method helped me narrow down machines that didn't have a PO Date so I could populate them through GSX.


mgshepherd
Forum|alt.badge.img+11
  • Contributor
  • March 14, 2017

Brilliant! This method helped me narrow down machines that didn't have a PO Date so I could populate them through GSX.


Forum|alt.badge.img
  • New Contributor
  • April 2, 2020

Does this smart group work without GSX?


Forum|alt.badge.img+14
  • Valued Contributor
  • April 2, 2020

Smart Group will work without GSX but the data needs to come from somewhere. So either GSX, API/MUT or Manual


Forum|alt.badge.img+9
  • Contributor
  • April 2, 2020