Dynamic Collection based on last successful deployment?
Nicholas Lehman
Hi all,
I've tried everything I can think of but can't get this dynamic collection to work the way I want. Hoping someone here can help.
I'm trying to create a collection that lists computers that haven't had a particular PDQ Deploy package run in the last 7 days.
The end goal is to use the collection as a condition on the Deploy package and only re-run the it if it hasn't run in over a week.
Any help appreciated. :)
1
Comments
N.L,
Try this, it seems to be working in my test. Obviously replace the Package Name filter with whatever package you are testing for:
Hi Luke,
Thanks very much for responding. It transpires the issue wasn't with my collection filter logic, but that Inventory wasn't saving my changes! So I was making changes, clicking OK, refreshing, getting the same results, and thinking I had something wrong... when in fact the changes weren't saving. :(
Hi N.L.,
I have run into that issue frequently enough that I always re-open a collection I just edited to verify that the changes were saved.
I've found good results if I click into the collection name or description fields, then press Enter on my keyboard instead of clicking on the OK button.
It's possible our "OK" button hates us.
Have either of you submitted a ticket to support@pdq.com about Collections not saving?
@... It's been pretty low on my priority list in general, until recently I was the only one on my team who was in Inventory on a regular basis, and it's not something I have found any way to replicate on-demand. It is completely random from what I can tell - some have common filters, some have filters based on WMI scan profiles, some are working with Regex matching, and so on. Not being able to replicated it has made me hesitant to report it.
I'll start taking notes the next time I have this happen and see if I can start finding some specific commonalities. I think I asked about this a couple of years ago in a PDQ&A, but if you don't already know it's an issue it's hard to describe it within the character limit of the Q&A.
OK, thank you!