web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Updating folder names ...
Power Automate
Unanswered

Updating folder names when changing sharepoint list items

(0) ShareShare
ReportReport
Posted on by

Hi,

I am currently creating a sharepoint list that tracks employee on-boarding. I already created a flow that creates folders for every employee in a document library, and adds all attached files in those folders. The folders are named after the employees themselves. 

 

I am currently creating a seperate flow that tracks if the names of the employees are changed (due to a spelling error for example).

 

power_q1.png

With the ID and a custom expression, I manged to initialize the variable 'Old Name' using data from the previous version in sharepoint list. Than I use an if condition to check if the column variable 'Medenwerker' has been altered (aka the employee's name). If so, I use a Send HTTP request to try and replace the old folder name with the new folder:

power_q2.png

Most of the flow seems to work fine, but during the final step with the HTTP request, the flow takes an unusually long (like 12 minutes) to load before giving up. It keeps saying that "X retries occured". Most of the time it has 2 retries with a "BadGateway" status, and I cant figure out why this happens.

power_q3.png

power_q4.png

 

So how can I fix this issue? Maybe this isn't even the best way of going about things (ideally, it tracks other kinds of changes like removed attachments as well), so suggestions are very welcome!

 

Sincerely,

 

Jelmer

 

power_q1.png
power_q2.png
power_q3.png
Categories:
I have the same question (0)
  • jitheshk Profile Picture
    92 on at

    This generally happens when you are trying to access a resource which is already locked by another user/flow/or current flow. You need to find a way to release the resource, before your HTTP request, refer the blog post below this might help... 

    How to clear annoying Excel file locks in Power Automate – CleverWorkarounds

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
trice602 Profile Picture

trice602 228 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 188 Most Valuable Professional

Last 30 days Overall leaderboard