0 Replies Latest reply on Feb 19, 2016 10:46 AM by salvuzzo

    Custom Task or Manual Task

    salvuzzo Novice


      Capture.JPGHello, i have a question. it's possible have more custom task or manual tasks? I have this bpmn2:

      In my kmodule.xml i have:

       

      <ksession
      name="defaultKieSession"
      type="stateful"
      default="true"
      clockType="realtime"
      beliefSystem="simple"
      scope="javax.enterprise.context.ApplicationScoped">

       

      <workItemHandlers>
      <workItemHandler name="Manual Task" type="new test.ItemHandler()" />
      <workItemHandler name="Manual Task2" type="new test.ItemHandler2()" />
      </workItemHandlers>

       

      </ksession>

       

      But when the workflow arrives in manual task 2, i get this error:  Could not find work item handler for Manual Task.

      does anyone know how to do? Thanks