# Limitations for adding the process variable in

**URL:** <https://forum.flowable.org/t/limitations-for-adding-the-process-variable-in/4543>\
**Category:** Flowable Engine\
**Created:** [September 19, 2019, 8:51am UTC](https://forum.flowable.org/t/limitations-for-adding-the-process-variable-in/4543 "2019-09-19T08:51:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tiru.sadul](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@tiru.sadul](https://forum.flowable.org/u/tiru.sadul)\
**Post date:** [September 19, 2019, 8:51am UTC](https://forum.flowable.org/t/limitations-for-adding-the-process-variable-in/4543/1 "2019-09-19T08:51:55Z")

</div>

Hi Flowable,

i just concern about maximum how many process variable can i add in a single process instance.

thanks in advance  
tiru

---

<div class="post-metadata">

**Author:** ![PHH](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/phh/32/94_2.png) [@PHH](https://forum.flowable.org/u/PHH)\
**Post date:** [September 19, 2019, 9:37am UTC](https://forum.flowable.org/t/limitations-for-adding-the-process-variable-in/4543/2 "2019-09-19T09:37:55Z")

</div>

Hi Tiru,

How many are you thinking of? You can see in the benchmarking blogs [here](https://blog.flowable.org/2018/03/13/async-history-performance-benchmark/) and [here](https://blog.flowable.org/2018/03/05/flowable-6-3-0-performance-benchmark/) (Benchmark Test 5) some comparisons.

Cheers, Paul.

---

<div class="post-metadata">

**Author:** ![tiru.sadul](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@tiru.sadul](https://forum.flowable.org/u/tiru.sadul)\
**Post date:** [September 19, 2019, 12:32pm UTC](https://forum.flowable.org/t/limitations-for-adding-the-process-variable-in/4543/3 "2019-09-19T12:32:48Z")

</div>

thanks for quick reply @PHH

approximately A 1000 process variables want to add in a single process instance

is that work or is there any performance issue while execution of process

thanks  
tiru

---

<div class="post-metadata">

**Author:** ![PHH](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/phh/32/94_2.png) [@PHH](https://forum.flowable.org/u/PHH)\
**Post date:** [September 19, 2019, 12:45pm UTC](https://forum.flowable.org/t/limitations-for-adding-the-process-variable-in/4543/4 "2019-09-19T12:45:15Z")

</div>

Are these process variables actually used as part of the process, e.g. for flow conditions etc? If not, you might want to consider using transient variables or a more complex data type, e.g. json.  
Can you give a bit of insight as to how the 1000 data items are being used (coming from one system and going to another as part of a workflow)?

Cheers, Paul.

---

<div class="post-metadata">

**Author:** ![tiru.sadul](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@tiru.sadul](https://forum.flowable.org/u/tiru.sadul)\
**Post date:** [September 23, 2019, 5:00am UTC](https://forum.flowable.org/t/limitations-for-adding-the-process-variable-in/4543/5 "2019-09-23T05:00:30Z")

</div>

sorry for late

till now not all process variables are used for flow condition but may be in future this will happen so i just concern about how many process variables can we add without affecting a performace

thanks  
tiru

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [October 2, 2019, 8:31am UTC](https://forum.flowable.org/t/limitations-for-adding-the-process-variable-in/4543/6 "2019-10-02T08:31:47Z")

</div>

Thousand variables means thousand rows in the variable table. If you need to fetch these, that will have an impact (if you have many process instances). As stated above, transient variables, if you don’t need them to be persisted (i.e. not used later) could be useful.

---

<div class="post-metadata">

**Author:** ![tiru.sadul](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@tiru.sadul](https://forum.flowable.org/u/tiru.sadul)\
**Post date:** [February 6, 2020, 10:34am UTC](https://forum.flowable.org/t/limitations-for-adding-the-process-variable-in/4543/7 "2020-02-06T10:34:33Z")

</div>

thanks @joram  
cheers tiru
