JBoss Community

Re: Handle Human Task with custom HumanTaskHandler

created by Mauricio Salatino in jBPM - View the full discussion

I still don't understand why you want to execute a command on an HT but, if you want to achieve that you should do:

 

ksession.getWorkItemManager().registerWorkItemHandler("Human Task", handler);

 

That will print the string that you want.

 

Cheers

Reply to this message by going to Community

Start a new discussion in jBPM at Community