Hello, I have a problem Deploying my BPMN process to a Spring Boot application, could you help me? I searched for the error and still do not know what is happening.
my bpmn:
blacklist.bpmn (8.4 KB)
Error:
java.lang.RuntimeException: org.camunda.bpm.engine.ProcessEngineException: ENGINE-08043 Exception while performing ‘Deployment of Process Application demoApplication’ => 'Deployment of process archive ‘null’: ENGINE-09005 Could not parse BPMN process. Errors:
- One of the attributes ‘class’, ‘delegateExpression’, ‘type’, or ‘expression’ is mandatory on serviceTask. | blacklist.bpmn | line 34 | column 62
my code:
`public void startCamunda(PID pid) {
Map variables = new HashMap<>();
String myMessage = new String (pid.getBody());
try {
variables.put("cnpjCliente", "04688977000102");
ProcessInstance instance = runtimeService.startProcessInstanceByKey("blacklist", variables);
} catch (Exception e) {
e.printStackTrace();
}
}`