cancel
Showing results for 
Search instead for 
Did you mean: 

How do I set a task's DueDate outside an execution context

brianshowers
Champ in-the-making
Champ in-the-making
I apologize if there is an obvious answer to this question.  It seems terribly simple.

I have a scenario in which I want to programatically change the DueDate of a Task.  I thought this would be as simple as other elements such as Assignee and Priorty where I could call taskService.setAssignee() or taskService.setPriority().  However, there doesn't appear to be a corresponding method for taskService.setDueDate().

Is there another way in which I can change a task's due date from outside of an execution context?
11 REPLIES 11

brianshowers
Champ in-the-making
Champ in-the-making
Given that change, is there going to be a way to use TaskService.saveTask() without generating a bunch of phantom TaskListener events?

frederikherema1
Star Contributor
Star Contributor
We need to get that fixed, so there will be another mechanism in place to prevent fantom assignment-events in 5.13.

See https://jira.codehaus.org/browse/ACT-1627