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 / If Sharepoint List Ite...
Power Automate
Unanswered

If Sharepoint List Items Meet Condition then Get Data from SQL and Update them

(0) ShareShare
ReportReport
Posted on by 40

I feel like I must be missing something as this seems so simple but if I have a sharepoint list that I need to look at for a condition in one column, grab items nmatching condition, check SQL (using key from SP List to match key from SQL) for what they need to be updated to and then update sharepoint list. (Basically sync a column from SQL to Sharepoint List)

 

Original Sharepoint List

Key    ||  Column A || Column B || Column C

Key 1 ||       Tom     ||     Red      ||      1

Key 2 ||       Joe       ||     Red      ||      1

Key 3 ||       Ann      ||     Red      ||      2

Key 4 ||       Mary    ||     Red      ||      3

Key 5 ||       Tom     ||     Red      ||      3

 

Where Column C is not 3 check SQL Column with cooresponding Key row and find value in colum 5 then use that value to update sharepoint Column C for the cooresponding Key row

 

SQL

Key    ||  Column 1   || Column 2   ...  || Column 5

Key 1 ||       Up         ||     Apple         ||      3

Key 2 ||       Down    ||     Orange       ||      1

Key 3 ||       Down    ||     Bannana     ||      3

Key 4 ||       Down    ||     Pear            ||      3

Key 5 ||       Up         ||     Grape         ||      3

 

 

Updated Sharepoint List Expectation

Key    ||  Column A || Column B || Column C

Key 1 ||       Tom     ||     Red      ||      3

Key 2 ||       Joe       ||     Red      ||      1

Key 3 ||       Ann      ||     Red      ||      3

Key 4 ||       Mary    ||     Red      ||      3

Key 5 ||       Tom     ||     Red      ||      3

 

I can run this on a schedule every few minutes or when a SQL row matching the original SP List condition row is modified.

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    on at

     

    Hi @BARD ,

     

    Could you share a screenshot of the Flow configuration?

    Basically, you just need to find the specified item according to the key column to update.

     

    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

Forum hierarchy changes are complete!

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

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 463 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 427 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard