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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow Automate - Copy a...
Power Automate
Answered

Flow Automate - Copy a cell value when it is modified

(0) ShareShare
ReportReport
Posted on by 6

Hi all,

 

I am having a headache on creating a flow for a sharepoint list. 

 

I have 3 columns:

 

1 - Year End - Is manually entered by staff for each clients year end. 

2 - Return Due Calc. - Calculates when a tax return is due to the client ( this is an issue for filtering as in doesn't let you filter for calculated therefore I need the above flow).

3 - Return Due - Column to which the flow needs to copy the column 2 values to. 

 

At the moment I am able to set it up but it continuously runs the flow until I am starting to have errors as there are too many "runs" and the flow will "shut down" in X. 

 

Please help, I have tried all sort of conditions etc but to no avail. 

 

Categories:
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @Duneadah Pls share your flow screens. Also let me know which trigger you are using?

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • Duneadah Profile Picture
    6 on at

    Ah I got frustrated and deleted it haha. I will recreate it and reply to your post later. Thanks for the quick reply!

  • Duneadah Profile Picture
    6 on at

    Hi! 

     

    Please see below:

     

    Duneadah_0-1659425683611.png

    Duneadah_1-1659425701391.png

     

    Duneadah_2-1659425853836.png

    Duneadah_3-1659425864840.png

    Duneadah_4-1659425892814.png

    Duneadah_5-1659425903773.png

    Duneadah_6-1659425922482.png

     

    This is just one of the way I have tried to set it up, I have also used control condition to check when "Year End" column changes to pull info from return due calc and update Return due column. 

     

    Please help hehe!

  • v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Duneadah ,

     

    Could you please tell me:

    If your trigger is When an item is created or modified or When an item or a file is modified?

    The reason for the problem is because your trigger and you use the update Item action. 

    While the update Item is running, the trigger of the flow is triggered again, which leads to an infinite loop of your flow.

    You can add a text column to your SharePoint list called for example updated with a default value of No.

    vliweimsft_0-1659691875603.jpeg

     

    In the update item action you would set the column to Yes.

    vliweimsft_1-1659691890263.jpeg

     

    Then in the settings of the When an item is created or modified you would add a trigger condition of @equals(triggerBody()?['updated'], 'No'), so the trigger will only fire if the updated column is equal to No. 

    vliweimsft_2-1659691906116.jpeg

     

     

    Best Regards,

    Levi

  • Duneadah Profile Picture
    6 on at

    Ah thank you for this! But This would not work if a cell is updated afterwards again? For instance sometimes we have to change the date, or if some one makes a mistake puts the wrong date it.. if the above would run it would change the "Updated" column to yes and would not look at it ever again. Wouldn't the above do the same for empty cells too?

  • Verified answer
    v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Duneadah ,

     

    Sorry for my late reply. 

    You can avoid the infinite loop problem by not using TriggerCondition. 

    Add a condition to determine whether the dynamic content returned by Get changes for an item or a file (properties only): (ColumnHasChanged:updated) is false. 

    vliweimsft_0-1661137062732.jpeg

     

    When the return condition is true, continue your flow. 

    When the return condition is false, add a terminate.

    vliweimsft_2-1661137102754.png

     

    Best Regards,

    Levi

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard