ReFramework : Allocate Robots for each queue

Hello,

I am using Re-Framework and I am beginner with UIPath.

What I have :

File:

  • c:/data/A/a.xlsx
  • c:/data/B/b.xlsx
  • c:/data/C/c.xlsx

Queue name :

  • A-queue
  • B-queue
  • C-queue

What I want :

For each file, select the file and process.

It’s work great for A.xlsx. But it’s doesn’t go for b, and c :frowning:

Q1 : How to process all the files and not only A.xlsx ?
Q2 : How to allocate robots for each queue ?

Robots :

A → A-queue → c:/data/A/a.xlsx
B → B-queue → c:/data/B/b.xlsx
C → C-queue → c:/data/C/c.xlsx

Advance thanks,

@MasterSinge

Check below post for your reference

Hope this may help you

Thanks

Thanks for your reply.

This post helps me to have an idea, but it’s not complety clear for me : How to process Multiple Queue Items - #6 by rachrahul2

The idea is to have multiple “Get Transaction item” for each queue ?
For me there is 3 so “3 Get Transaction item” ?

I would build an array of queue names - then use a for each item in that array (i.e. [QueueA,QueueB,QueueC]

You could use the Get Transaction Item and then check directly after if it is empty or not.
If not empty (i.e. it has retrieved a queue item from the relevant queue) then carry on and process.
Else check the next item in the array (QueueB) and so on.

If you have searched all 3 queues and no queue item exists then it will end the REFramework process.

@MasterSinge You can allocate different robots for each Queue using Queue Triggers . This will automatically run the process if there are items in the configured Queue. Use the below link on how to use it

https://www.youtube.com/watch?v=KryYdJJqFlc

1 Like

Thanks you very much @TimK for your response.
I have built my array tab_queue_name where all queue name is here.

I don’t understand the part : If not empty (i.e. it has retrieved a queue item from the relevant queue) then carry on and process.
Else check the next item in the array (QueueB) and so on. => I need to implement this in Process.xaml part ?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.