SyncWSHumanTaskHandler syncWSHumanTaskHandler = new SyncWSHumanTaskHandler(localTaskService, ksession);
syncWSHumanTaskHandler.setLocal(true);
ksession.getWorkItemManager().registerWorkItemHandler("Human Task", syncWSHumanTaskHandler);
This is what I did. Am I missing something?