cancel
Showing results for 
Search instead for 
Did you mean: 

Usertask category vs ProcDef Category

jorell
Champ in-the-making
Champ in-the-making
This is something I might have misunderstood, but I noticed all the tasks in my ACT_RU_TASK table have null categories. I dont specify categories for any user tasks in the bpmn but I assumed this value would be copied over from the ProcDef table (where the category is set based on the targetNamespace param in the bpmn).

If this is not the case, how should I fetch UserTasks for a given tenant and targetnamespace? I want to avoid writing a native query and join the two tables. I imagine this is a pretty common usecase we should have this directly in the TaskQuery API. Any thoughts?
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
The user task category is indeed not copied by default (but can easily be added with a global ParseHandler).