cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kesh
Helper III
Helper III

odata date request

Hi,

I want to liste all items from a dataverse table. This table have a date only field (optional) named "validation date".

 

In power automate I want to list all lines where:

Or (  validation date  < (Today + 5 days) ;
        isblank(validation date)
   )

 

How can I do that with Odata

3 REPLIES 3
Gopala_Krishna
Super User
Super User

@Kesh 

You can make use of the CDS - ListRows action and you can add XML formatted filter condition to that. Once you select the table in the ListRows action it will show an option called Fetch XML query. In this you can pass XML formatted filter conditions.

 

To get the XML query for conditions or entity please check - Hide and Seek: Advanced Find in Microsoft Dynamics CRM - I.B.I.S. Inc.

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

if the information shared helps you, please consider giving a thumbs up and mark solution as resolved

Kesh
Helper III
Helper III

Hi @Gopala_Krishna  , if I do that how can I use it in power automate ?

My idea is to make a scheduled flow and list all items with the previous query.

StalinPonnusamy
Impactful Individual
Impactful Individual

  • We have store the last run
  • Create a variable to get the date calculation
  • (Validation Date lt NewVariable)

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (3,810)