Upd.: I use jbpm from jbpm-starters-kit-3.1.3
you forget to save the context
It doesn't help.
If i add
before "marker 1" i get same result. Or should i save a context in another way?
Seems that i've found a reason, even if it was not so easy. I used different name and mapped name values for variables, so the default task controller after a task ending restored values of variables in context from taskInstance but as names of source variable it got mappedName.