Community

Query task with variables

reply from Maciej Swiderski in jBPM - View the full discussion

Thomas Victor wrote:

 

? Right now I extracted the hbpm.jar, then modified the bpm.tx.jta.cfg.xml then jarred it back. Is there any way to add the configuration on the jbpm.cfg.xml. I mean any way to leave the jar file as it is and do configurations out side?

Sure, you can supply your configuration prior to building your process engine.

 

Configuration configuration = new Configurtion();
configuration.setFile("path to your custom config");
ProcessEngine processEngine = configuration.buildProcessEngine();

 

setFile is only of of the available options, you can use class path resource, input stream, etc. Please refer to JavaDocs for more details.

 

HTH

Maciej

Reply to this message by going to Community

Start a new discussion in jBPM at Community