Dear All,
We have implemented one DFC import service in our application. This import service will create one folder based on parameter which is being provided while calling this service. Once the folder is created, it will import files into that folder. This import service is being called by multiple threads at a time.
Now first thread is calling this service with parameter as Folder1 and at the same time second thread is also calling this service with same parameter Folder1. When two threads are trying to create the folder with same name then it is throwing error as folder already exists and sometimes documents is getting imported with incorrect folder id which leads to inconsistency in docbase.
Can you please let me know what I can do to prevent this error or inconsistency.
Thanks for your help
Regards,
Sumanta