would be good if you could provide your process definition and the code you use to work on this. That way we might support you. In general ActorId is not process variable by default but only user task parameter (can be seen as task variable).
Hi Maciej ,
i paste a simple process here , and steps are as follows:
step1: define a process variable "pv_actor" ;
step2 : in the human task , set the output: ActorId as a output param
step3: mapping the ActorId to the process variable "pv_actor" ;
step4: in the script task: set : System.out.println("process variable :" + pv_actor);
What i tried this because we used it in jbpm5.4 and it worked well , and now also it's mentioned in the v6.1 guide : Chapter 6. Processes
Result mapping: Allows copying the value of result parameters of the human task to a process variable. Upon completion of the human task, the values will be copied. A human task has a result variable "Result" that contains the data returned by the human actor. The variable "ActorId" contains the id of the actor that actually executed the task.
Hope it make sense .
if that was how it worked in previous version feel free to drop jira for it and we fix it.