cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Impactful Individual
Impactful Individual

Re: Manual Trigger a flow -creating query failed

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
Highlighted
Impactful Individual
Impactful Individual

Re: Manual Trigger a flow -creating query failed

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

Highlighted
Frequent Visitor

Re: Manual Trigger a flow -creating query failed

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

 

Highlighted
Impactful Individual
Impactful Individual

Re: Manual Trigger a flow -creating query failed

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

Highlighted
Impactful Individual
Impactful Individual

Re: Manual Trigger a flow -creating query failed

Otherwise @arthcras 

Please provide screenshots 😉

Highlighted
Frequent Visitor

Re: Manual Trigger a flow -creating query failed

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

Highlighted
Frequent Visitor

Re: Manual Trigger a flow -creating query failed

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

Highlighted
Impactful Individual
Impactful Individual

Re: Manual Trigger a flow -creating query failed

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

Highlighted
Frequent Visitor

Re: Manual Trigger a flow -creating query failed

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

Thanks and best rgds

Arthur

 

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (7,847)