I'm trying to get a value from a Sharepoint List and looking to filter down the data set using ODATA filters.
This does'nt seem to be as intuitive as the rest of the flow structure.
I'm getting an error stating the expression is not valid. I can only presume that my query ont he column name is wrong as the data value i'm testing for is correct.
Can anyone help?
Would it be available to filter the SharePoint lists with Condition under Microsoft Flow?
Currently OData filters are not implemented yet by all connectors.
See the response from SameerCh in the following thread:
But the filter query works for SharePoint lists.
Currentlly the Filter Query under the Action Act as the
$filter in OData Query,
The Order By act as the:
There is no $select query implemented under the Action.
So if you would like to return special fields from the SharePoint list (See OData reference for SharePoint REST query), you may consider submit this as an idea, to add the $Select as an available Query under the Get Items Action.
Was hoping to keep the control all within flow rather than drop out into SP designer to develop the REST commands.
Understand the ODATA filters aren't working for all connectors. Thanks to the info.
I'll have a dabble with the conditions, but may have to bite the bullet and use the SP designer to create this work flow.
Curious if you have gotten this to work. I have tried every permutation imaginable and have not been able to get this to work
Field Name eq 2 Part Value
Field Name eq 2%20Part%20Value
Field Name eq "2%20Part%20Value"
Field Name eq '2%20Part%20Value'
Field Name eq "2 Part Value"
Field Name eq '2 Part Value'
Field_x0020__Name eq 2 Part Value
Field_x0020__Name eq "2 Part Value"
Field_x0020__Name eq '2 Part Value'
Field_x0020__Name eq 2%20Part%20Value
Field_x0020__Name eq "2%20Part%20Value"
Field_x0020__Name eq '2%20Part%20Value'
Every single one has been tried, none of them work, so do Odata filters really work?
Yes, it works.
Please add a condition, put the corresponding field dynamic content into the first Input Box, then click advanced mode, then you should be able to find the proper field identifier:
The field name here is Testing Text, while the workable column field is marked as 'haiz'
So if we would like to take use of this column to filter query, the formula should be:
haiz eq 'TextValue'
For the value part, it is the actual text, no need to replace the Space with other charactor.
I use in most of my flows the GetItens action in SharePoint and this realy works!
Somethimes i and my team wrong the rest filter and the solution for us if before put in flow test in browser using the following url
https://SHAREPOINT SITE URL/_api/web/lists/getByTitle('LIST NAME')/items?$filter=FILTER
if the result in browser is ok, tou can put the FILTER inside the field in MSFlow and see the magic 🙂
how to compare persons or group fields in OData Query. i am getting the error as below.
"message": "The expression \"DelegationFrom eq i:firstname.lastname@example.org\" is not valid.\r\nclientRequestId: 638efdb5-b91a-4009-8cfd-20a0c3beec48\r\nserviceRequestId: 6127959e-d0b6-0000-128e-3c5f386ffa78"
Am Facing the same issue.
Does anyone know how to resolve this?
It was working before