AnsweredAssumed Answered

Task query does not include all variables

Question asked by buksvdl on Aug 2, 2017

Activiti Spring Boot 156 - Task.xml - 

selectTaskWithVariablesByQueryCriteriaSql

 

<if test="includeProcessVariables">
  left outer join ${prefix}ACT_RU_VARIABLE VAR ON RES.PROC_INST_ID_ = VAR.EXECUTION_ID_ and VAR.TASK_ID_ is null
</if>

Why is RES.PROC_INST_ID_ compared to VAR.EXECUTION_ID_? Surely it should read VAR.PROC_INST_ID?

Outcomes