# How can I get the process instance in flowable-modeler

**URL:** <https://forum.flowable.org/t/how-can-i-get-the-process-instance-in-flowable-modeler/6332>\
**Category:** Flowable Engine\
**Created:** [July 6, 2020, 3:47pm UTC](https://forum.flowable.org/t/how-can-i-get-the-process-instance-in-flowable-modeler/6332 "2020-07-06T15:47:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aicha](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@Aicha](https://forum.flowable.org/u/Aicha)\
**Post date:** [July 6, 2020, 3:47pm UTC](https://forum.flowable.org/t/how-can-i-get-the-process-instance-in-flowable-modeler/6332/1 "2020-07-06T15:47:45Z")

</div>

Hello,  
How can I get the process instance id in flowable-modeler variable ?

Best regards,

---

<div class="post-metadata">

**Author:** ![martin.grofcik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/martin.grofcik/32/71_2.png) [@martin.grofcik](https://forum.flowable.org/u/martin.grofcik)\
**Post date:** [July 8, 2020, 1:58pm UTC](https://forum.flowable.org/t/how-can-i-get-the-process-instance-in-flowable-modeler/6332/2 "2020-07-08T13:58:54Z")

</div>

Hi Aicha,

I do not understand the question, but what you could do you can use ${execution.getProcessInstanceId()} in expressions and execution.getProcessInstanceId() in the scripts

Regards  
Martin
