Skip to main content

Notifications

Community site session details

Community site session details

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

Odata query in power automate

(0) ShareShare
ReportReport
Posted on by 386

Hello community,

I want to apply a query in List rows trigger that wherever the created on date is equal to current date it should list that row. Below is the screenshot where I want to apply this query. 

formatDateTime(triggerOutputs()?['body/createdon'], 'yyyy-MM-dd') eq 
formatDateTime(utcNow(), 'yyyy-MM-dd'
I tried this but it is not working

pastedimage1675695638221v5.png

  • Muhammad Anas Naeemi Profile Picture
    386 on at
    RE: Odata query in power automate

    Hey Leah Ju,

    Fetch Xml query worked for me. Thank you.

  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    RE: Odata query in power automate

    Hi Muhammad,

    You can try to use 'Fetch Xml Query' to achieve your goal easily:

    (1)Filter and download fetchxml:

    pastedimage1675742782550v3.png

    (2)using it in the flow:

    pastedimage1675742880654v4.png

    ====================

    If you must use Odata query in power automate, you can refer the following two ways:

    1.You can use 'FetchXml Builder' tool of XrmToolBox to convert fetchxml code to power automate parameters:

    pastedimage1675743093675v1.png

    2.Or you can refer to the following link to use another way:

    pastedimage1675742711349v2.png

    https://technologyblog.rsmus.com/microsoft/power-automate-date-filtering-on-todays-date/ 

  • Verified answer
    Guido Preite Profile Picture
    54,077 Moderator on at
    RE: Odata query in power automate

    you should put

    Microsoft.Dynamics.CRM.Today(PropertyName='createdon')

    in this way you get the cases created during the same day as you are executing the flow

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 181 Super User 2025 Season 1

#2
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 124 Super User 2025 Season 1

Product updates

Dynamics 365 release plans