Both is possible, see http://docs.jboss.org/jbpm/v5.1/userguide/ch05.html#d0e1768
Reply to this message by going to Community
Start a new discussion in jBPM at Community