Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Updating sharepoint list from MS Form

(0) ShareShare
ReportReport
Posted on by

Hello everyone, 

 

I am designing a flow that will take input from two different MS forms and update the SharePoint list. First form will create the record in the list and fill half of the information in the list.  The second form will only update the records in the list if there is a relevant field or already created item. 

For the purpose mentioned above, I am using the 'Issue Tracking' app, which creates a unique identifier, ID. I am using this ID column to filter the item, to update the corresponding columns in the list. 

 

I have prefilled the list with the first form and the current list has more than 10 records in it. Now I am trying to enter the data from the second form and I am having trouble to:

 

1- Filter the items from the array. The Filter is comparing each 'ID' from the list/ from the array to the user input- 'Accurate_ID' that user inputs from the form. I tested and it showed that filter is giving '[]' or empty result when it's comparing, ID=4 with 'Accurate_ID=4'. 

2- Once before some tweaks, my loop ran and updated all the rows in the lists weather ID matched with Accurate_ID or not. 

 

I would really appreciate if you can tell me what I am doing wrong and how I can fix it.  

 

Thanks

 

Capture03.JPGCapture04.JPG

 

 

 

  • Community Power Platform Member Profile Picture
    on at
    Re: Updating sharepoint list from MS Form

    Thanks, @v-bacao-msft your suggestion worked. I want to say that I am new to Microsoft Flow and I spent today understanding the logic behind the expression you shared.

     

    For my question 2- 'For Each' loop updated all the field in my SharePoint list because I hadn't used the Filter Query in the Get Items function. 

     

    Thanks again....Last one and half week has been amazing while learning flow. 

     

     

  • Verified answer
    v-bacao-msft Profile Picture
    on at
    Re: Updating sharepoint list from MS Form

     

    Hi @Anonymous ,

     

    You might consider using Filter Query instead of Filter array.

    238.PNG

     

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,605 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow