JBoss Community

Re: Extending standard components and overriding standard WorkItemHandlers?

created by Darryl Youngblood in jBPM - View the full discussion

Mauricio Salatino schrieb:

 

If you take a look at the official documentation you will find a section that is called Domain Specific Activities or something similar. That section explains how to create your own work item handlers. Because workItemHandlers are just classes that implements an interface you can extend them if you need that.

Once you get your handler implementation you can register it to the session using ksession.getWorkItemManager().registerWorkItemHandler("<id>", instance);

That's what i did so far but i wonder if I can register my custom handler to e.g. a Gateway.

Reply to this message by going to Community

Start a new discussion in jBPM at Community