cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LostInTheSauce
Helper I
Helper I

Filter Query created items to get items

I have a database setup within SharePoint to build a document using MS Flow.  I was able to perform the basic with no filtering however, I'm caught on the filter query.

List 1: Builds out Cost estimates: Field WR No (unique per entry)

List 2: Project Scope: Field WR No (same as above)

 

I started a Flow that say when an item is created in List 1, get information from List 2 to populate a word template (already built) and save it into a folder.

 

I need to filter List 2 to only return information that List 1 refers  to.  List 1 WR No eq List 2 WR No.

 

I have tried to control Condition, however, that doesn't work either.  I was trying to perform the filter at the get items level utilizing the filter querey.  I'm doing it at this level, since I will have multiple list filling out the work document template.

 

Please help!

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @LostInTheSauce 

 

Please refer to the following post. I have used Odata querying and it just similar to wht you need. 

 

https://powerusers.microsoft.com/t5/Building-Flows/when-item-is-created-updated-that-item-based-on-a...

 

Hope thsi Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

3 REPLIES 3

Hi @LostInTheSauce 

 

Please refer to the following post. I have used Odata querying and it just similar to wht you need. 

 

https://powerusers.microsoft.com/t5/Building-Flows/when-item-is-created-updated-that-item-based-on-a...

 

Hope thsi Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

LostInTheSauce
Helper I
Helper I

So I'm getting lost on how to set the filter. Every option I do it doesn't give me the correct output.
Create item WRNo
Get items WRNo eq create items WRNo
Is there something I'm missing?
I type in WRNo(actual title of column) eq then with help fro. Flow I look up the create items and click on WRNo. Shoukdnt that be it?

Hi @LostInTheSauce 

 

While selecting from the dynamic content for I type in WRNo(actual title of column) eq then with help fro. Flow I look up the create items and click on WRNo. , you should wrap the value from the flow in single quotations as shown in my screenshot in the other response. please post a screenshot of your flow if it does not work. 

 

Hope this Helps!

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (3,931)