Yes, I agree, we have to use two approaches. One for assigning future tasks
and one for re-assigning existing tasks.

For reassigning existing tasks, we can use
   1) REST API- I think this will be easier if we have the necessary
endpoints
   2) onMessage

For new tasks, we can use
   1) Cheeking the available user using service task and set that as the
candidate user

Note that we will have to revert it back when the user is available again.
This complicates the solution since we have to remember it all.
On the other hand, if we use something like a temporary role we don't have
to remember it. We can just put the user back in that role.

-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : [email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to