For discoveries you can use the same Query that Blue Prism uses for this, this is the query responsible for viewing the Queue management.
With that to be able to create good indicators
If this helps you in any way, mark it as useful.
Sr Cons at Avanade Brazil