JBoss Community

adding a custom service to jbpm.cfg.xml

reply from HuiSheng Xu in jBPM - View the full discussion

Hi Macro,

 

If you want to use Session, Transaction which need open an Environment.  You could create a custom Command to achieve that.

 

processEngine.execute(new Command() {

    public Object execute(Environment env) {

        //

        return null;
    }

});

Reply to this message by going to Community

Start a new discussion in jBPM at Community