cancel
Showing results for 
Search instead for 
Did you mean: 

How to set a variable assignee for a user task

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

I'm creating a simple leave request workflow using activiti community 6.0. The user is supposed to fill in the vacation details (form below) and select the person who's supposed to be is manager. 

Now in the workflow, i want to set the assignee for the user task to be the person selected in the form above. I'm setting Assignee to be fixed value ${manager} (manager being the id of my variable) but it's not working. Can anyone help pz. 

Thank you.

1 ACCEPTED ANSWER

amruta_w
Star Collaborator
Star Collaborator

Sorry I gave solution for enterprise version. You can study this link which will achieve your use case Activiti User Guide 

View answer in original post

4 REPLIES 4

arge
Champ in-the-making
Champ in-the-making

Check your BPMN file of this process,If there is a manager . it's lost maybe

this is my bpmn and the config

amruta_w
Star Collaborator
Star Collaborator

Hi,

Hope this helps you.

Regards

Amruta Wandakar

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

Dear Amruta,

I can't see the option "Source", is there any step that needs to be done before so it shows up? i'm using activiti 6.0. I have created form fields and i have associated a form with the user task. Here's what i get:  

Your help would be greatly appreciated. 

Thanks! 

amruta_w
Star Collaborator
Star Collaborator

Sorry I gave solution for enterprise version. You can study this link which will achieve your use case Activiti User Guide