cancel
Showing results for 
Search instead for 
Did you mean: 

assignment

fbaldo
Champ in-the-making
Champ in-the-making
Hi,
I'm a Activiti new user, and this is my first post!

I'd to know how i do assignment the a task for the same user that concluded the previous task.

For example: Task 1 was completed by the Kermit , and I'd like that the Task 2 will attributed for the Kermit too.

Tanks!
4 REPLIES 4

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

Store previous task assignee in the process variable. Use this variable in the expression to assign Task 2.

Regards
Martin

fbaldo
Champ in-the-making
Champ in-the-making
Tanks! It worked!

There is a documentation about the variables existing? For example ${initiator} and ${authenticatedUserId} ?

martin_grofcik
Confirmed Champ
Confirmed Champ

edagher
Champ on-the-rise
Champ on-the-rise

I'm trying to do smthg similar, setting the assignee of a user task to be a variable selected in the form. 

I'm doing it by setting assignee  to ${manager} (the id of my variable) but that's not working. My variable manager is a People select item.  Can you please explain further where to put the variable.