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 Apps / Run Flow when Sharepoi...
Power Apps
Answered

Run Flow when Sharepoint list item is created and when only certain Sharepoint list columns modified

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a flow that I need to run when a Sharepoint list item is created or modified but in that same flow I need to update one of columns causing an infinite loop. Is there a way to specify that I only want the flow to run if certain columns in the Sharepoint list is modified and when any item is created in that list? 

 

Here is the list:

kramer_0-1669945058536.pngkramer_1-1669945106615.png

 

So in the flow I need to update the Event Status Column, but still need to run the flow anytime an item is created/modified to that list (Which event status default to Waiting for first approval when item is created). But if the Event Status is modified I don't need to run the flow again. Any help with this is greatly appreciate? 

 

Categories:
I have the same question (0)
  • Al_10 Profile Picture
    1,691 Super User 2024 Season 1 on at

    @Anonymous 

     

    your flow updates only 1 column (Event Status Column) and that column is a single choice column?


    If yes, you may add a Condition action in your flow.

    Left value of the condition: triggerOutputs()?['body/YourEventStatusColumnInternalName']?['Value']

    Middle: is equal to
    Right value of the condition: "YourUpdatedStatusName"
     
    then place Update Item action into 'If no' branch. 'If yes' branch is empty.
     
     

     

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Unfortunately , It isn't a Boolean. There are 4 different options.

     

    kramer_0-1669949306435.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Sorry I may have misunderstood that. This is what I have now 

     

    kramer_0-1669950413521.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Ok so I changed it to this but it is still saying I am going to have an infinite loop

     

    kramer_1-1669950612108.png

    Unless I have my condition wrong? Is this correct for that if statement you mentioned aboved ?

    triggerOutputs()?['body/EventStatus']?['Value']
  • Verified answer
    v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous 

     

    You can add an action named Get changes for an item or a file (properties only) under the trigger, this action can return whether a column has been changed.

    vliweimsft_0-1669951359181.png

     


    You can add a condition when:
    1. Whether a specific column is modified:

    vliweimsft_1-1669951372130.png

     


    or
    2. The modification time is equal to the creation time (proving that the current item is newly created and not modified):

    vliweimsft_2-1669951386995.png

     


    Terminates the stream if the condition is not met.

     

    Best Regards,

    Levi

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Would you still get the warning because I am still receiving that

  • v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous 

     

    If the field you update in the update item is not the field you want to trigger the flow, you can ignore the warning.

     

    Best Regards,

    Levi

  • v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous 

     

    So sorry I just found out I posted the wrong info in my last comment.
    I have changed my last comment.
    Sorry again.

     

    Best Regards,

    Levi

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 396 Most Valuable Professional

#2
11manish Profile Picture

11manish 134 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 101 Super User 2026 Season 2

Last 30 days Overall leaderboard