Hi! This piece of code have worked for me:
http://dcalca.files.wordpress.com/2011/05/output.png
How are you checking that they are not persisted?
Reply to this message by going to Community
Start a new discussion in jBPM at Community