Aayush Agarwal [https://community.jboss.org/people/rekhyt73] created the discussion
"Human task in jbpm 5.4" To view the discussion, visit: https://community.jboss.org/message/827739#827739 -------------------------------------------------------------- Hi all, My bpmn2 process has only a single user task. It executes all right in the web designer. But when I run it in eclipse, it says "Could not find work item handler for Human Task". My ProcessMain code had only the boilerplate stuff until now. So I copy-pasted this part from the evaluation example: HornetQHTWorkItemHandler humanTaskHandler = new HornetQHTWorkItemHandler(ksession); humanTaskHandler.setIpAddress("127.0.0.1"); humanTaskHandler.setPort(5153); ksession.getWorkItemManager().registerWorkItemHandler("Human Task", humanTaskHandler); But I now get the following error. Exception in thread "Thread-4" java.lang.RuntimeException: Timeout : unable to retrieve Task .... .... .... I would be grateful to anyone who could tell me what more code should I add to get human tasks working in eclipse. Thanks. PS. I am using jBPM 5.4 and ksession.getWorkItemManager().registerWorkItemHandler("Human Task", new WSHumanTaskHandler()); wouldnt work as it is deprecated. -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/827739#827739] 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 jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user