Description of problem:
User is not able to fill 'Due Date' in the Task Details of dtgov user tasks. Task form doesn't allow changing of the field and I'm not able to find any other place where to specify/modify it. This makes column in dtgov-ui/#taskInbox listing 'Due on' useless.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
The same applies to 'Priority' column.
Eric, we probably want to hide these features for now; since they are not (yet) supported.
If we do want to support it we'd need to add setting priority and due dates in our DTGov UI.
I think we'd need to add screens like the ones in http://docs.jboss.org/jbpm/v5.3/userguide/ch.human-tasks.html
Then we'd be interacting directly with the jBPM Task Object to set the values. AFAIK BPMN2 does not support it; and the eclipse BPMN editor doesn't either.
But doesn't that link describe how to configure priority in the BPMN process when creating a human task activity? If the workflow developer uses that feature (configures the priority in the workflow) then the UI will work as-is (it will show priority properly).
If we want to allow modifying the priority after creation, then we have some UI work to do, and we have to figure out if jbpm supports that.
Regarding due date, the documentation Kurt provided doesn't seem to indicate that a task level expiration date can be configured in the BPMN activity/task. This is surprising because the jBPM "TaskDate" entity has such a field. I'm not sure when/how that gets set. Perhaps it comes from task escalation in some way.
When I wrote the UI my expectation was that those two properties (priority, due/expiration date) would be set by the workflow when it creates the human task. I believe this is true for priority (according to the jbpm documentation) but it's unclear to me how expiration works.
Perhaps we can get some information from a jbpm team member?
Before you enter the task node you maybe able to set the task priority from a piece of data in the workflow context. We can ask the jBPM guys about the details. I think the link does show a UIfrom where you would be able to change/set the priority thought, which would still be something we'd need to support in the dtgov console.
Can we get input from a jBPM expert re: how to set the task's expiration time from a BPMN workflow? We need to know how the "expirationTime" java bean property is set on the TaskData object for a task. The relevant code on the task inbox side is here:
I just received word from the jBPM guys that there is, in fact, no way to set the Expiration Time on a task instance at creation time from a BPMN2 process. This functionality should be available in 6.1, but didn't make it in for 6.0.
However, the expiration time *can* be set after the fact. So we could create a gesture in the UI that lets the user set the expiration time.
Eric Wittmann <email@example.com> updated the status of jira DTGOV-161 to Closed