I'm using JPBM to design a process flow, with BPMN2. I want to instantiate a class object in a Script Task, for example:
Map<String, Object> params = new HashMap<String, Object>();
Person p = new Person("moi");
params.put("person", p);
ksession.startProcess("com.sample.bpmn.hello", params);
When I go into BPMN and create the process variable, so I can access it inside the script task, I get the following error: "Person cannot be resolved to a type"
How can I access that object through BPMN then? Thanks in advance