Hey there Power Automate gurus. I am looking for some assistance with creating a flow. I'm somewhat new to Power Automate/Power Apps but so far I've been a quick study (thanks Google) so forgive me for possibly using incorrect terminology.
I'm looking for a way to automatically archive items in a SharePoint List daily. I would like to copy items older than 15 days based on the 'Created' Date to an identical 'Archive' list and delete the original items. Every solution I've found through this site and google answers always leaves out important details to get it to work (or perhaps I'm not understanding).
I have the following hopes for this:
- Run Daily (Recurrence) - Figured this out
- Copy from Sharepoint List A to Sharepoint List B - Kinda figured this out but only single items at a time that I had to select
- Threshold is 15 days based on the Created date column - Not a clue
- Only move Items in 'Completed' or 'Denied' status (this is a column item for a Powerapps Dropdown) - Even less of a clue
- Delete the original item from Sharepoint List A (again, only if in Completed or Denied status) - Kinda figured this out but got an error when it was trying to delete the item
I've mostly figured out the Recurrence, Get-Item, Created Item, and Delete Item portion of this. It's the Thresholds I'm stuck on.
I appreciate any and all help you can provide! Apologies if I missed a similar question/answer but I did spend quite some time finding something that was well-written enough to apply to my scenario.
EDIT: If an Admin is able to move this to the Flow Building area that would be swell. I thought I was in that forum when I asked my question but apparently not.