cancel
Showing results for 
Search instead for 
Did you mean: 

can i get the task completer?

whdwsl
Champ in-the-making
Champ in-the-making
how can i get the completer of a usertask? does the engine support this?
5 REPLIES 5

whdwsl
Champ in-the-making
Champ in-the-making
i mean, i want to know who finish the task. i check the db and found no field to record this. the only way i can find is variable, is there a better way ?

trademak
Star Contributor
Star Contributor
Hi,

The HistoriceTaskInstance has an assignee, which should be the same as the person that completed the task.

Best regards,

whdwsl
Champ in-the-making
Champ in-the-making
Hi,

The HistoriceTaskInstance has an assignee, which should be the same as the person that completed the task.

Best regards,

i see, thank you, so there is one thing to be careful: when a task has more than one executors ,  execute claim()  first

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Correct, and also check if the 'claimee' is allowed to claim the task…

whdwsl
Champ in-the-making
Champ in-the-making
Correct, and also check if the 'claimee' is allowed to claim the task…

hi, Ronald

Is "check if the 'claimee' is allowed to claim the task"  necessary?   if it is ,i think , the check up is not enough.  there is an other to be checked :  if a task has been claimed, before completing this task  make sure 'claimee' is  the same  as  the claimer.


i think the activiti engine should do sth like check up……