Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

Microsoft.OData.ODataException: An unknown function with name 'utcNow' was found

(0) ShareShare
ReportReport
Posted on by 54
Hey,
I am trying to add a filter expression as in the ss below. But I am getting the error "An unknown function with name 'utcNow' was found when I trigger the flow. I am not able to add utcNow() function as an expression, since that is a filter expression and not a filter query. Any Idea how I can achieve this? 
 
120004333_10158648885497298_7634075457223362613_n.jpg
 
PS: I could add a condition in the next steps but I would like to make it efficient, so that the flow won't be triggered, if the expression is not satisfied. 
 
Greetings 
 
  • MJain Profile Picture
    MJain 2,450 on at
    Re: Microsoft.OData.ODataException: An unknown function with name 'utcNow' was found

    Hi @selimdag ,

     

    https://diyd365.com/2019/11/20/every-power-automate-ms-flow-filter-query-you-ever-wanted-to-know-as-a-functional-consultant/

     

    Thanks

  • CU20011233-0 Profile Picture
    CU20011233-0 54 on at
    Re: Microsoft.OData.ODataException: An unknown function with name 'utcNow' was found

    Hi @ManishJain

     

    can you give me an example, how to use these expressions? 

     

    Thanks 

     
  • MJain Profile Picture
    MJain 2,450 on at
    Re: Microsoft.OData.ODataException: An unknown function with name 'utcNow' was found

    Hi @selimdag ,

     

    The list of supported operators :

     

    https://docs.microsoft.com/en-us/dynamics365/customer-engagement/web-api/queryfunctions?view=dynamics-ce-odata-9

     

     

     

    Thanks

  • CU20011233-0 Profile Picture
    CU20011233-0 54 on at
    Re: Microsoft.OData.ODataException: An unknown function with name 'utcNow' was found

    Update: 

    I added the expression somewhere else - copied and pasted it there: 

    Screenshot 2020-09-24 114657.png

    Now I'm getting this error: 

    "Microsoft.OData.ODataException: A binary operator with incompatible types was detected. Found operand types 'Edm.DateTimeOffset' and 'Edm.String' for operator kind 'GreaterThan'.\r\n"

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

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard