Here is an example based on this discussion:
http://community.jboss.org/people/bpmn2user/blog/2011/03/25/jbpm5--persistence-hello-process-example
Reply to this message by going to Community
Start a new discussion in jBPM at Community