Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Validate the updated field in sharepoint

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I have a share point list I have created for team use, and this list can be updated by any team member,

What I wanted to do is, I need to trigger an automation when an existing SharePoint list item is modified and if the modified field is the "Name" then to Do something and if it's not the name, then to something else 

 

How can I Archive this 

  • Community Power Platform Member Profile Picture
    on at
    Re: Validate the updated field in sharepoint

    Thank you for the support @Expiscornovus 

  • Verified answer
    Expiscornovus Profile Picture
    31,641 Most Valuable Professional on at
    Re: Validate the updated field in sharepoint

    Hi @Anonymous,

     

    Yes, you can specify the Until field in the action and compare it with the previous version of an item or file.

     

    When you do that it should only show you the changed fields between your latest and the previous version.

  • Community Power Platform Member Profile Picture
    on at
    Re: Validate the updated field in sharepoint

    @Expiscornovus 

    Hi, Once again thank you for helping me out on this but A small clarification

    I tried the above method and its worked, but when I go back and change another field, it still runs the above condition since the "Add a Get changes for an item or file (properties only) action" method returns the changed value as "True" for the current changed field as well as the previous changed field 

     

    Any workaround to this

     

    thanks in advance 

  • Community Power Platform Member Profile Picture
    on at
    Re: Validate the updated field in sharepoint

    Thank you all for helping me out, I will definitely try this. thank you again 

  • Expiscornovus Profile Picture
    31,641 Most Valuable Professional on at
    Re: Validate the updated field in sharepoint

    Thanks @ScottShearer. That is definitely a prerequisite. Forgot to mention that 🙂

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: Validate the updated field in sharepoint

    @Anonymous 

    I agree with the solution provided by @Expiscornovus  but would like to add that you must enable versioning on your list for the to run without error.

     

     

  • Verified answer
    Expiscornovus Profile Picture
    31,641 Most Valuable Professional on at
    Re: Validate the updated field in sharepoint

    Hi @Anonymous,

     

    This would be possible via the Get changes for an item or file (properties only) action. Pieter Veenstra has written a nice blog about this:

    https://sharepains.com/2020/09/24/changes-sharepoint-items-power-automate/

     

    Update after Scott his comment.

     

    Below is an example, which requires versioning to be enabled on the list.

     

    1. Add a when an item or file is modified trigger action

    whenanitemorfileismodified.png

     

    2. Add a Get changes for an item or file (properties only) action. Configure it to use the ID and Modified field from the trigger action

    getchangesforanitem.png

     

    3. Add a Condition action and check if the Name column has changed by using the Has Column Changed: Name field is equal to true

    hascolumnchangedname_true.png

     

     

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,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow