I meet a question. i want to redirect the current workitem to another user with "workitem.Redirct(user)".
But after doing that i found the workitem redirected justnow still in my worklist ,and it also appeared at another user's list.
in this time, when i link the workitem, it will show me "not found the workitem 0".
if the current destination type is "user" it wont happen,but "role".
i think if the destination type is "role",i need to remove the current user from the processinstance destination.then rederict.
but i dont know how to do this with the API.
Thank you for helps