cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

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
Highlighted
Community Support
Community Support

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

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.

Highlighted
Community Support
Community Support

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Kudoed Authors
Users online (8,185)