cancel
Showing results for 
Search instead for 
Did you mean: 

Add Priority to Queue based on Condition

KarthikBallary
Level 5
Hi 

I need to add collection data to queue, But Each row(queue item) bust have priority based on condition,

like Employee DOJ is greater than 5 days...to set has low priority and rest as high. Which action to be used

------------------------------
Karthik Ballary
------------------------------
3 REPLIES 3

John__Carter
Staff
Staff
Add the items 1 by 1. If you bulk add items, they will all be given the same priority.

------------------------------
John Carter
Professional Services
Blue Prism
------------------------------

EVIPUTI
MVP
Simply loop through your collection and use Add to Queue action(with priority data item) as many times as you need with a choice stage which will update the priority data item for you .

------------------------------
------------------------------
Vipul Tiwari
Senior Process Simplification and Optimization Designer(Solutions Architect)
Fidelity International
------------------------------
------------------------------
------------------------------ Vipul Tiwari Senior Process Simplification Developer Amazon ------------------------------

VedSengupta
Level 6
Hi Karthik,
Do you want to add the collection at once or one by one?
If there is a need you want to add the collection at once to Work Queue you can manipulate the collection before adding to queue.
Maybe add a priority column and append priority based on the priority column.

------------------------------
------------------------------
Best Regards,
Ved Sengupta
RPA Developer
Deloitte India (Offices of the US)
Bangalore | INDIA
------------------------------
------------------------------
------------------------------ Best Regards, Ved Sengupta RPA Developer Deloitte India (Offices of the US) Bangalore | INDIA *If you find this post helpful mark it as best answer* ------------------------------