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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How can I Stop powerau...
Power Automate
Unanswered

How can I Stop powerautomate Flow after an update is made to a column in Sharepoint List

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
Categories:
I have the same question (0)
  • Luis Arellano Profile Picture
    247 on at

    Can you share more information about your flow?

     

    I think we cannot use the filter for this condition so you could use and if expression, but if your flow is manually run or scheduled and retrieves a biggest set each time, you'll have to add a flag and use that in the main "get items" filter (assuming you are using that)

     

     

    contains(items('NameOfYourApplyToEach')?['yourColumnName'], 'textToMarkItemToNotRun')

    LuisArellano_1-1687497373198.png

     

    So, the "If yes" part of this condition will be to update the item or do nothing and check the next item.

  • annetoal Profile Picture
    1,934 Moderator on at

    Without seeing your code, this is only a guess, but shouldn't you test the Comments to see if they're empty, and if not, use the Terminate action?

     

    If this helped, please mark it as a Solution.

    Anne

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Anne, 

     

    This sounds like what I need - However, I was unable to find an operation pertaining to checks and when trying to use the terminate operation with a condition applying to each I get the error "The operation 'terminate' cannot be used inside a for each."

     

     

    How can I add your logic to my existing flow or does it make sense to configure a new one for check and terminate? 

  • annetoal Profile Picture
    1,934 Moderator on at

    Assuming you have to allow for the possibility of more than one item being in your results, you're going to have to deal with the Apply to each and as you point out, Terminate doesn't work inside. 

    You can also filter inside ODATA with 

    Comments ne null

    but that doesn't solve the inability to use Terminate because it's just going to output an array also.

    At this point perhaps it would be better to rethink your logic so that you don't need to force Power Automate to stop mid-flow. 

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard