This problem occurs when a service task just follows the start event of the process definition.
See the Activiti thread to get more information: http://forums.activiti.org/comment/29475.
So, a workaround to this problem is to force the use of activiti:async="true" of the service task. We are thinking that is not the right way to solve the problem because the process definition has not to be fixed for a technical problem. We are thinking that the variables should be added to the fired event on the Activiti engine side.
This problem occurs when a service task just follows the start event of the process definition.
See the Activiti thread to get more information: http://forums.activiti.org/comment/29475.
So, a workaround to this problem is to force the use of activiti:async="true" of the service task. We are thinking that is not the right way to solve the problem because the process definition has not to be fixed for a technical problem. We are thinking that the variables should be added to the fired event on the Activiti engine side.