Hello,
I am trying to build a flow that runs on a weekly schedule, checking for items (in a SharePoint List) that have been created more than one year ago. If an item has not been created more than a year ago, then the flow takes no further action. But, if the item has been created more than a year ago, then flow will take steps to move that item to a separate SharePoint List.
I mostly have things figured out (I think), but am having a lot trouble figuring out what the correct expression would be (to test whether or not an item has been created more than a year ago). So far, I have:
@equals(items('Apply_to_each')?['Created'], utcNow(addDays(365)))
Creating expressions is definitely something that I have long struggled with, so any help you could provide would be much appreciated!
Thanks a bunch!