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

Announcements

No record found.

News and Announcements icon
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 436

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

I have the same question (0)
  • Verified answer
    Guido Preite Profile Picture
    54,086 Moderator on at

    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

  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at

    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/ 

  • Muhammad Anas Naeemi Profile Picture
    436 on at

    Hey Leah Ju,

    Fetch Xml query worked for me. Thank you.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
11manish Profile Picture

11manish 156

#2
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans