# How to obtain, which  variables (and forms) are defined in a process?

**URL:** <https://community.ofelia.com/t/how-to-obtain-which-variables-and-forms-are-defined-in-a-process/8669>\
**Category:** Q&A\
**Created:** [2 August 2017 17:34 UTC](https://community.ofelia.com/t/how-to-obtain-which-variables-and-forms-are-defined-in-a-process/8669 "2017-08-02T17:34:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![david-kutt](https://avatars.discourse-cdn.com/v4/letter/d/a9adbd/32.png) [@david-kutt](https://community.ofelia.com/u/david-kutt)\
**Post date:** [2 August 2017 17:34 UTC](https://community.ofelia.com/t/how-to-obtain-which-variables-and-forms-are-defined-in-a-process/8669/1 "2017-08-02T17:34:06Z")

</div>

I have set up a Java application, which receives Data from a process Bonita BPM (Instances, Users, Tasks etc.).  
I would like to receive which variables are created in the process (business/ process/ taskvar.). This means I want to know which variables there are and where they are used (eg. in which form/ in which gateway).

Has anyone an idea how I could accomplish this? Either in Rest or in Java.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)\
**Post date:** [5 August 2017 00:10 UTC](https://community.ofelia.com/t/how-to-obtain-which-variables-and-forms-are-defined-in-a-process/8669/2 "2017-08-05T00:10:53Z")

</div>

See here:

[http://community.ofelia.com/questions-and-answers/how-generate-process-documentation#node-26340](http://community.ofelia.com/questions-and-answers/how-generate-process-documentation#node-26340)

It will guide you to do what you want.

regards  
Seán

_PS: As this reply answers your question, please mark as resolved._
