AnsweredAssumed Answered

HistoricVariableInstanceQuery - taskId method

Question asked by lixkid on Jun 11, 2013
Latest reply on Jun 20, 2013 by lixkid
Hi,

I'm trying to get all HistoricVariableInstances for particular taskId by using taskId(String taskId) method from HistoricVariableInstanceQuery class, but instead of getting just those HistoricVariableInstances whose id is equal to taskId parameter of taskId method, this method returns HistoricVariableInstances for every process variable that exists in ACT_HI_VARINST table.

Is this expected behaviour of HistoricVariableInstanceQuery.taskId method (it certainly is not based on short description in documentation), or am I possibly doing something wrong in the way the method is called, or the way process variables are represented in ACT_HI_VARINST table?

Outcomes