Hi, I am getting the following error when testing a simple process with a custom assignment handler attached to a task...
Error completing task: An exception of type "org.jbpm.graph.def.DelegationException" was thrown. I compiled my handler, and put it under WEB-INF/classes in my web app. The node in question is... | <task-node name="decision chose red light"> | <task name="decision made red"> | <assignment class="DatacentreAssignmentHandler"></assignment> | </task> | <transition to="end decision"></transition> | </task-node> | and the body of my 'assign' method is... | ContextInstance contextInstance = executionContext.getContextInstance(); | | if (contextInstance.getVariable("colour").equals("green")) { | assignable.setActorId("ross"); | } else { | assignable.setActorId("user"); | } | what might be causing this? Thanks for your help in advance, regards Ross View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074473#4074473 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074473 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user