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); At runtime, this call results null: processInstance.getTaskMgmtInstance().getTaskInstances() Debuging the processInstance, I saw that the attribute 'definition' of ProcessDefinition is null. I'm think this is why the method never is called, but I don't know how to solve this problem.... Thanks Marco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953844#3953844 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953844 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user