cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

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

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (7,283)