Auto-Close Task List with Multiple Task Statuses

Auto-Close Task List with Multiple Task Statuses

Hello,

We currently use a project template to create projects for each upcoming install we have, however not all sites require every task listed in the template. Instead of archiving or deleting the task per project, we have team members mark task status as "N/A" so everyone knows the task is not pertinent to the site and not simply forgotten. 

The issue I'm running into is that Task Lists will auto-close once all tasks are marked "closed", but I need to create a custom function for the task list to close when all tasks are marked either "closed" OR "N/A". Is there a custom function already out there that will help me achieve this?

Thank you!