Re: Deleting Completed Tasks
Hi @frankc9
Yes, this is correct as far as I can see it. If you want to test this before deleting anything, you can also remove the "delete a task" action and put in a "compose" action. I would recommend using a "filter array" after the "list tasks", because you will receive all tasks from this planner, also these that are not completed now. Within your condition, this will occurs an error for this elements, because the "completedDateTime" field is NULL. If you first filter out only the items where the percent completed is equal to 100, you are good to go.
Also if you want to get rid of the condition, you can write a more advanced query within your "filter array" that checks if the percentage completed is 100 and the completed Date Time is bigger than the current time - 2 Month (2/16/2022 - 2 Month = 12/16/2022).
Does this help you? Otherwise please give me some more information.
Best regards
Marvin
If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.
Blog: Cloudkumpel