1

I'm building a 2013 workflow that uses an OData query in an HTTP GET request that is intended to return a list of items with titles that begin with a certain string (which has previously been recorded in a variable). Here is the query so far:

http://server/site/subsite/_api/Lists/getbytitle('SomeList')/items?$filter=startswith(Title, '[%Variable: StringToMatch%]') eq true

Everything in the workflow works perfectly, but this request returns 0 items, despite there being several of them that do match the conditions. Can anyone spot the problem with the request?

2

Remove the "eq true" from your query.

http://server/site/subsite/_api/Lists/getbytitle('SomeList')/items?$filter=startswith(Title, '[%Variable: StringToMatch%]')

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.