Copy list item to another filed within same list?

%3CLINGO-SUB%20id%3D%22lingo-sub-2436951%22%20slang%3D%22en-US%22%3ECopy%20list%20item%20to%20another%20filed%20within%20same%20list%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2436951%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3ELet%20me%20start%20by%20saying%20that%20this%20is%20my%20first%20Power%20Automate%20flow.%20I%20am%20in%20the%20process%20of%20migrating%20from%20SharePoint%202010%2F2013%20to%20SharePoint%20365.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20my%20'Project%20Status%20Notes'%20field%20I%20have%20versioning%20turned%20on.%20I%20would%20like%20for%20every%20time%20an%20item%20is%20created%20or%20modified%20to%20copy%20the%20most%20recent%20version%20of%20notes%20to%20a%20field%20called%20'Most%20Recent%20Status'.%20I%20do%20this%20cause%20in%20my%20view%20I%20only%20want%20to%20view%20one%20status%20not%20all.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20problem%20I%20am%20running%20into%20is%20that%20when%20the%20flow%20runs%20it's%20like%20to%20the%20original%20person%20updating%20and%20I%20receive%20a%20warning%20in%20Power%20Automate%20-%26nbsp%3B%3CSPAN%3EActions%20in%20this%20flow%20may%20result%20in%20an%20infinite%20trigger%20loop.%20Please%20ensure%20you%20add%20appropriate%20conditional%20checks%20to%20prevent%20this%20flow%20from%20triggering%20itself.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EWhat%20am%20I%20doing%20wrong%20and%20how%20can%20I%20resolve%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3ERob%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2436951%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerApps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2440725%22%20slang%3D%22en-US%22%3ERe%3A%20Copy%20list%20item%20to%20another%20filed%20within%20same%20list%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2440725%22%20slang%3D%22en-US%22%3EHi%20Rob%20-%20so%20your%20flow%20triggers%20when%20an%20item%20is%20modified%2C%20and%20then%20modifies%20the%20same%20item%2C%20which%20would%20then%20trigger%20the%20flow%20again%2C%20which%20is%20why%20it%20would%20cause%20an%20infinite%20loop.%20I%20think%20if%20you%20added%20a%20condition%20at%20the%20start%20of%20your%20flow%20like%20%22If%20'most%20recent%20version%20of%20notes'%20is%20not%20equal%20to%20'Most%20Recent%20Status'%22%20then%20proceed.%20Basically%2C%20you%20just%20need%20a%20condition%20to%20see%20if%20this%20process%20has%20already%20been%20completed.%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20that's%20not%20clear%20enough%20feel%20free%20to%20post%20a%20pic%20of%20your%20flow%20and%20I%20might%20be%20able%20to%20give%20additional%20detail.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20that%20helps!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2441003%22%20slang%3D%22en-US%22%3ERe%3A%20Copy%20list%20item%20to%20another%20filed%20within%20same%20list%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2441003%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F708272%22%20target%3D%22_blank%22%3E%40jkiblerfbibuildings%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20response.%20I%20tried%20your%20suggestion%20to%20add%20the%20trigger%20and%20still%20got%20the%20Infinite%20Loop%20error.%20Probably%20something%20I%20am%20still%20doing%20wrong.%20So%20here%20is%20the%20original.%20As%20you%20see%20I%20am%20trying%20to%20update%20the%20Most%20Recent%20Project%20Status%20Notes%20with%26nbsp%3B%20a%20the%20current%20version%20of%20the%20Project%20Status%20Notes%20column.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Rob_Ayala_0-1623443445111.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F288159i64366900F1D01E63%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Rob_Ayala_0-1623443445111.png%22%20alt%3D%22Rob_Ayala_0-1623443445111.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,

Let me start by saying that this is my first Power Automate flow. I am in the process of migrating from SharePoint 2010/2013 to SharePoint 365. 

 

In my 'Project Status Notes' field I have versioning turned on. I would like for every time an item is created or modified to copy the most recent version of notes to a field called 'Most Recent Status'. I do this cause in my view I only want to view one status not all. 

 

The problem I am running into is that when the flow runs it's like to the original person updating and I receive a warning in Power Automate - Actions in this flow may result in an infinite trigger loop. Please ensure you add appropriate conditional checks to prevent this flow from triggering itself.

What am I doing wrong and how can I resolve this?

 

Thanks,

Rob

5 Replies
Hi Rob - so your flow triggers when an item is modified, and then modifies the same item, which would then trigger the flow again, which is why it would cause an infinite loop. I think if you added a condition at the start of your flow like "If 'most recent version of notes' is not equal to 'Most Recent Status'" then proceed. Basically, you just need a condition to see if this process has already been completed.

If that's not clear enough feel free to post a pic of your flow and I might be able to give additional detail.

Hope that helps!

@jkiblerfbibuildings 

 

Thank you for your response. I tried your suggestion to add the trigger and still got the Infinite Loop error. Probably something I am still doing wrong. So here is the original. As you see I am trying to update the Most Recent Project Status Notes with  a the current version of the Project Status Notes column.

 

Rob_Ayala_0-1623443445111.png

 

@Rob_Ayala Attached is an example of how I'd do that (albeit two different columns I arbitrarily picked) - did you try something like this?

 

Also since you're new to Flow have you looked at your flow's run history yet? It's available under "My Flows" after opening your flow (before editing it). You can click on a specific run and then see what happened at each stage of the flow.  I guess if you haven't gotten it to run yet this isn't helpful, but it will be as you work with conditions and things don't work the way you'd think :)

@jkiblerfbibuildings 

 

I followed your example and still received the infinite loop. The field has been updated but since it is stuck in an infinite loop when I go back into the List I receive this error at the bottom

 

 Save Conflict. Your changes conflict with those made concurrently by another user. If you want your changes to be applied, click Back in your Web browser, refresh the page, and resubmit your changes.

 

Rob_Ayala_0-1623445684034.png

 

Hmm the warning just says 'ensure you add appropriate condition checks' which I think we did. Was that Save Conflict already there from the previous flow runs without the condition? Maybe we're missing something still but that looks good to me. If you're not sure if the Save Conflict was already there I'd clear that conflict first and then try running the flow again.