I am using
spring-boot CAMUNDA starter
And using the deploymentBuilder API to deploy a BPMN process at runtime.
Here is the code
Deployment deploy = repositoryService.createDeployment(). addString("test.bpmn", ((GeneratedProcessDefinition) definition).getBpmn()) .deploy()
about code did not throw any exception but after that when I use the processDefinitionQueryBuilder to query the process definition the engine tells me there is no such process definition exists.
The BPMN was marked as executable
Any helps? Thanks