cancel
Showing results for 
Search instead for 
Did you mean: 

My Pooled Tasks web script

cytrix
Champ in-the-making
Champ in-the-making
Hello,

Alfresco has a "My tasks" webscript, but this webscript doesn't show pooled tasks.
Does it exist a "My pooled tasks" webscript ?

Thanks.
1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator
If you look at the freemarker file for the task-related web scripts, you'll see the call that retrieves the tasks. It looks like:

<#list workflow.assignedTasks as t>

That maps to the getAssignedTasks method in org.alfresco.repo.template.Workflow.

There's also a getPooledTasks method in that class which means you could do:

<#list workflow.pooledTasks as t>

So there may not be one out-of-the-box, but you could create your own quite easily.

Jeff