JBoss Community

Re: Deploying a custom workitemhandler into demo

created by Timothy Charman in jBPM - View the full discussion

Hi Dan

 

You could try using a drools.session.conf file, in which you put something like this:

drools.workItemHandlers = CustomWorkItemHandlers.conf

 

Then in CustomWorkItemHandlers.conf you put in entries:

[

          "Task1": new com.xyz.TaskHandler1(),

          "Task2": new com.xyz.TaskHandler2()

]

 

jBPM picks up these definitions and adds them itself without having to do so programatically.

Reply to this message by going to Community

Start a new discussion in jBPM at Community