JBoss Community

Re: Using TaskService directly vs Task Server/TaskClient architecture

created by wqe wqe in jBPM - View the full discussion

Hi Mauricio Salatino ,

 

Thanks for the reply!

 

When using the the human task  , we have to register the work item handler for  human task before starting the process :

 

 

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

 

As far as I understand , the executeWorkItem() in hornetQHTWorkItemHandler will connect to the taskServer and insert the related records to the Task database. So  . What is the work item handler for the human task if I  I use the TaskService directly in my application without any TaskServer involved??

Reply to this message by going to Community

Start a new discussion in jBPM at Community