Number of instances

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,

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


1 Like