AnsweredAssumed Answered

Setting task priority via BPMN XML

Question asked by thilo.ginkel on Nov 2, 2011
Latest reply on Nov 4, 2011 by trademak
Hi there,

I am aware of
but apparently I am missing something terribly obvious:

With Activiti 5.7 I can't seem to manage setting a custom task priority via the bpmn20.xml.

Example:
<userTask id="usertask3" name="High" activiti:assignee="assignee" activiti:priority="75">
    […]
</userTask>
At runtime, this will instantiate a task, which has the default priority (50) assigned.

I also had a look at BPMNParse.java and could not find a place where the priority extension attribute is parsed (just assignee, candidateUsers, candidateGroups and dueDate).

Am I missing something obvious or is this feature currently not implemented?

Thanks,
Thilo

P.S.: If this is currently unimplemented in the runtime, would you accept a patch that enables this feature?

Outcomes