cancel
Showing results for 
Search instead for 
Did you mean: 

Extra behaviour for Task and TaskQuery

tstephen
Champ on-the-rise
Champ on-the-rise
Hi,

I found http://forums.activiti.org/en/viewtopic.php?f=4&t=324&p=1815&hilit=Task+dueDate#p1815 which at the end talks of adding a dueDate to Task and wondered if there is a JIRA for it? I was looking for just this property and like Joram do not think it should do anything. If it could be linked to a boundary timer event that can have outgoing sequence flow modelled by the developer so much the better but I would still see this as useful as just a piece of information for the user about when she or someone else expects to complete a task. Hopefully I'm thinking along similar lines as you?

Also I was thinking that TaskQuery could benefit from taskMinPriority and maxPriority query clauses in addition to priority (equality test). I believe there is precedent for this by looking at the 3 query clauses for createTime (taskCreatedOn, taskCreatedBefore and taskCreatedAfter). As part of the dueDate work I hope we can also expect taskDueOn, taskDueBefore and taskDueAfter in the query interface?

Apologies if this would be better as two separate posts or if I should have continued the earlier thread, please let me know if you'd prefer that.

I am looking at trunk.
regards, Tim
4 REPLIES 4

frederikherema1
Star Contributor
Star Contributor
Task dueDate has indeed been added in the 5.4 release, as well as queying dueData, dueBefore and dueAfter + same on historicTaskInstances.

http://jira.codehaus.org/browse/ACT-564

For the priorityHigher and priorityLower, it's best to file a JIRA issue.

tstephen
Champ on-the-rise
Champ on-the-rise
Thanks, here it is: http://jira.codehaus.org/browse/ACT-725. I'll add a patch shortly I hope.

tstephen
Champ on-the-rise
Champ on-the-rise
Hi Frederik (or others),

Not sure on the correct etiquette, I posted a patch a little while ago, should I post here too to let you know? Something else? Just don't want it to be waiting on me Smiley Happy

cheers,
Tim

frederikherema1
Star Contributor
Star Contributor
Stephen,

I'll take the patch in trunk, will be released in 5.5, the end of this month. Thanks!