Bug 1018815
Summary: | No way of specifying 'Due Date' for deployment tasks | ||
---|---|---|---|
Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Stefan Bunciak <sbunciak> |
Component: | DT Governance | Assignee: | Eric Wittmann <eric.wittmann> |
Status: | NEW --- | QA Contact: | Matej Melko <mmelko> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0.0 | CC: | kverlaen, soa-p-jira |
Target Milestone: | --- | ||
Target Release: | FUTURE | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
There is no way to set the Expiration Time on a task instance at creation time from a BPMN2 process. This functionality should be made available in Red Hat JBoss Business Process Manager 6.1. As a result of this, users cannot currently fill in a DTGov user task's 'Due Date' field (found under Task Details). The Task Form does not allow you to change this field.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Stefan Bunciak
2013-10-14 12:59:28 UTC
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: https://github.com/Governance/dtgov/blob/master/dtgov-war/src/main/java/org/overlord/dtgov/taskapi/TaskApi.java#L223-237 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. |