cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Muni1996
Level: Powered On

Check if a day before an element has been changed

Hey!

 

I want to create a flow which checks if a day before an element has been changed. 

Any ideas?

 

saskiaflow.png

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Check if a day before an element has been changed

Hi @Muni1996 ,

 

Please refer to screenhsot below to create the flow:

1.png

 

The first expression in the Condition as below:

formatdatetime(items('Apply_to_each')?['Modified'],'yyyy-MM-dd')

The second expression in the Condition as below:

formatdatetime(utcnow(),'yyyy-MM-dd')

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
rogrimbe
Level: Powered On

Re: Check if a day before an element has been changed

Hi Muni1996,

 

you can save the modified time value from share point into a variable and with the help of data and time expression 

use the foramtDateTime to save it in 'MM/dd/yyyy' format. 

onw use it in the condition with is equal to another expression using getPastTime with interval of 1 'Day' with the same format

that should work out for you.

Community Support Team
Community Support Team

Re: Check if a day before an element has been changed

Hi @Muni1996 ,

 

Please refer to screenhsot below to create the flow:

1.png

 

The first expression in the Condition as below:

formatdatetime(items('Apply_to_each')?['Modified'],'yyyy-MM-dd')

The second expression in the Condition as below:

formatdatetime(utcnow(),'yyyy-MM-dd')

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 444 members 5,631 guests
Please welcome our newest community members: