cancel
Showing results for 
Search instead for 
Did you mean: 

No task id in act_hi_varinst

jwistrom
Champ in-the-making
Champ in-the-making
Hi
When I complete a task with a set of variables they are not depicted in the table act_hi_varinst, why?
The "task_id_" column in act_hi_varinst_ is empty on all completed tasks.
I want to be able to render historic data of my completed tasks and hence also the corresponding variables.

Rgds
Johan

3 REPLIES 3

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Johan,

Did you set proper history level?
http://activiti.org/userguide/index.html#historyConfiguration

Regards
Martin

Hi
I have history level set to full like this

<code>
<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
      <property name="dataSource" ref="activitiDataSource"/>
      <property name="transactionManager" ref="transactionManager"/>
      <property name="databaseSchemaUpdate" value="true"/>
      <property name="jobExecutorActivate" value="true"/>
      <!– property name="deploymentResources" value="classpath*:bpmn/*.bpmn20.xml" / –>
      <property name="identityService" ref="identityService"/>
      <property name="history" value="full"/>
</code>

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Johan,

can you prepare jUnit test?
http://forums.activiti.org/content/sticky-how-write-unit-test

Regards
Martin