Merged V4.0-BUGFIX into HEAD

36343: ALF-13898: starting workflow from IMAP now using workflowDefs with engine name included, fallback to appending $jbpm when not present, to preserve backwards compatibility.
  36342: ALF-14120: fix only completed tasks returned

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@36344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Frederik Heremans
2012-05-14 10:27:55 +00:00
parent 7effb5240c
commit ef29302aad

View File

@@ -1457,6 +1457,7 @@ public class ActivitiWorkflowEngine extends BPMEngine implements WorkflowEngine
{
List<HistoricTaskInstance> historicTasks = historyService.createHistoricTaskInstanceQuery()
.taskAssignee(authority)
.finished()
.list();
return typeConverter.convert(historicTasks);
}