How to set a variable assignee for a user task

cancel
Showing results for 
Search instead for 
Did you mean: 
edagher
Active Member

How to set a variable assignee for a user task

Jump to solution

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 Solution

Accepted Solutions
amruta_w
Senior Member

Re: How to set a variable assignee for a user task

Jump to solution

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

View solution in original post

4 Replies
arge
Member II

Re: How to set a variable assignee for a user task

Jump to solution

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
Senior Member

Re: How to set a variable assignee for a user task

Jump to solution

Hi,

Hope this helps you.

Regards

Amruta Wandakar

edagher
Active Member

Re: How to set a variable assignee for a user task

Jump to solution

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
Senior Member

Re: How to set a variable assignee for a user task

Jump to solution

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