JBoss Community

Re: Obtain a handle to ExecutionImpl from unit tests

created by Al Nadein in jBPM - View the full discussion

Michael,

 

Thanks a bunch!

 

My code almost worked as soon as I started doing

 engine.openEnvironment();

  :) It passed quite a few steps but failed in an event listener when i tried to get CommandService.

 

What finally made the trick was adding

 <task-service />
    <repository-service />
    <command-service />

to cfg file.

 

Again, thanks a bunch!

Reply to this message by going to Community

Start a new discussion in jBPM at Community