Running two process concurrently

MadhuG001

Member
Hi All,
I have a quite long process, holding two sub process & a common excel file.
So how can concurrency be handled between the two processes?
I mean to say, what if both processes are running at the same time and the second process tries to read the excel file that the first process is writing?

Thank you
 

Sachin_Kharmale

Active Member
Hi madhu,
You need to use environment locking concept of blue prism.

Lock the excel file using Utility - Environment
Blue prism VBO
Once your read write operation will be done then release the lock and lock will allocate by next bot for read and write

If you need any furthure assistance I will help you.
 

Nandhu_Rajesh

New Member
Hi Madhu,

To handle this situation only we have Environmental Locks. If we open a excel file in a shared path, while an another person tries to open at the same time ,a pop up will be getting that the other person has opened the excel file.

Better we can use environmental locks action in utility environment VBO. While reading or write a file, it will give the file status. Using the status we can get to know the other person or process is handling this Excel.

If our need to the bot should not wait or it idle means what we can do, Just write in a temp file . and complete the process. And at last check the status of the file then write to the original File.
 
Top