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

Cannot use dynamic content in Get Items filter query

Hello,

 

This doesn't work:

2020-04-23 14_01_32-Edit your flow _ Power Automate et 20 pages de plus - Travail - Microsoft​ Edge.png

'0. Plant Value' is a dynamic content from the 'When... created' trigger.

2020-04-23 14_03_33-Run History _ Power Automate et 20 pages de plus - Travail - Microsoft​ Edge.png2020-04-23 14_03_41-Boîte de réception - francois.perlade@arcelormittal.com - Outlook.png

 

But if I use a pre-set value, it works:

2020-04-23 13_52_47-Edit your flow _ Power Automate et 20 pages de plus - Travail - Microsoft​ Edge.png

 

How can I use the dynamic content please?

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Dual Super User III
Dual Super User III

Re: Cannot use dynamic content in Get Items filter query

Hi!

Did you consider adding single quotes around your dynamic content element? If not, I am afraid ODATA parser considers the dynamic content as a column name (i.e. ColumnA eq ColumnB)

hope this makes sense



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

Highlighted
Microsoft
Microsoft

Re: Cannot use dynamic content in Get Items filter query

@francoisperlade I have tested from my side and it does need single quote in the odata filter query. So Plant eq'O.Plant Value' should work for you.

 

Best Regards,

 

Jessie Chen

 

Support Engineer

Asia Dynamics 365 Support

Customer Services and Support

View solution in original post

4 REPLIES 4
Highlighted
Dual Super User III
Dual Super User III

Re: Cannot use dynamic content in Get Items filter query

Hi!

Did you consider adding single quotes around your dynamic content element? If not, I am afraid ODATA parser considers the dynamic content as a column name (i.e. ColumnA eq ColumnB)

hope this makes sense



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

Highlighted
Frequent Visitor

Re: Cannot use dynamic content in Get Items filter query

 

and I feel stupid, thank you 😉

Highlighted
Dual Super User III
Dual Super User III

Re: Cannot use dynamic content in Get Items filter query

No problema

I made this same mistake some time ago, also felt stupid, the good news? Since then I never forget the single quotes

Emotions are really powerful, even when programming 😉



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Highlighted
Microsoft
Microsoft

Re: Cannot use dynamic content in Get Items filter query

@francoisperlade I have tested from my side and it does need single quote in the odata filter query. So Plant eq'O.Plant Value' should work for you.

 

Best Regards,

 

Jessie Chen

 

Support Engineer

Asia Dynamics 365 Support

Customer Services and Support

View solution in original post

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

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
Top Kudoed Authors
Users online (8,056)