jBPM - Can we fetch process variables in task Listeners?

668 Views Asked by At

I have written a custom Task Event listener. In that on the After task added event I am changing some process variables.

How can i fetch process variables in Task event listeners ?

Any help is aprreciated.

1

There are 1 best solutions below

0
On

Please consider passing the process variable as task variable through mapping so that process variable is available in the task context. Use the task variable mapped with the process variable inside task listener