How to dynamically assign task to a given group

Hi All,

Use case.
Step 1. I have created three different groups grp1(user 1,user 2) ,grp2(user 21,user 22),grp3(user 31,user 32).
Step 2. Now I have created a task say “task 1” and its is assigned to a user of grp1 say “user 1”.
Step 3. Now if the “task 1” is not completed within given time it needs to be escalated to grp2 or grp3.
Step 4. To achieve step 3, I have added interrupting timer to “task 1” and from timer I have added task in the next lane say “lane1”
Step 5. In lane1 I have defined a actor and added grp2 and grp3 to that actor.
Step 6. Now the problem is, on lane1 I want to assign the task to either grp1 or grp2.
So how can we dynamically assign the task to a given group ?
On actor filter I have seen provision to add single user, task performer and user manager.
But I don’t see any option to assign dynamic group , so can you please me with this problem ?

Thanks in advance
Akhilesh

Hi Akhilesh,

You will need to create your own actor filter, other than the provided ones. You have all documentation for this dynamic actor creation here :
http://documentation.bonitasoft.com/creating-actor-filter

By the way, you can also use existing actor filter source codes to help you implement your own actor filters.

BRs,
LL

Thanks for your response.

Hi,
I am using Bonita 6.2 .
Under Development → Actor Filter -Edit Implementation I can only see actorContinuity-impl. And when I clicked on edit to open the implementation it shows unimplemented file.
I don’t see any other Actor filter implementation.
So can you please share some code which can give me idea how to implement it ?

Thanks in advance
Akhilesh

Hello,

You have a code exemple in the documentation for the initiator manager :
http://documentation.bonitasoft.com/creating-actor-filter

And the other source codes can be found on github :
https://github.com/bonitasoft/bonita-userfilters

Regards,
LL

Once again thanks for your quick response.