cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Muni1996
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
v-alzhan-msft
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
rogrimbe
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.

v-alzhan-msft
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
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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Kudoed Authors
Users online (85,287)