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 / How to add a record in...
Power Automate
Unanswered

How to add a record in one Sharepoint List once a filed from another Sharepoint List changed?

(0) ShareShare
ReportReport
Posted on by 9

There are 2 sharepoint lists I have on hand, they are:

A: Register the Resignation Requests

B: Recruitment Plan

 

There is a field name "Approve the Resigantion (Y/N)" in the table "A: Register the Resignation Requests", and once this field changed to "Yes", i want to create a new record on the table "B: Recruitment Plan".

 

Highly appreciated that if anyone could help!!

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Chase_Ho 

     

    Here are the steps you need.

     

    sh1.png

     

    You probably need another flag to say that item is created after the Create item flow step. Otherwise it will trigger whenever you modify the Register the Resignation Requests. So add a flag called 'Recruitment Plan Created' Yes/No. Extend the condition to check this flag is No and 'Register the Resignation Requests' is Yes.  Update the flag 'Recruitment Plan Created' to Yes after the create flow step. Hope it make sense.

     

    If you need any further help please let me know.

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

     

    Thanks

  • Chase_Ho Profile Picture
    9 on at

    hello Abm,

     

    Would you please also show me how to create a flag to a FLOW to avoid the scenario you mentioned ?

  • Verified answer
    v-bacao-msft Profile Picture
    on at

     

    Hi @Chase_Ho ,

     

    You could refer to the method provided in this blog to get the version value of the specified field, and then check whether the specified field value has changed in different versions.

    Microsoft-Flow-Community-Blog/Check-for-a-Change-in-a-SharePoint-List-Column-Value

    Use HTTP Request to get the version items, and then get the values of the different versions of the corresponding fields.

    Expression reference:

    Current Version:
    
    body('Send_an_HTTP_request_to_SharePoint')['d']['results'][0]['ColumnName']
    Previous version:
    
    body('Send_an_HTTP_request_to_SharePoint')['d']['results'][1]['ColumnName']

    Image reference:

    110.PNG111.PNG

    Also, note that true/false should be used to correspond to Yes/No.

    Hope it helps.

     

    Best Regards,

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Chase_Ho 

     

    Step 1:

    SharePoint list settings List A: Add a new column called 'Recruitment Plan Created' type Yes/No check box.
    Step 2:

    Extend the if condition to check Recruitment Plan Created is false along with other condition as well.
    Step 3:

    Next after the create item add a flow action step update List A, set Recruitment Plan Created to true.

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

     

    Thanks

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 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard