I have a flow which triggered on When Item is created in SharePoint list and in that flow i am creating new items in same list hence it is causing infinte loop.
Please suggest asap.
Scenario is ,
Initially when item is created user can select Multiple locations in choice field like A,B,C and i want to create 3 items each for one location in same list instead keeping it multi location in one item as i have assigned to field value depends on locations
Sharepoint infinite loop and Power Automate Flows? Please have a look to different approaches to avoid it here:
THe article is from 2019, some extra literature has been written since, just Bing/Google:
'infinite loop' flow sharepoint
So depending on your requirements, so is the best approach to implement
Hope this helps
I agree with the details provided by @efialttes
Also, I recommend to see if you can alter the architecture of your solution to avoid the issue such as Create list "A" where the user will submit the initial request. Use your flow to create individual list items based on Multiple locations into another list "B".
Isn't the article @efialttes provided a little out of date now? And what if you don't want to create a separate account for handling flows? Aren't the setting for the trigger settings more appropriate place to determine if the flow triggers or not? I am also struggling to find any clear & concise information about how to use the trigger setting to avoid infinite loop but there isn't much out there.
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.