cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Flow Archiving - Sharepoint List of elements Date - Dont't work properly

Hello, 

 

I'm trying to make a flow that archives all expired contracts from a list.
Contracts whose "TestDate" is less than today's date must be sent to another list.

cxvxcvxcv.png

 

@less(formatDateTime(item()?['DateTest'], 'dd/MM/yyyy'), formatDateTime(utcNow(), 'dd/MM/yyyy'))

 

It doesn't work..

For example (today 26/10/2017) :

- 22/01/2017 -> Ok (Liste1-->Liste2)

- 28/10/2017 -> Ok(Liste1.)

- 22/10/2048 -> NOT OK (Liste1-->Liste2)

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: Flow Archiving - Sharepoint List of elements Date - Dont't work properly

@TiagoCosta1983 has found the solution ! :

@greater(string(utcnow('yyy-MM-dd')), items('Appliquer_à_chacun')?['DateTest'])

dfgdfgdfgdfgdfg.png

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Re: Flow Archiving - Sharepoint List of elements Date - Dont't work properly

@TiagoCosta1983 has found the solution ! :

@greater(string(utcnow('yyy-MM-dd')), items('Appliquer_à_chacun')?['DateTest'])

dfgdfgdfgdfgdfg.png

View solution in original post

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

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 Solution Authors
Top Kudoed Authors
Users online (5,979)