# Access to id, email and name properties of initiator process variable

**URL:** <https://forum.flowable.org/t/access-to-id-email-and-name-properties-of-initiator-process-variable/1999>\
**Category:** Flowable Engine\
**Created:** [May 9, 2018, 8:48am UTC](https://forum.flowable.org/t/access-to-id-email-and-name-properties-of-initiator-process-variable/1999 "2018-05-09T08:48:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bernt](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@Bernt](https://forum.flowable.org/u/Bernt)\
**Post date:** [May 9, 2018, 8:48am UTC](https://forum.flowable.org/t/access-to-id-email-and-name-properties-of-initiator-process-variable/1999/1 "2018-05-09T08:48:11Z")

</div>

Hi,

In Flowable IDM for each user there are specified user id, email, first name and last name.

In a process model I can pre-fill a from field with the full name of the initiator using groovy script like this:  
execution.setVariable(“someFormFieldId”, initiator);

This gives me the first name and last name pre-filled in my form.

Is there a way to similarly access the id, email, first name only and last name only?

There was a similar post some time ago that was not commented:

> [@Initiator process variable](https://forum.flowable.org/t/initiator-process-variable/826):
>
> Hi. Excuse me for stupid questions but I am new in Flowable. I have some experience with Alfresco Activiti and I cannot find answer. In Alfresco Activiti I can use variable initiator and it’s properties in listener using Alfresco execution script like this: execution.setVariable(‘userFullName’, initiator.properties.firstName +" " + initiator.properties.lastName); In Alfresco Activiti I can also use logger to write information into console logger.log("initiator email: " + initiator.proper…

Thanks,  
Bernt

---

<div class="post-metadata">

**Author:** ![edonick](https://avatars.discourse-cdn.com/v4/letter/e/2acd7d/32.png) [@edonick](https://forum.flowable.org/u/edonick)\
**Post date:** [January 28, 2020, 2:57pm UTC](https://forum.flowable.org/t/access-to-id-email-and-name-properties-of-initiator-process-variable/1999/2 "2020-01-28T14:57:24Z")

</div>

Hi Bernt,  
you can set variable right this way but in case of logging I don’t know answer.
