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
Memorable Member
Memorable Member

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

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

Thanks and best rgds

Arthur

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

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

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (5,524)