cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cristyflorin
Frequent Visitor

Travel approval matrix issue - filtering a Sharepoint list based on a choice value from another list

I need to create a travel approval tool - person 1 adds details and his organization in a Sharepoint list. On create/modify, I want Flow to:

1. Select the Organization column choice (L3 Org) for the item.

2. Compare to Organization column from list B (Title) - which contains Manager, Approver and Delegate for all countries.

 

Get Items Filter OData does not seem to be working at all on choice values, I've tested multiple spellings for it, nothing works: "message": "Column 'ISE' does not exist. It may have been deleted by another user.

 

I've also tried to store the List A value in a variable but the ODATA Filter still will not work.

 

Any ideas?Flow_01.PNGFlow_02.PNG

1 ACCEPTED SOLUTION

Accepted Solutions

OK, found the solution: Get Items with no filter; then Filter Array with the needed columns; then Compose and just select Body.

solution.PNG

View solution in original post

3 REPLIES 3
RobElliott
Super User
Super User

Hi @cristyflorin it looks like you've omitted the apostrophes which are required around the items in the filter query:

 

Filter-query-apostrophes.png

 

 Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

Same result with and without, screenshot attached. I see you are using Compose in yours - is it possible to use a Filter Array and Compose? if so, what do i need to write in the compose?
Apostrophe.PNGWithout A.PNG

OK, found the solution: Get Items with no filter; then Filter Array with the needed columns; then Compose and just select Body.

solution.PNG

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,391)