# Pass variable to formKey

**URL:** <https://forum.flowable.org/t/pass-variable-to-formkey/8029>\
**Category:** Flowable Engine\
**Created:** [June 22, 2021, 5:54am UTC](https://forum.flowable.org/t/pass-variable-to-formkey/8029 "2021-06-22T05:54:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cinil](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@cinil](https://forum.flowable.org/u/cinil)\
**Post date:** [June 22, 2021, 5:54am UTC](https://forum.flowable.org/t/pass-variable-to-formkey/8029/1 "2021-06-22T05:54:43Z")

</div>

Hello All,

I am stuck with below issue, could anyone please help? I am a beginner 🙂

I have a start event like this -

startEvent id=“startevent1” name=“Start” flowable:initiator=“startUserId” flowable:formKey=“modifyRequest.js”

extensionElements\>  
flowable:formProperty id=“Requester” name=“Requester” type=“string” value="${startUserId}" /\>

Now in the modifyRequest.js, I want to retrieve the value of startUserId but above line does not help.  
My basic intention is to get the userid of the user who logged in.

Thanks

---

<div class="post-metadata">

**Author:** ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)\
**Post date:** [August 11, 2021, 9:18am UTC](https://forum.flowable.org/t/pass-variable-to-formkey/8029/2 "2021-08-11T09:18:26Z")

</div>

Hey @cinil,

You can see some of the available [Expression](https://flowable.com/open-source/docs/bpmn/ch04-API/#expressions) for Flowable.

In order to get the currently authenticated user you can use `authenticatedUserId`.

Cheers,  
Filip
