-
1. Re: Human Task Assignment handler
salaboy21 Nov 20, 2011 3:51 AM (in response to mzaiady)1 of 1 people found this helpfulIn 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
-
2. Re: Human Task Assignment handler
mzaiady Nov 20, 2011 4:20 AM (in response to salaboy21)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 Nov 20, 2011 4:25 AM (in response to mzaiady)1 of 1 people found this helpfulThis 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.
Cheers