cancel
Showing results for 
Search instead for 
Did you mean: 

Process Variables - add after start

lbds
Champ in-the-making
Champ in-the-making
We have a need to add a new process variables to the existing running processes.  I'm able to add it to the ACT_RU_VARIABLE table and see it as the process variable but I'm not sure how the id_ column is set.  There are no sequences used so I'm assuming the code either has a built in sequence or is doing a max+1 insertion. 

Can you clarify how the id_ is being set?

Thanks
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
There is an internal ID generator that reserves a block of ids in the database per engine instance.

You can change this, see for example http://activiti.org/userguide/index.html#advanced.uuid.generator