Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Unanswered

Fetch xml is not working in power autoamte dataverse action List records

Posted on by 2
I have a fetch Xml which retrieves realted records of task entity which has many to many relationship, this fetch xml is working for my plugin, but when I try to use the same fetch xml in power automate it is not working and throwing an error /The value for OData query '$filter' cannot be empty/
 
here is the fetchxml
 
<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='true'>
<entity name='ss_teststaff'>
<attribute name='ss_teststaffid'/>
<attribute name='ss_name'/>
<attribute name='createdon'/>
<attribute name='ss_email'/>
<order attribute='ss_name' descending='false'/>
<link-entity name='ss_ss_tasks_ss_teststaff' from='ss_teststaffid' to='ss_teststaffid' visible='false' intersect='true'>
<link-entity name='ss_tasks' from='ss_tasksid' to='ss_tasksid' alias='TaskId'>
<filter type='and'><condition attribute='ss_tasksid' operator='like' value='@{items('check_each_task_if_the_due_date_is_45_days_from_the_current_date')?['ss_tasksid']}' />
</filter>
</link-entity>
</link-entity>
</entity>
</fetch>
  • Fetch xml is not working in power autoamte dataverse action List records

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans