AnsweredAssumed Answered

Form properties vs variables activiti 5.18

Question asked by ilansch on Feb 14, 2016
Latest reply on Feb 15, 2016 by ilansch
Hi all,
I want to get historic data of finished processes.
I have edited acitiviti-custom-content.xml in both webapps (activiti-rest,activiti-explorer) with new property:
<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
<property name="history" value="audit" />
I am working with MS-SQL database (set

I created the model via activiti-explorer, so the variables are defined as Form-properties.
To complete a task, I use rest api, send parameter Variables in the HTTP Content, After i completed the task:
I run Get request:
http://localhost:1248/activiti-rest/service/history/historic-variable-instances -> returns the variables
http://localhost:1248/activiti-rest/service/history/historic-task-instances - show finished tasks but variable list is empty
http://localhost:1248/activiti-rest/service/history/historic-process-instances - show finished process but variable list is empty

What am i doing wrong ? Why i dont see the variables in task-instances get historic
Should we define the form-properties as variables ? When i create the form property i also enter a variable as the form propery id:
<userTask id="Mission1" name="Mission1" activiti:assignee="kermit">
<activiti:formProperty id="FP2" name="FP2" type="string" variable="FP2" required="true"/>
I have read in the API that i need to add includeProcessVariables or includeTaskLocalVariables –> 15.8.12. Get historic task instances
GET history/historic-task-instances. But when i run
I also dont get variables.