I have a sub process wich has 3 end event.
I set the same variable on this end events like the above
then on the execute method, I tried to get the value
String status = (String) execution.getVariableLocal("leaveStatus");
But this doesn’t work. I got null as a value