cancel
Showing results for 
Search instead for 
Did you mean: 

On what basis, the work queue data is added into the queue?

If I have 100 items to add into queue,On what basis, the work queue data is added into the queue? Is it FIFO basis. How does it prioritize work items internally without setting priority from object level?

------------------------------
Pooja Kumari
------------------------------
1 BEST ANSWER

Helpful Answers

james.man
Staff
Staff
Yes, it is a FIFO basis.  Given the same priority, earlier items that were added to the queue are retrieved before later ones.  
I have found that there is no guarantee to the order time if you add an entire collection into a queue at once though, for example:

Collection Data
1 abc xyz
2 def rst

If you add the entire collection or both items in a single "Add to Queue" Action, item 1 may be added after item 2.  Or Item 2 could be after Item 1. 

If you want to force Item 1 to be added before Item 2, you should loop over the collection and add each individual row to the queue using "Add to Queue".

------------------------------
James Man
Professional Services
Blue Prism
Asia/Hong_Kong
------------------------------

View answer in original post

2 REPLIES 2

james.man
Staff
Staff
Yes, it is a FIFO basis.  Given the same priority, earlier items that were added to the queue are retrieved before later ones.  
I have found that there is no guarantee to the order time if you add an entire collection into a queue at once though, for example:

Collection Data
1 abc xyz
2 def rst

If you add the entire collection or both items in a single "Add to Queue" Action, item 1 may be added after item 2.  Or Item 2 could be after Item 1. 

If you want to force Item 1 to be added before Item 2, you should loop over the collection and add each individual row to the queue using "Add to Queue".

------------------------------
James Man
Professional Services
Blue Prism
Asia/Hong_Kong
------------------------------

John__Carter
Staff
Staff
It should be FIFO unless you apply the Priority input parameter

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