cancel
Showing results for 
Search instead for 
Did you mean: 

Set Task owner while starting the process

sarkar92
Champ in-the-making
Champ in-the-making
i am using REST API to start my process in activiti.
in my process there is "User Task" also.

My question is how can we set the process "starter" as the "User Task" Owner automatically from my process.

thanks
4 REPLIES 4

trademak
Star Contributor
Star Contributor
You can define an initiator variable in the start event and use that variable for the assignee expression of the user task.

Best regards,

sarkar92
Champ in-the-making
Champ in-the-making
i think you got me wrong…

I try to set owner of user task not assignee…..

sarkar92
Champ in-the-making
Champ in-the-making
anyway i got the solution…

thanks

trademak
Star Contributor
Star Contributor
You can set the task owner directly on the userTask definition using the activitiSmiley Surprisedwner attribute, since version 5.14.

Best regards,