I am using activiti in my spring web application. In act_hi_varinst table task_id_ saving as null. So, when i retrieve the data by task id it gives empty. why task_id saving as null in act_hi_varinst?
Please help me out this issue.
Please anyone reply on this.
Because you set variable in global scope.
Variables have scope. Global, execution, task.
If you want to store variable in task local scope, you should specify task local scope.
Activiti User Guide
Specifically, please use the following API.
TaskService (Activiti - Engine 6.0.0 API)
Retrieving data ...