1 Reply Latest reply on Jan 21, 2011 2:08 AM by leod38

    JBPM 3 - It is possible to define many users for a task ?

    leod38

      Hi all,

       

      it is very important for me to get your assistance.

       

      I want to know if it's possible to assign two or more users to a task ?

           for example : titi or toto approval task2

       

      If it's possible , how to do this ?

      I want a complete example because I have reading lot of topic and they are never full

      in processDefinition , in java part , in DB part , in jsp part.

       

      for me only this work fine :

       

           <task-node name="step2">
              <task name="step2">
                  <assignment actor-id="toto" />
              </task>
              <transition name="toStep3" to="step3" />
              <transition name="cancel" to="error" />
          </task-node>
      

       

      or

       

           <task-node name="step2">
              <task name="step2">
                  <assignment class="com.test.CRWAssignmentHandler" />
              </task>
              <transition name="toStep3" to="step3" />
              <transition name="cancel" to="error" />
          </task-node>
      

       

      with CRWAssignmentHandler :

       

      public class CrwAssignmentHandler implements AssignmentHandler{
      
          private static final long serialVersionUID = -1101067351863423573L;
      
          public void assign(Assignable assignable, ExecutionContext executionContext) throws Exception {
              assignable.setActorId("toto");
          }
      }
      

       

      I tryed to use swimlane , assignment pooledActors , etc ... none works correctly.

       

      Please help me , is for my job !

       

      Thanks in advance for your replies and sorry for my bad english

       

      regards,

       

      Leod

        • 1. JBPM 3 - It is possible to define many users for a task ?
          leod38

          Why nobody answered my questions on this forum.

          All my topics are let without reply.

           

          Please I'm a beginner and I need help.

          I don't understand how to use JBPM correctly.

           

          For me , with time , I think that is not a good api.

          No community , Many bugs and Not real added value .

           

          I hope you'll prove me wrong