web
You’re offline. This is a read only version of the page.
close
Skip to main content
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 390

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,084 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

  • 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/ 

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

    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

Responsible AI policies

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

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 169

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 65

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans