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

Manual Trigger a flow -creating query failed

Kindly assist with the following

 

Manual Trigger Flow

based on Taxonomy list with dropdown list

based on year with dropdownlist

office with dropdownlist

 

Sharepoint Get Items

Filter Query as follows: Taxonomy eq' Taxonomy x' Office eq' Office x 'Year eq ' Year"

When i execute a test flow; got the error details "The Expression "Taxonomy eq 'Project' is not valid, Creating your query failed. Any suggestions to solve are welcome

Best rgds

Arthur

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @arthcras 

Please check that your list does have a column which real name is Year! A SharePoint list column has two names, the display name, that you see, and the real name (or internal name) that is used for the Filter Query.

 

Try this - add a Compose action after your Get items action or use an existing action that you have.

Add the Year column to the action - then hover your mouse cursor over the newly added column and see the real name in the popup text. If that differs from Year, then use the name you see in the popup text.

Kind regards, John

View solution in original post

8 REPLIES 8
JohnAageAnderse
Super User
Super User

Hello @arthcras 

Do the list you are getting items from has a lookup column for the Taxonomy?

If yes, then you should use something like this "Taxonomy/Value" or "Taxonomy/Title" in your filter query.

If not, please provide more information about the list and the column definition.

Kind regards, John

Yes indeed with as said a

 

Manual trigger of flow

with 3 different input fields (Taxonomy, Country and Year,  all based on "drop-down list of options.

 

Get Items from a sharepoint list in which a filter query for all the 3 input fields. I'am able to select for example 1 input field based on the following Taxonomy eq 'Taxonomy X', but got error message if add the 2 other fields

 

Hello @arthcras 

I didn't see that at first - is you filter query as you specified?

Taxonomy eq' Taxonomy x' Office eq' Office x 'Year eq ' Year"

 

It should be

Taxonomy eq 'Taxonomy x' and Office eq 'Office x' and Year eq 'Year'

If the Year column in the list is a number, then Year without quotes 🙂

Kind regards, John

Otherwise @arthcras 

Please provide screenshots 😉

ok will give it a try, otherwise will provide the screen shots, best rgds arthur

Hi John, the office and taxonomy works fine, but still have an issue with year

 

Year eq Year x is not working provides that either the query is not valid and in case putting between quotes provides info that colomn year does not exist and that it may have been deleted by another user

 

Any suggestions

Hello @arthcras 

Please check that your list does have a column which real name is Year! A SharePoint list column has two names, the display name, that you see, and the real name (or internal name) that is used for the Filter Query.

 

Try this - add a Compose action after your Get items action or use an existing action that you have.

Add the Year column to the action - then hover your mouse cursor over the newly added column and see the real name in the popup text. If that differs from Year, then use the name you see in the popup text.

Kind regards, John

View solution in original post

It solved the issue with the year, as the name what not correct of the field

Thanks and best rgds

Arthur

 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (880)