Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans