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
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.
Hi @Anonymous ,
You might consider using Filter Query instead of Filter array.
Best Regards,
WarrenBelz
146,605
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,946
Most Valuable Professional