
Announcements
Hi All,
I'm working with a flow on a recurrence basis, the flow should;
1. Grab the file from the sharepoint drive
2. Attach the file to an email to be sent out
3. After the email has been sent, the excel spreadsheet should have all rows with dates older the present date removed
I've managed the getting and emailing of the file, however a bit stumped when looking at how to only remove the rows that have been added if the dates don't match up.
Here's what i'm working with now, any advice would be greatly appreciated!
The spreadsheet where i want to remove all data other than the headers;
Following the Emailing of the file;
formatDateTime(utcNow(), 'YYYY-MM-DD')
Hope this makes sense!
Hi @ Yacob_hard,
I have made a test on my side,please enter expression in the Condition as below:
@not(equals(formatDateTime(items('Apply_to_each')?['Date & Time'], 'yyyy-MM-dd'), formatDateTime(utcNow(), 'yyyy-MM-dd')))
The screenshot of my flow as below:
The flow would run successfully as below:
Please let me know if your problem could be solved.
Regards,
Alice Zhang