jboss-gpe / processFlowProvision

Other
11 stars 7 forks source link

Backport jBPM6 HumanTask DueDate functionality to PFP. #30

Closed DuncanDoyle closed 10 years ago

DuncanDoyle commented 10 years ago

jBPM6 supports setting a DueDate on a HumanTask, see: https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-workitems/src/main/java/org/jbpm/services/task/wih/AbstractHTWorkItemHandler.java

We should support this in PFP as well. The TaskData class in jBPM5 already accommodates for this data, so it's merely a question of adding DueDate param support to the PfpAddHumanTaskHandler.

DuncanDoyle commented 10 years ago

Needed to change the Taskorm-JPA2.xml as well as all the named queries had an 'expirationTime is null' statement in their WHERE clauses.