1) Try to update SharePoint File Properties 

2) If the update fails, then handle the locked file issue

3) Make sure the actions needed after updating file properties are executed.

 


Scope handle locked file:

  1. Delay flow for a few minutes and try again to update the SharePoint data
  2. If update fails again, set the "doclocked" variable to true
  3. Get information of the user who is keeping the file locked
  4. Inform this user or the requestor of the lock issue
  5. Do until: Try to Update the SharePoint file every x minutes and set the "doclocked" variable to false if succeeded.