I am using jBPM 5.3.0, but i have a problem when i try to implement LocalTaskService for Human Task.
I try this code:
org.jbpm.task.service.TaskService taskService = new org.jbpm.task.service.TaskService(getEntityManagerFactory(), SystemEventListenerFactory.getSystemEventListener());
SyncWSHumanTaskHandler syncWSHumanTaskHandler = new SyncWSHumanTaskHandler();
syncWSHumanTaskHandler.setLocal(true);
TaskService localTaskService = new LocalTaskService(taskService);
syncWSHumanTaskHandler.setClient(localTaskService);
getKnowledgeSession().getWorkItemManager().registerWorkItemHandler("Human Task", syncWSHumanTaskHandler);
But it seems that the SyncWSHumanTaskHandler is deprecated.
So i would like to know if someone implement it in the last release of jBPM and have some samples.
Thank you,