cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow Due Date

dineshnk1
Champ in-the-making
Champ in-the-making
Hello,

What are the ways to use Due date, while starting any task of a workflow. I refer this http://www.activiti.org/userguide/#bpmnUserTaskDueDate and go through API doc also, but it looks like not sufficient.

Thanks!
3 REPLIES 3

trademak
Star Contributor
Star Contributor
Hi Dinesh,

Can you explain what you mean with "not sufficient". A due date can contain a static value, but you can also use an expression.

Best regards,

dineshnk1
Champ in-the-making
Champ in-the-making
Thanks for reply Tijs. Let me explain you.
In my workflow, I have two stages, Say primary action and secondary action, It has accept and reject on secondary stage.
When primary completes, it goes to second stage for accept and reject to complete workflow.
I am creating workflow on the fly and will save due date as date time for each user task, then will fetch tasks using due after and due before to know task status (Completed on time or not ) . Need help to achieve this . Do I need to do some type of customization ?

Best Regards,
Dinesh

jbarrez
Star Contributor
Star Contributor
You need to store the duedate in a process variable, and reference it later in an expression when configuring the due date.