AnsweredAssumed Answered

assignee versus owner

Question asked by dirko on Jan 10, 2013
Latest reply on Jan 11, 2013 by afaust
Dear List,

I use the following java code to list the properties of the active tasks:

WorkflowTaskQuery wftq = new WorkflowTaskQuery();
wftq.setTaskState(WorkflowTaskState.IN_PROGRESS);

List<WorkflowTask> workflowTaskList = workflowService.queryTasks(wftq,true);

for (WorkflowTask wft : workflowTaskList) {
  Map<QName, Serializable> map = wft.getProperties();
  for (QName qName : map.keySet()) {
      logger.debug("Task Property: " + qName.toString() + ":"+ map.get(qName));
  }
}

In the result (see below) I don't see the  {http://www.alfresco.org/model/bpm/1.0}assignee property, but i do see {http://www.alfresco.org/model/content/1.0}owner. Why is there no assignee? Is assignee stored in owner?

cheers,
dirk

14:12:04,089 DEBUG
[be.aquafin.edm.workflow.ListAbandonedWorkflowsWebScript] Task
Property: {http://www.alfresco.org/model/bpm/1.0}description:Commentaar
reviseren
14:12:04,089 DEBUG
[be.aquafin.edm.workflow.ListAbandonedWorkflowsWebScript] Task
Property: {http://www.alfresco.org/model/bpm/1.0}percentComplete:0
14:12:04,104 DEBUG
[be.aquafin.edm.workflow.ListAbandonedWorkflowsWebScript] Task
Property: {http://www.alfresco.org/model/bpm/1.0}completionDate:null
14:12:04,104 DEBUG
[be.aquafin.edm.workflow.ListAbandonedWorkflowsWebScript] Task
Property: {http://www.alfresco.org/model/bpm/1.0}pooledActors:[]
14:12:04,104 DEBUG
[be.aquafin.edm.workflow.ListAbandonedWorkflowsWebScript] Task
Property: {http://www.alfresco.org/model/bpm/1.0}taskId:845
14:12:04,104 DEBUG
[be.aquafin.edm.workflow.ListAbandonedWorkflowsWebScript] Task
Property: {http://www.alfresco.org/model/bpm/1.0}priority:2
14:12:04,104 DEBUG
[be.aquafin.edm.workflow.ListAbandonedWorkflowsWebScript] Task
Property: {http://www.alfresco.org/model/content/1.0}owner:USER2191
14:12:04,104 DEBUG
[be.aquafin.edm.workflow.ListAbandonedWorkflowsWebScript] Task
Property: {http://www.alfresco.org/model/bpm/1.0}status:Not Yet
Started
14:12:04,104 DEBUG
[be.aquafin.edm.workflow.ListAbandonedWorkflowsWebScript] Task
Property: {http://www.alfresco.org/model/bpm/1.0}dueDate:null
14:12:04,104 DEBUG
[be.aquafin.edm.workflow.ListAbandonedWorkflowsWebScript] Task
Property: {http://www.aquafin.be/edm/model/workflow/1.0}commentaar:test
upgrade 4.1
14:12:04,104 DEBUG
[be.aquafin.edm.workflow.ListAbandonedWorkflowsWebScript] Task
Property: {http://www.alfresco.org/model/bpm/1.0}startDate:Tue Nov 27
15:31:36 CET 2012
14:12:04,104 DEBUG
[be.aquafin.edm.workflow.ListAbandonedWorkflowsWebScript] Task
Property: {http://www.alfresco.org/model/bpm/1.0}reassignable:false
14:12:04,104 DEBUG
[be.aquafin.edm.workflow.ListAbandonedWorkflowsWebScript] Task
Property: {http://www.alfresco.org/model/bpm/1.0}package:workspace://SpacesStore/01e6102f-7345-411d-8df8-7162b71f827a
14:12:04,104 DEBUG
[be.aquafin.edm.workflow.ListAbandonedWorkflowsWebScript] Task
Property: {http://www.alfresco.org/model/bpm/1.0}hiddenTransitions:
14:12:04,104 DEBUG
[be.aquafin.edm.workflow.ListAbandonedWorkflowsWebScript] Task
Property: {http://www.alfresco.org/model/content/1.0}created:Tue Nov
27 15:31:36 CET 2012
14:12:04,120 DEBUG
[be.aquafin.edm.workflow.ListAbandonedWorkflowsWebScript] Task
Property: {http://www.alfresco.org/model/bpm/1.0}packageActionGroup:
14:12:04,120 DEBUG
[be.aquafin.edm.workflow.ListAbandonedWorkflowsWebScript] Task
Property: {http://www.alfresco.org/model/bpm/1.0}packageItemActionGroup:read_package_item_actions

Outcomes