0 Replies Latest reply on Jul 29, 2008 9:49 PM by Mike Kuul

    Using Drools I got this El-Exception: org.jbpm.graph.def.DelegationException

    Mike Kuul Newbie

      Hi all!

      I started to use drools in my processes and have this task in my processdefinition:

      <task-node name="TaskXYZ">
         <task name="TaskXYZ">
           <assignment handler="org.jboss.seam.drools.DroolsAssignmentHandler">
         <transition to="Task2" name="toTask2"></transition>

      And additionaly I created my rule:
      package com.mike.xyz.bpm
      import org.jbpm.taskmgmt.exe.Assignable
      global Assignable assignable
      global Actor actor
      rule "assignment"
          Actor( actor-id == "mike" )
          assignable.setActorId( "mike" );

      When I execute my process I get this error:
      javax.el.ELException: org.jbpm.graph.def.DelegationException
           at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:333)

      but I cannot see what I've done wrong.
      My rule files are in the EarContent/rules directory. And my components.xml has this entry:
      <drools:rule-base name="assignment">

      Please, give me some hints.
      Many thanks.