Open benbenguo opened 8 years ago
Hi. The deploymentResources param should actually read ['classpath:/*/.bpmn'].
Besides, please also make sure that you do not mix up the deployment 'key' (like 'RegisterCriminalPublicProsecutionProcess') with the deployment 'id' when using the Camunda API. The id is unique for a single deployment (version) of a process, while the key is defined in the bpmn xml and therefore identifies the process definition with all its deployed versions.
I deploy grails war, then call repositoryService.getProcessModel(processDefinitionId), got the error below :
org.camunda.bpm.engine.exception.NullValueException: no processes deployed with key 'RegisterCriminalPublicProsecutionProcess': processDefinition is null
my conf is: camunda { deployment { scenario = "embedded" autoreload = true } engine { configuration { databaseSchemaUpdate = true deploymentResources = ['classpath:/*/.bpmn'] jobExecutorActivate = true } } }
Hope any help, thanks