cancel
Showing results for 
Search instead for 
Did you mean: 

Process with work queue running on 2 resources - is this possible?

MaureenSharon
Level 3
I searched already for answers on this, but found it difficult to find what I was looking for.... and this is probably a basic question.

We have a process with a very long run time... it is working items that are placed in a work queue... is it possible to run this process on multiple resources at the same time?

Do we do this by simply scheduling the process at same time on 2 resources, and Blue Prism manages what is already working/worked in the work queue and picks up next item that is available.

Thanks in advance for the help
3 REPLIES 3

arghya.b
Level 6
Hi Maureen,

Yes you can run Process on multiple resources same Time.
Just you need to take care if any common file is updating from the process , in that case you have to implement locking technique. 
yes you can use scheduler for that or also can use resource pool to achieve that.
And BluePrism work queue will handle all the item.

mkumar407
Level 7
hi Maureen,

Yes, you understanding is correct to schedule process at same time on 2 or more resources. However, you may need to apply Environment lockinto 'lock' access to a particular resource or a critical section of the process, ensuring that any other sessions are made to wait for it to release the lock.

Eg. if process is updating excel file and first bot is already working on it, 2nd bot should wait for 1st bot to finish and then take over.

ritansh.jatwani
Level 9
Hi @Maureen Sharon,

Yes, that is absolutely correct that the bot can work on multiple resources at the same time but you need to make sure that :

1) Your current license has the capability to run multiple sessions at the same time. If you have purchased only one license to run in production, then you can run max the process in only 1 machine and not more than that.
2) Your process is designed in multi bot fashion. It should not be the case that whenever the bot runs, it adds all the data to the work queue and then starts working on it. In such scenario, if 2 bots are working at the same time, then both will add the data to the queue hence causing duplication of data items in the queue.
To avoid such scenario, the process should be divided in 2 sub-processes-
a) Loader process - To load the data to the work queue
b) Execute process/Processor process - To process the queue data in multi bot fashion.

Please let me know if you still need any clarification.​