Look at the HumanTaskExample example in jbpm-examples module : https://github.com/droolsjbpm/jbpm/blob/master/jbpm-examples/src/main/java/org/jbpm/examples/humantask/HumanTaskExample.java.
Reply to this message by going to Community
Start a new discussion in jBPM at Community