02-28-2018 10:27 AM
I start learning Activiti. I would like to get a list of completed tasks for a given user and another list of tasks not completed yet by a given user with the processEngine (not the REST API).
Thank you.
David
02-28-2018 12:06 PM
HistoricTaskInstanceQuery matches your case.
HistoryService (Activiti - Engine 5.22.0 API)
historyService.createHistoricTaskInstanceQuery().finished().taskAssignee('userCd')
historyService.createHistoricTaskInstanceQuery().unfinished().taskAssignee('userCd')
02-28-2018 12:06 PM
HistoricTaskInstanceQuery matches your case.
HistoryService (Activiti - Engine 5.22.0 API)
historyService.createHistoricTaskInstanceQuery().finished().taskAssignee('userCd')
historyService.createHistoricTaskInstanceQuery().unfinished().taskAssignee('userCd')
04-07-2018 01:04 PM
Thank you daisuke-yoshimoto.
Explore our Alfresco products with the links below. Use labels to filter content by product module.