# Access Process Variable of Event subprocess in Camunda 8

**URL:** <https://forum.camunda.io/t/access-process-variable-of-event-subprocess-in-camunda-8/48280>\
**Category:** Camunda 8 Topics\
**Created:** [October 19, 2023, 7:12am UTC](https://forum.camunda.io/t/access-process-variable-of-event-subprocess-in-camunda-8/48280 "2023-10-19T07:12:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pratiksha1205](https://forum.camunda.io/letter_avatar_proxy/v4/letter/p/a8b319/32.png) [@Pratiksha1205](https://forum.camunda.io/u/Pratiksha1205)\
**Post date:** [October 19, 2023, 7:12am UTC](https://forum.camunda.io/t/access-process-variable-of-event-subprocess-in-camunda-8/48280/1 "2023-10-19T07:12:13Z")

</div>

I want to access process variable of Event Sub process  
How can it be done in Camunda 8

---

<div class="post-metadata">

**Author:** ![korthout](https://forum.camunda.io/user_avatar/forum.camunda.io/korthout/32/20119_2.png) [@korthout](https://forum.camunda.io/u/korthout)\
**Post date:** [November 3, 2023, 12:56pm UTC](https://forum.camunda.io/t/access-process-variable-of-event-subprocess-in-camunda-8/48280/2 "2023-11-03T12:56:16Z")

</div>

Hi @Pratiksha1205 👋

Did you already have a look at [the related documentation](https://docs.camunda.io/docs/next/components/modeler/bpmn/event-subprocesses/#variables)?

To help, you need to provide a bit more details about your scenario. Can you share what the model looks like? How are you triggering the event subprocess? Where exactly do you want to access the process variables? And what exactly do you want to achieve? Do the process variables already exist in the process instance, or are you passing them along with the trigger for the event sub-process?
