How to check if there is any work in the queue?

ricksanchez

New Member
hi!

I want to check if there is any work left in the queue. If there is no work left then it is going to add to the queue. If there is work then it will continue to workflow. How can check this?

Thanks :)
 

sivagelli

Well-Known Member
Use 'Get Next item' action from Work Queues vbo. If you have items, you will get the Item ID details, if not, Item ID will have null value.

Or you can get the count of the Pending Items using 'Get Pending Items' action from Work Queues vbo.
 
Top