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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Updating Sharepoint Co...
Power Automate
Answered

Updating Sharepoint Column

(0) ShareShare
ReportReport
Posted on by 42

Hi,

 

I'm trying to update my IsActive column in sharepoint to "yes" if a new item is created. I then want the old rows that shares the same SWO Number to change to "no".

 

So far I have been able to change IsActive to "yes" but I'm having difficultly changing the old rows to "no". Below are some pictures of what I have:

 

sean8397_0-1681739339507.png

sean8397_1-1681739435067.pngsean8397_2-1681739518686.png

Sharepoint (4247 is the SWO Number and the last row should be the one that's checked and no other rows):

sean8397_3-1681739648896.png

 

Thank you!

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @sean8397,

    Do you want to update the IsActive with yes for the new created item but you want to update the IsActive withn no for the existing old rows that shares the same SWO number?

     

    If so , I think you should filter based on Modified and SWO:

    vqiaqimsft_1-1681798548565.png

    Here is the expression you should write in advanced mode from Filter array:

    @and(equals(item()?['SWO'], triggerOutputs()?['body/SWO']),not(equals(item()?['Modified'], triggerOutputs()?['body/Modified'])))

     

    vqiaqimsft_0-1681798370440.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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 291 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 238 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 109 Super User 2026 Season 1

Last 30 days Overall leaderboard