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
Helper III
Helper III

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

Helpful resources

Announcements
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

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (18,417)