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

Odata Query Substringof "Row does not exist" for Get Items

Hi there, 

 

I really don't understand what I am doing wrong. I am using the following query "substringof('@{triggerOutputs()?['body/ID']}',name)".

 

Tomeczek_2-1617880434311.png

 

 

The way it is built seems to be correct, but I always get the error message:

 

"The row "name" does not exist. It may have been deleted...."

 

Tomeczek_1-1617880367738.png

 

 

I can clearly see that the column exists in the output when I run the flow without the filter query.

 

Tomeczek_0-1617880283935.png

 

Can someone tell me what I am doing wrong?

 

Thanks in advance!

 

1 ACCEPTED SOLUTION

Accepted Solutions
fchopo
Super User II
Super User II

Hi @Tomeczek 

Instead of using "name" try with "FileLeafRef":

substringof('@{triggerOutputs()?['body/FileLeafRef']}',name)

This is the preferred way to use OData filtering by file name.

Hope it helps!

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

View solution in original post

1 REPLY 1
fchopo
Super User II
Super User II

Hi @Tomeczek 

Instead of using "name" try with "FileLeafRef":

substringof('@{triggerOutputs()?['body/FileLeafRef']}',name)

This is the preferred way to use OData filtering by file name.

Hope it helps!

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (82,864)