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

View solution in original post

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (71,202)