AnsweredAssumed Answered

Activiti UUIDGenerator can generate a number?

Question asked by gjaya26 on Jun 28, 2017
Latest reply on Jun 30, 2017 by daisuke-yoshimoto


We have a use case where we generate about 30K workflows every quarter. We are creating workflows, using the org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntity.createProcessInstance(businesskey) API.

We are currently using the default DBIdGenarator to generate process instance ids for the workflows. The workflows are getting created in  a single thread in sequence.


What we notice is at times, we have stuck threads in the logs. This results in less no of workflows than anticipated. We tried using the StrongUUIDGenerator and this resulted in process instance ids as '674cabed-5a9e-11e7-ab04-0021f6000022'. 


Please advise if we can get the UUIDGenerator to generate numbers instead of the above alpha numeric characters? 

Is there a way we can increase the block size of the sequence in the DBIdGenerator class?


Please advise on the options, if any. I can provide more information, if required.


Thank you.