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??