Hi!
I created the BPMN file. The first item is human task. I set on the human task actorId Phil,Joe. My process needs to start with parameters of requestData.
I started the process like this:
// 2. get the session to start a process.
ManagementBean managementBean = (OnMediaManagementBean) FacesContext.getCurrentInstance().getExternalContext().getApplicationMap().get("ManagementBean");
StatefulKnowledgeSession ksession = managementBean.getKsession();
// 3. Starting the process
Map<String, Object> parameters = new HashMap<String, Object>();
parameters.put("requestData", prgoramData);
ProcessInstance pI = ksession.startProcess("MyProcess", parameters);
Now, I expect the process to reach the human task and display my On Entry Actions.
Intead I get an exception "org.drools.WorkItemHandlerNotFoundException: Could not find work item handler for Human Task"
Do I need to start it somewhere?