Setting task priority via BPMN XML

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2011 01:16 PM
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:
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?
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?
Labels:
- Labels:
-
Archive
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2011 02:45 PM
Hi,
Right, it's not supported right now to do this via BPMN 2.0 XML.
If you can create a patch including unit tests than I'll make sure it's added to trunk.
Best regards,
Right, it's not supported right now to do this via BPMN 2.0 XML.
If you can create a patch including unit tests than I'll make sure it's added to trunk.
Best regards,

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 05:58 AM
Excellent. I have created http://jira.codehaus.org/browse/ACT-985 to track this feature, but can't seem to find a way to assign the issue to me. The patch (incl. unit tests) is ready, but I need to sort out some legal stuff before contributing it.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 07:04 AM
A patch is now attached to the JIRA issue.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2011 05:27 AM
Okay great.
Thanks,
Thanks,
