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 / Inserting Specific Dat...
Power Automate
Answered

Inserting Specific Data from one SharePoint List to another when a new entry is created.

(1) ShareShare
ReportReport
Posted on by 13
I have created two SharePoint Lists. Both lists are populated by separate MS Forms.
 
The first list is a Document Request List.
 
The second is a Document Priority list.
 
Once a new document request comes in, it adds a line to the Document Request list, from there an email is distributed to a committee who then fill out an MS Form with voting criteria. The results of which, updates a line in the Document Priority list.
 
Once the Document Priority Form is filled out and the new line is created in the Document Priority list, I would like to grab data from the Document Request list and update the Document Priority list. I am failing.
 
The Document Submission # in the Document Request list and the Document Request ID from the Document Priority list will be the same. So these values will be used to identify entries in both lists.  If there is a match, it should update three columns. Otherwise it should do nothing.  This is where I think I took a left turn.
 
 
 
The flow checker is telling me there is a possibility that it may trigger an infinite trigger loop. I can't see it. It also advises that it has run successfully in my tests. But nothing is updating as expected.  I have left the if no action completely blank.
 
Any guidance would be amazing.
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,963 Moderator on at
    Hi,
     
    Its because the Trigger is for the Priority list, and you are Updating the Priority list in your flow at the bottom Apply to each so you are just going to be
    non stop Triggering.
     
    You need to add a Trigger Condition that will ONLY trigger when its Create, but this trigger does Create or Modified. Its your Modified part that will trigger nonstop

    If you add a Trigger Condition so that it ONLY continues and fires IF its a Create, instead of a Modified, then you are fine.

    Add trigger condition to your Trigger. Click the ... on the Trigger
    Click Settings
    In the bottom you need to add a Trigger Condition
    @not(equals(triggerBody()['Modified'],triggerBody()['Created']))


    Here is where you trigger the Modified Part.
     
     
     
     
    Also, you are using a Filter array on your first Get Item 2 above... Just use an ODATA expression to compare
    the FIeld to the value

    so like [MySharePointField] eq 'MyIncomingValue' (assuming they are strings)

     

     
     
     
  • HolJFitz Profile Picture
    13 on at
    Thank you @FLMike, 
     
    I so appreciate your response. It makes sense to me until I try to put it into practice. 
     
    When I click on the ... at the Apply to each and access the settings, I am not sure what I am expecting to see to enter the trigger you have suggested.
     
    I am either not in the spot I should be or just totally don't understand. This is the screen I am seeing. 
     
     
    What am I missing?
     
     
     
     
     
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,963 Moderator on at
    Hi,
     
    You need to put the Trigger Condition in the Trigger. Here
     
    and your apply to each at the top goes away completely and you just have your Condition that does the check on the length
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 801

#2
Valantis Profile Picture

Valantis 602

#3
Haque Profile Picture

Haque 581

Last 30 days Overall leaderboard