AnsweredAssumed Answered

Questions regarding HistoricTaskInstanceQuery

Question asked by d.y. on Nov 18, 2011
Latest reply on Nov 21, 2011 by trademak
Hey guys,

this is what i want to do:

I want to retrieve a list of all current tasks of all processInstances of a certain processDefinition.

This is how I think i have to do it:


Is this right?

I'm also not quite sure about these methods:

HistoricTaskInstanceQuery processInstanceId(String processInstanceId); = ?

HistoricTaskInstanceQuery processDefinitionId(String processDefinitionId); = id in the xml file?

HistoricTaskInstanceQuery processDefinitionKey(String processDefinitionKey); = the file name?
HistoricTaskInstanceQuery processDefinitionName(String processDefinitionName); = the name in the xml file?