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
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,813)