web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Translation of OData Query

(0) ShareShare
ReportReport
Posted on by 65

I need some help translating a fetchmxl (advance find query) into Odata to be able to paste into PowerAutomate 'Get Records' function. 

Get-Apps.PNG

Here is my fetchxml query I downloaded from an advance find:

<fetch distinct="false" mapping="logical" output-format="xml-platform" version="1.0">


-<entity name="new_assistanceapplication">

<attribute name="new_assistanceapplicationnumber"/>

<attribute name="new_assistanceapplicant"/>

<attribute name="new_assistanceapplicationid"/>

<attribute name="modifiedon"/>

<attribute name="modifiedby"/>

<attribute name="createdon"/>

<attribute name="createdby"/>

<attribute name="statuscode"/>

<attribute name="new_sectionselectedatthetimeofapplication"/>

<order descending="true" attribute="createdon"/>


-<filter type="and">


-<filter type="and">

<condition attribute="statuscode" value="914600018" operator="eq"/>

<condition attribute="createdon" value="3" operator="last-x-days"/>

<condition attribute="createdon" value="2" operator="olderthan-x-days"/>

</filter>

</filter>

Any help here is greatly appreciated.  Thank you.

I have the same question (0)
  • Verified answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    Hi, 

    You can use fetchXml builder tool to generate your power automate filters

  • Monica Cruz Profile Picture
    65 on at

    Thank you so much will try this.

  • Verified answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    Hi again, 

    Before generating the filter using the fetchXml Builder Tool, be careful that your fetchXml is valid. You may have something like this: 

      
        
        
        
        
        
        
        
        
        
        
        
          
          
          
        
      
    

    Then, you can easily generate your power automate filters. Please refer to the image below for more details: 

    pastedimage1622149861242v1.png

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 51 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans