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
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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 104 members 5,306 guests
Please welcome our newest community members: