cancel
Showing results for 
Search instead for 
Did you mean: 

Items in Queue

ArnauPerramon_B
Level 2
Hello,   What is the optimal design when you have this type of process/problem:   1. Get an Excel file to export easily as collection with a lot of registers to work. 2. Get this Excel/Collection as a Queue registers. 3. Work the registers one per one. 4. End the process with all items set as completed or exception.   Problem here, there is no way of launching 2 robots/resources doing the same task because the items of Excel will be uploaded twice in the Queue, right? Problem2: Instead of an Excel file, is a TXT/CSV file that its rows has to be overwritten and that file, in the next execution can have more files appended. So the path will still be the same and the increase of registers will be higher and some will have changed, the problem of 2 robots still the same, right?   Some tips? In general design for example.   Thanks!!! Arnau
1 REPLY 1

John__Carter
Staff
Staff
An Environment Lock is one way, see https://portal.blueprism.com/documents/blue-prism-solution-design-overview Another is to have 2 processes, one to populate the queue and another to work the queue items. Then use the scheduler to run the loader on resource A and then the worker both resource A and B.