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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SQL When an item is mo...
Power Automate
Answered

SQL When an item is modified (V2) stuck in a Loop

(0) ShareShare
ReportReport
Posted on by 49

Hi there,

 

I have a flow that is triggered by When an item is modified (v2) SQL Server, but it is stuck in a loop because the last step of the Flow is to update an item in SQL Server, thus triggering the flow to run again. How do I get around this?

Categories:
I have the same question (0)
  • Verified answer
    Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at
    @MarCBB, Hi there! Check out this article from Melissa Hubbard on infinite loops. That might get you closer to where you'd like to be. (Apologies for the full link, stuck in jury duty with super slow WiFi so Rich Text wasn't an option). https://melihubb.com/2019/04/20/the-infinite-loop-what-it-is-and-how-to-avoid-it/ Keep us posted. -Ed-
  • MarCBB Profile Picture
    49 on at

    Yeah, that works, it does trigger the flow a second time, but with the logic check-in place, it ends there. Thank you @edgonzales 

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 248 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 207 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 101 Super User 2026 Season 1

Last 30 days Overall leaderboard