Hi,
I am facing an issue while creating a flow and I am hoping to find a solution here.
Flow: The flow is triggered when an email with an attachment is received in an outlook mailbox. The attachment is always an excel file which must be stored to a destination in sharepoint. The flow is working good up until this point. After saving the attachment in a sharepoint location, the contents of the excel file should be copied and then pasted to a different excel file. The problem that I am facing is while using the Excel "Get Tables" connector ("Get Rows is not available'). The file name field does not allow a dynamic file name value so you have to manually select the location of the filename which you must write the contents of the original excel file to. The problem here is that the flow works fine the first time but the second time it fails giving an error "The file is locked by the user (My own username)".
I have tried introducing a delay but it did not work. I have heard that replacing Sharepoint with OneDrive will work but for the task that I want to automate will need Sharepoint.I have tried searching online but I have found no other similar issue that might help me solve mine. Let me know if you guys know of a solution to this problem.

