This content has been marked as final.
Show 3 replies
-
1. Re: How to get Human Task's completion date time using rest remote api in jbpm 6.1.0.Final ?
abhijithumbe Apr 9, 2015 12:56 PM (in response to soumya.plavaga)Hi,
Remote rest api supports selected methods, as per my understanding we dont have method to check task completion date. But you can print or set date& time into process variable from 'OnExit' script of the human task. Hope it helps..
-
2. Re: How to get Human Task's completion date time using rest remote api in jbpm 6.1.0.Final ?
rajiv_dadhich Oct 26, 2015 12:33 PM (in response to soumya.plavaga)Hello Soumya,
Were you able to use task event table to get task completion date or did you used on exit event/script?
Please update.
Thanks.
-
3. Re: How to get Human Task's completion date time using rest remote api in jbpm 6.1.0.Final ?
rajiv_dadhich Oct 26, 2015 7:11 PM (in response to rajiv_dadhich)I found the solution myself. Hope this can help someone..
List<TaskEvent> taskEvents = taskService.execute(new GetAuditEventsCommand(taskId, new QueryFilterImpl(0,0)));
You can add filters for task status. Also, you can use default constructor of GetAuditEventsCommand if you want all the task events.
Thanks.