cancel
Showing results for 
Search instead for 
Did you mean: 

Task Due Date

walterjs
Champ in-the-making
Champ in-the-making
I see that there is no property for a due date on the task as there was in jBPM 4. Are there any plans to add this in the near future or should this be handled differently?

Usually, a user should be able to sort their tasks by priority and due date, but at the moment I can't see how to do this.

Thanks
Walter
13 REPLIES 13

walterjs
Champ in-the-making
Champ in-the-making
Thanks Frederik, that is what I'm doing at the moment. Just thought it strange that setPriority exists in the service, but setDueDate doesn't.

frederikherema1
Star Contributor
Star Contributor
I see what you mean Smiley Wink Not sure actually why it's there. Probabily a shorthand to a operation that is performed quite often…

maclab
Champ in-the-making
Champ in-the-making
Hello
With Activiti 5.10 change due date was possible with the following 2 lines
task.setDueDate(..)
ProcessEngines.getDefaultProcessEngine().getTaskService().save(task)
With Activiti 5.11 we have the following exception on the line 2 :
Caused by: org.activiti.engine.ActivitiOptimisticLockingException: TaskEntity[109811] was updated by another transaction concurrently

Any idea?

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Please create a new topic!!!