Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Filtering Dynamics 365 data based on date field using function

(0) ShareShare
ReportReport
Posted on by

All --

 

I'm working on a flow to identify records from Dynamics 365 that have an estimated close date that is before todays date but am running into issues when trying to use the now() function.  The error message I receive is that the now function isn't supported.  

 

Is anyone aware of a different method to filter a date time field based on current date?

 

Thanks,

Eric 

 

Capture.PNG

 

 

  • v-micsh-msft Profile Picture
    v-micsh-msft on at
    Re: Filtering Dynamics 365 data based on date field using function

    Hi @eraarup,

     

    Try this and see if it would help:

     

    In addition to use the Filter Query, we may also work with the Filter Arrary Action:

    Under the condition, copy and paste the following formula:

    @greaterorequals(
     formatDateTime(item()?['estimatedclosedate'], 'yyyymmddHHss'),
     utcnow('yyyymmddHHss')
     )

     

     11.PNG

    Regards,

    Michael

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard

Featured topics