Kevin Ryan

Groovy syntax results for dates

Discussion created by Kevin Ryan on Oct 3, 2019
Latest reply on Oct 5, 2019 by Kevin Ryan

Good Day ! 

 

I am looking to build various tags based on the QID 90924 Microsoft Windows Last Reboot Date and Time

However I have not been successful in finding guidance on the groovy syntax.    

I am aware of the pending reboot 90126 qid however for my use case that won't work. 

 

Here is my goal. 

Return the results from QID 90924

take that returned result date and tag any assets that the last reboot date and time is greater than 15 days. 

Another tag greater than 30 days.  etc.   

 

As always appreciate the support of this group.  Looking forward to the days when I can give back more ! 

 

-Kevin 

Outcomes