Red Hat Bugzilla – Bug 994892
Time where a task was claimed is not logged
Last modified: 2014-08-06 16:01:44 EDT
Description of problem:
In the PRD for BPMS 6.0 there is requirement PET-18 - "RFE: Log the time that task is accepted" (based on https://issues.jboss.org/browse/PRODMGT-306).
However, I was unable to find this functionality in JBPM. There is no method to get this info in org.kie.api.task.model.TaskData, nor was I able find a field in the database where this info is stored.
This was implemented before for 5.3.x (see https://github.com/droolsjbpm/jbpm/commit/1e5be437671657cc351afcdb8190f017208953a4).
However, 6.0 provides a more complete logging of task events using BAMTaskEventListener.
Mauricio, is this enabled by default? If so, could you clarify where to look, if not, could you specify how to enable it as well?
Basically we were logging some information to send to the dashboard application, but we didn't have any service that we can use internally in the jbpm console side. I've implemented this service and I added a log section in the Task Details screen.
Fixed in master: http://github.com/droolsjbpm/jbpm-console-ng/commit/4f3232a6c
The feature is still missing in the UI. I checked with the decompiler and the fixing commit is not present in the BPMS 6.0.0 ER4.
Please include it so we can test it in ER5.
I believe this is implemented and seems to be already working in BPMS 6.0.1 ER1 - In Task List > Details panel, there is Log section, that displays all the task events (see screenshot). If engineering agrees, please move this BZ to MODIFIED or directly to ON_QA, so we can verify this.
Created attachment 864411 [details]
Screenshot showing the feature
After confirmation from engineering moving to ON_QA for verification. There is a small issue about username not being loged for Taks RELEASED event, but that will be reported in another bugzilla.
Ok, verified in BPMS 6.0.1 ER1