hua zhong [https://community.jboss.org/people/ghuazh] created the discussion
"Re: Too many problems" To view the discussion, visit: https://community.jboss.org/message/740014#740014 -------------------------------------------------------------- I try to use LocalHumanTaskService, WorkHandler handler = new WorkHandler(ksession ,LocalHumanTaskService.getTaskService(ksession)); ksession.getWorkItemManager().registerWorkItemHandler("Human Task", handler); if (params.isEmpty()) { return ksession.startProcess(processId); } else { return ksession.startProcess(processId, params); } but I got new exception: Cannot find named query UnescalatedDeadlines... but in the Taskorm.xml, it has! I think the reason is that service needs use only one persistence-unit. After that, I combinated the human task persistence and processinstance. It solved. It is very strange! -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/740014#740014] Start a new discussion in jBPM at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
