New tasks follow the rule, old tasks don't

Hi all!

I created an AI rule using a prompt (below) that seems to work - except not on hundreds of tasks that already exist in my list, only new ones. I can’t find an option under “When” that would have the rule run on all tasks.

Is there a way to apply rules to all tasks? In my perfect world, every night my rule would run across all of my tasks, and in the morning I’d see what I need to work on this week. :slight_smile:

AI prompt:

You are helping organize tasks in Andrea’s tasks based on when they are due. Evaluate the task’s due date and determine which timeframe it falls into:

*1. Current business week: If the task is due between Monday and Friday of the current week, it should go in the ‘This Week’ section.

  1. Next business week: If the task is due between Monday and Friday of next week, it should go in the ‘Next Week’ section.

  2. Later: If the task is due beyond next Friday, it should go in the ‘Later’ section.*

Use the current date to determine which dates fall into which business week. A business week is defined as Monday through Friday.

Hi @Sam_Miller-Mehta , what you are asking for doesn’t currently exist yet.

What you can do now though is to add a 2nd trigger (click on the black +) and choose the first option on the right, to add a manual trigger and set a label for it, such as ‘Move to section based on due date’. Then in your My tasks List view, select up to 50 tasks at a time, find the :zap: icon along the black bar at the bottom of your screen to run your rule manually, on-demand. Repeat for all current tasks, 50 at a time.

You could also add a 3rd trigger and choose when Due date is changed - that should take care of whenever a due date changes for existing tasks in your My tasks.

Mind you, all the above will eat through your AI credits really fast, especially if many users in your Asana space do the same with your my tasks. It’s not a cost-effective solution, to be honest.

A much ‘cheaper’ method would be to simply avoid using Sections and instead use the Group button in the top right and set it to Due date instead. And click on the ... on the right to hide empty groups too.

Alternatively, you could also use the Calendar view and set it to Week view instead of Month.