This attribute is placed on the state when a new task is desired. The generic task-switching productions then take over and replace the old task attribute with the new one, modifying the ^task attribute and removing the ^new-task.
Implementation of task switching: generic.soar6