cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing current user

gant
Champ in-the-making
Champ in-the-making
Hi,

I'd like to show the current user (the user that started the process instance) on my startForm, e.g. in the vacation request example, i d like to have the users name as the default value in the employeeName field). How could I do this?

Looking forward, the next step would be to have a list of all users on my form (best would be as a dropdown-list, but I think this is not possible with the actual form-renderer?). I need this list, because I want the user give the possibility to select the assignee for the next human task in the process. Any ideas?

Thx.
gant
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
For capturing the initiator of the process: see http://activiti.org/userguide/index.html#bpmnStartEvents

gant
Champ in-the-making
Champ in-the-making
Thx for your reply, I read this just after posting…

Do you have any suggestions on how to bring a list of users to the frontend (activiti-forms)? Are there possibilities to do this with javascript? Are there plans to support lists in activiti-forms in the future?

regards

tombaeyens
Champ in-the-making
Champ in-the-making
There is a jira somewhere for creating a user picker as input for a form property.