Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

When an item is created or Modified function

(0) ShareShare
ReportReport
Posted on by 11

Hi PA,

 

I am currently using the expression below in the "when an item is created or modified" function to only trigger when an item is modified in a list. Is there a way to only trigger a flow when a certain column in a SharePoint list has been triggered? 

 

@not(equals(triggerbody()?['Created'],triggerbody()?['Modified']))

 

I would like a flow to be triggered when for example the Document Status column changes its value, rather than at the moment I believe it is currently being trigger when any of the columns are being modified which is sending multiple emails

 

Is this Achievable? if so can an example be provided

 

Thank you

  • Verified answer
    v-bacao-msft Profile Picture
    on at
    Re: When an item is created or Modified function

     

    Hi @Callum91 ,

     

    There are several options for you to implement your needs, please check whether there are methods you can apply.

     

    The first is to add an extra column in the list to record whether the value of the status field has been changed when the item is updated. The field type can be Yes/No, and the default value is No. If the user changes the status field, the value of Yes/No needs to be changed to Yes.

     

    When configuring Flow, you need to add trigger conditions to check whether the value of the Yes/No field is true, and if so, trigger Flow. In addition, you need to add Update item action in the last step of Flow to restore the value of Yes/No field to No.

     

    The second method directly uses For a selected item as the trigger. If the Status field is changed, the user needs to manually trigger Flow.

     

    The third way is that you can refer to the following great article to get the item version and check whether the value of the status field in the two versions is different:

    https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Check-for-a-Change-in-a-SharePoint-List-Column-Value/bc-p/248270#M503

     

    Hope that makes sense.

     

    Best Regards,

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,962 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow