Id Generator for camunda primary keys

I’m using spring boot application with an embedded camunda dependencies(camunda-bpm-spring-boot-starter-rest)

Should i have to explicitly configure to use org.camunda.bpm.engine.impl.persistence.StrongUuidGenerator in process engine or by default it uses the StrongUuidGenerator ?

Because i don’t see the below dependency added in my class path through camunda-bpm-spring-boot-starter-rest in classpath.


Or camunda uses different id generator by default?

Hi @aravindhrs,

the default is strong: Process Engine Configuration |

It’s added with the camunda-bpm-spring-boot-starter:


Hope this helps, Ingo

1 Like

I have solved it by adding below configuration to my custom processengine configuration.

springProcessEngineConfiguration.setIdGenerator(new StrongUuidGenerator());

If i don’t provide custom processengine configuration, by default it works fine.