Hello,
I have a csv file that has to be read by multiple automation processes. Or even is any way to read only the csv file when it is opened?
Looking forward to hearing your responses.
Thanks,
Manohar E
Hello,
I have a csv file that has to be read by multiple automation processes. Or even is any way to read only the csv file when it is opened?
Looking forward to hearing your responses.
Thanks,
Manohar E
Have you experienced any issues when attempting to do this? Or do you want to validate if it is possible?
@Forum_Chatbot, do you see a problem if two processes read a CSV file simultaneously using Read CSV activity?
Reading a CSV file simultaneously by multiple automation processes can pose certain challenges. Here is what I found:
Read same excel at the same time by multiple robots:
Parallel http request from datatable:
Unable to read same excel file twice in the same process:
Parallel Activity in CSV file:
To ensure seamless operation:
Please refer to these discussions for more in-depth community-driven insights:
Depending on your specific process requirements and environment, further fine-tuning and testing might be necessary.
If you need more detailed guidance tailored specifically to your use case, please provide additional details about your setup and process requirements.
Considering this, and that CSV doesn’t have lock mechanisms I see no problem with reading the file simultaneously
Yes, I am getting error stating that the file has being used by some other process.
In that case, I think the best is to copy it to Data\Temp and then read it
Please try that out. I would assume that copying might also cause the same error.
@manohar_e, could you elaborate a bit on the business process behind this? Where does the CSV come from? How often does it change? How many parallel processes would, in theory, need to interact with it?
@dokumentor - Sorry, I misread. You mean one file. First, copy it for each process, then use it. Yes, this should do the trick.
There could be an issue if more than one copy occurs at the same time (especially if the CSV file is large), but adding a retry with a small delay should help.
Other than copying, do we have any other solution?
@manohar_e , try this
and