either use processInstance.setVariable or use data output mapping to set new values after activity is executed.
HTH
Reply to this message by going to Community
Start a new discussion in jBPM at Community