JBoss Community

Re: Could not find work item handler

created by roxy1987 in jBPM - View the full discussion

You need to add a work item handler for the task.

 

eg. if it is a human task, WorkItemHandler is added like this :

ksession.getWorkItemManager().registerWorkItemHandler("Human Task", new WSHumanTaskHandler());

 

if it is mail node, then WorkItemHandler is defined like this :

ksession.getWorkItemManager().registerWorkItemHandler("Email", new SystemOutWorkItemHandler());

 

regards.

Reply to this message by going to Community

Start a new discussion in jBPM at Community