Showing results for 
Search instead for 
Did you mean: 
Level 8

Get Items - Query filter for contains

Is substringof supported as a query filter?


Not sure if my syntax is wrong




substringof(Market_x002f_State, 'las vegas')

Community Support Team
Community Support Team

Re: Get Items - Query filter for contains

Hi Grahambo05,


I haven’t seen a function of Substringof. There is a function of Substring which can be used to return a subset of characters from a string. Please check more details about the workflow definition language at here:


For your scenario, are you trying to use Filter query for data source such as SharePoint? Hope this doc about Odata query operation could be a reference for you, you could check the supported Odata query options at here:

Do you want to use the function to return the items which contains “las vegas”? I assume that you may consider to use Contains function to return true if dictionary contains a key. Please check the doc workflow definition language for more details.

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Super User
Super User

Re: Get Items - Query filter for contains

is substringof supportted yet?

Super User
Super User

Re: Get Items - Query filter for contains

Apparently, it is supported now.  I was trying it with the items reversed in the parenthesis.



Then, come to find out... doesnt work at all for Name in a document.  So, no luck for a SP Get Files.


Always a nuance to waste hours of time.

Helpful resources


Power Automate Community User Group Member Badge

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


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 449 members 6,197 guests
Please welcome our newest community members: