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

Community site session details

Session Id : 6hi430qgU5Cz4xQvLagpen
Power Automate - Building Flows
Answered

Condition to prevent flow from running

Like (0) ShareShare
ReportReport
Posted on 18 Oct 2023 08:36:25 by 51

Good morning,

I'm currently building a flow which triggers off an email message when specific columns of a Sharepoint list are updated.

As part of the criteria, I do not want to trigger this message off when the item is created or deleted - I believe I've covered this issue properly by using this condition:

kylebunkin_0-1697618029268.png


I now have a column called Grade, which is a choice column. I do not want to trigger the workflow when this column is changed - I think I've got a bit confused with my logic so looking for assistance.

In short the workflow needs the following conditions to work in unison:

If the Item is Created or Deleted - do not complete workflow

If the column Grade is modified - do not complete workflow 

 

  • Verified answer
    grantjenkins Profile Picture
    11,059 Moderator on 24 Oct 2023 at 03:58:11
    Re: Condition to prevent flow from running

    If you want to control the flow based on a particular field not being changed then you would need to use Get changes for an item or a file to check if the value has changed since last time.

     

    Below is how I would build the logic. Note that When an item or a file is modified won't trigger when an item is first created - it will only trigger when you modify an existing item.

     

    Also, if you change the Grade, the flow will still run, but in your condition you can set it to not proceed with the flow. There isn't a way to do this with a trigger condition (changes to fields) as far as I know.

     

    grantjenkins_0-1698119407860.png

     

    When an item or a file is modified will only trigger if you modify an existing item.

    grantjenkins_1-1698119458642.png

     

    Get changes for an item or a file (properties only) will allow you to check which field values have changed since the last time the flow ran.

    grantjenkins_2-1698119566876.png

     

    Condition will check if my field value has changed. In my example, I'm checking if my Vessel Choice value has changed - this would be your Grade Choice field.

    grantjenkins_3-1698119657060.png

     

    The actions you put within the Yes branch will only run if you modified an existing item and the Choice field wasn't changed. In my example, I'm just outputting the Title field for testing purposes.

    grantjenkins_4-1698119783964.png

  • BCBuizer Profile Picture
    22,262 Super User 2025 Season 2 on 18 Oct 2023 at 08:54:21
    Re: Condition to prevent flow from running

    Hi @kylebunkin ,

     

    Hopefully this post helps: https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Power-Automate-Trigger-Conditions-made-EASY/ba-p/441348

     

    You should be able to use this to terminate the flow in case Grade has changed. Be careful though, if other fields than Grade have been changed, the flow may also be terminated, so perhaps you need to add some more conditions.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete