take a look at *WSWorkItemHandler implementations, when they execute addTask on task client it is possible to give a TaskAddedResponseHandler so you'll be notified when task is created and you'll get is id, next you could try to find a way to resolve its group membership and assign the task to the user.
HTH