Hi,
I need to create process definitions 'on the fly', so I'm trying to use the Jbpm API to create a processDefinition object. All the things works, but I don't know why the AssignmentHandler doesn't work (the method assign never is called).
My code looks like this:
TaskNode taskNode = new TaskNode("taskNode");
Task task = new Task("taskteste");
Delegation delegation = new Delegation();
delegation.setClassName(Assign.class.getName());
task.setAssignmentDelegation(delegation);
taskNode.addTask(task);processInstance.getTaskMgmtInstance().getTaskInstances()
Please post a JUnit test demonstrating the behaviour.
Regards,
Koen