As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hi,
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.
Thanks
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)