Maciej found the remaining problem :)
The variable for the WorkflowProcessInstance MUST be named "processInstance". Otherwise there will be not the expected behaviour.
I created an issue for it: https://issues.jboss.org/browse/JBPM-3626
Reply to this message by going to Community
Start a new discussion in jBPM at Community