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.
<dependency>
<groupId>com.fasterxml.uuid</groupId>
<artifactId>java-uuid-generator</artifactId>
<scope>provided</scope>
<version>3.1.2</version>
</dependency>
Or camunda uses different id generator by default?
Hi @aravindhrs,
the default is strong: Process Engine Configuration | docs.camunda.org.
It’s added with the camunda-bpm-spring-boot-starter:
Hope this helps, Ingo
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.