Hi there,
I am exploring the features of Work Queues in Power Automate. I am trying to figure out if there is a way to use work queues to orchestrate a complex process that needs to use multiple desktop flows. The structure would be something like the following:
1. 'Scheduled cloud flow 1' triggers 'Desktop flow - Add Items to Queue' to add items to the Work Queue, setting them as 'Ready for Process 1'
2. 'Scheduled cloud flow 2' triggers 'Desktop flow - Process 1' which carries out Process 1 (picks up all items that are 'Ready for Process 1', does the relevant case processing then sets the successful items as 'Ready for Process 2')
3. 'Scheduled cloud flow 3' triggers 'Desktop flow - Process 2' (picks up all items that are 'Ready for Process 2', does the relevant case processing then sets the successful items as 'Processing Complete')
As far as I can see, the 'Dequeue' action in cloud flows as well as the 'Process Work Queue Items' action in desktop flows do not have any options for dequeuing items based on a particular criteria or status. For example, at step 3 above, we would only want to process items which have the 'Ready for Process 2' status.
Is there any way to achieve this desired functionality? Or would it involve complex manipulation of cloud flows?
I would also like to know if 'Process Work Queue Items' on desktop or 'Dequeue' on cloud could run simultaneously on several concurrent runs of a flow, and is there any risk of the same work queue item being picked up by concurrent runs of a desktop or cloud flow? It would be vital that there is no risk of the same queue item being processed twice.