# Number of instances

**URL:** <https://forum.flowable.org/t/number-of-instances/9290>\
**Category:** Flowable Engine\
**Created:** [May 5, 2022, 7:14am UTC](https://forum.flowable.org/t/number-of-instances/9290 "2022-05-05T07:14:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vkras](https://avatars.discourse-cdn.com/v4/letter/v/85e7bf/32.png) [@vkras](https://forum.flowable.org/u/vkras)\
**Post date:** [May 5, 2022, 7:14am UTC](https://forum.flowable.org/t/number-of-instances/9290/1 "2022-05-05T07:14:24Z")

</div>

Hi there.

I have a process with call activity which starts multiple parallel processes.

I see, in variables, that main process creates variables with names “_nrOfActiveInstances_”, “_nrOfInstances_” and “_nrOfCompletedInstances_”.

Is there a way I could acceses these variables in code? Cause I cant find the way to do it. I have tried with get buildin functions but I get null value in response.

Kind regards,  
V

---

<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:** [May 6, 2022, 5:08am UTC](https://forum.flowable.org/t/number-of-instances/9290/2 "2022-05-06T05:08:41Z")

</div>

> [@vkras](#):
>
> I could acceses these variables in code

Yes.  
The variables are created in the scope of the parent process. Check jUnit tests in the flowable source.

Regards  
Martin
