+ Start a Discussion
lamayclamayc 

list controller error

setCon = new ApexPages.StandardSetController(Database.getQueryLocator([select id, subject from Task where RecordType.Name = :recordType]));

 

getting error: List controllers are not supported for Task

 

Our company works such that most tasks are not assigned to people but rather as someone gets one task done (or a group of tasks done), the next task (or group of tasks) is assigned them (tasks are initially just a large group of things to do for the whole organization).

 

Any idea why list controller are not supported for tasks, and/or suggestions.

 

Thanks.