cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning User Forms to the logged in user ?

cirerenat
Champ in-the-making
Champ in-the-making
I have a flow with a UserTask. I want to assign the Task to the user who started the process in the Activiti explorer. e.g. If kermit logged in, and started the process, I want the UserTask in the flow get assigned to kermit.

How can I do that ? What is the expression to use in the form Performer type.
2 REPLIES 2

trademak
Star Contributor
Star Contributor
Hi,

You first have to set the activiti:initiator attribute on the start event. There you can specify the process variable that will be set with the user who started the process instance as value.
Then you can point to this process variable in the user task expression.

Best regards,

cirerenat
Champ in-the-making
Champ in-the-making
Perfect. Thank you.