Hi, i am having issues creating a flow to move a files with a specific word in the document title to a specific folder.
For example, if a file is dropped into a specified folder and has the word "Weekly" in the title i want the flow to move/create that file to a folder within that site called Weekly Meetings
Below is the flow i have created, but i am getting an infinate loop error?
Can someone please advise where i am going wrong?
Thanks
@PGClax13_VG Are you getting an Error or warning? Your folder paths in the source 'When the File is created' and destination 'Create File' action are different so you should not get an Error, you might get a warning. You can ignore it(save the flow), but keep a close watch on your Flow Run History to just make sure that an infinite loop is not triggered(Very IMPORTANT).
If you get into a Infinite loop problem, you can work around it by adding some logic if you Power Automate.
For example in the article, I use a column(Yes\No) to get around the infinite loop, https://clavinfernandes.wordpress.com/2020/04/01/secure-pdfs-using-power-automate/
Another article that you would want to refer is https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/SharePoint-Managing-Recursive-Even...
I hope the above helps.
Thanks CFernades, It is a warning rather than an error, however when i test and add a file with the word Weekly in the title the flow does't action and jumps straight to the No part of the Control. I wasn't sure if that was caused by the warning or if my logic is just incorrect.?
@PGClax13_VG We will try to get around your problem.
As per my understanding your File Name includes weekly(screenshot below).
I have then used another Trigger 'When a File is created(Properties only)' so that I get more properties.
You can find my solution below.
Note: Please make sure the source and destination folders are different to avoid the infinite loop.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
86 | |
58 | |
41 | |
35 | |
32 |
User | Count |
---|---|
79 | |
67 | |
57 | |
49 | |
40 |