3 Replies Latest reply on Nov 20, 2011 4:25 AM by salaboy21

    Human Task Assignment handler

    mzaiady

      Hi...

      I'm evaluating  JBPM 5 , to be used with human task Management., we have some complex task assignment requirement, like assign task based on work load or use Round Robin, escalate tasks, assign task for review only, ....

       

      How i can a accomplish such requirements, Is there is any way to implement a task Assignment handler in JBPM5??

       

      I did think of overwriting the WSHumanTaskHandler, but i will have to re-code the most of it, plus the new one will be applied on all tasks in the process.

       

      Also how i can send ActorId and  GroupId as a variable from the previous activity?

       

      Any Ideas???

       

       


       


        • 1. Re: Human Task Assignment handler
          salaboy21

          In jBPM5 you don't have the concept of Assignment Handler to attach to the tasks. The human task component is complety desattached from the process engine, allowing you to plug your own module if it's needed. The provided human task component supports the WS-HT specification, you should look at that spec to see how to implement your use case.

          Cheers

          1 of 1 people found this helpful
          • 2. Re: Human Task Assignment handler
            mzaiady

            This was helpful,

             

            But, what about passing Group ID/Actor Id as variables from previous activity.

             

            Assuming that, I will have a Domain Specific Service that will perform some business rules, (Check If task is required or not, if required which group should be assigned to), such activity should return GroupId as result (inside content), How I  can pass such variable to be the Group Id, which is one of the HumanTask parameters.

            • 3. Re: Human Task Assignment handler
              salaboy21

              This is the good thing of having jBPM5 integrated with Drools. You can create rules to define your business logic, so for example you can write rules that interacts with the Human Task Component to create dynamic tasks, escalate tasks, reasign tasks, etc.

              You can take a look at this example that shows how an application that is not using a business process can use the Human Task Component.

              https://github.com/Salaboy/Drools_jBPM5-Training-Examples/tree/master/jbpm5/06-jBPM5-HumanTasksAndRulesExample

              Cheers

              1 of 1 people found this helpful