Hello,
This is a follow-up to my other scripts for pulling custom poller assignment values. I wanted to create a widget to pull all custom pollers with a name matching mine (in this case, AVTechConvert). It dumps all these values into a temporary table and returns any that are more than 30 minutes old in UTC. I wanted this because these are temperature values for server rooms, etc. and we definitely do not want these to be out of date and go unnoticed. It actually saved me just a few days ago!
It was actually written in SQL not SWQL.
This could be easily adapted for other purposes, so I hope it's helpful for someone.