suganya1
(Suganya Sankaran)
February 6, 2023, 6:15am
1
Hi,
My process is i have configured one queue with trigger.
If there are multiple items added in queue at same time, how bot picks an items from queue is it based on FCFS,
I want specifically to tell the process to pick up this queue item.
There should be a any dynamic parameter to pass it to process.
@RAKESH_KUMAR_BEHERA @UiPathCodeGladiators @
Thanks,
Suganya. S
Anil_G
(Anil Gorthi)
February 6, 2023, 6:20am
2
@suganya1
You can add reference to your queue item and then use the reference to identify the specific request you need…
Both in get queue items and get transaction item …you would have option to provide reference filter
Hope this helps
Cheers
suganya1
(Suganya Sankaran)
February 6, 2023, 6:33am
3
for example if i add the ref as starts with 1 then bot always picks that item right what about other queue items which don’t have any ref or not starts with 1 ? bot won’t pick that items or if the item is picked and due to filter that item won’t be processed?
Yes, only these TransactionItems will be picked up having reference starts with 1.
If you want to process these items based on their reference,
you can get all queue item once and while looping; put a condition on Item.Reference.
Anil_G
(Anil Gorthi)
February 6, 2023, 6:51am
5
@suganya1
Yes…that is what happens…it will pick only the reference matched items remaining would be left out
Cheers
suganya1
(Suganya Sankaran)
February 6, 2023, 6:59am
6
How queue items will be picked up by Bot, is it based on First come first serve or some random items?
@Aakash_Singh_Rawat @Anil_G
Anil_G
(Anil Gorthi)
February 6, 2023, 7:00am
7
@suganya1
It will be first come first serve unless you give priority or deadline time
If priority is given then those with high priority will
Be taken first…
Similar behaviour would be for deadline as well
Cheers
1 Like
suganya1
(Suganya Sankaran)
February 6, 2023, 7:06am
8
Okay thank you, so there are 10 item in queue with same priority but queue item creation time is different, now bot will pick up the item based creation item in ascending order like 06/2/2023 10 am first, 06/2/2023 10.05 am next like this?
Thanks,
Suganya. S
Anil_G
(Anil Gorthi)
February 6, 2023, 7:07am
9
@suganya1
Yes you can check the order in queue and it follows the same order that you see…and yes what you depicted above is correct
Cheers
1 Like
Venkat4
(Srikanth BV)
February 6, 2023, 7:08am
10
@suganya1
Please refer About Queues and Transactions for details about processing queue items.
Cheers
1 Like