Camunda7.6 springboot rest template error

Hello

I try to deploy a simple bpmn with rest connector. It works with a simple shared engine but I am not able to deploy with Camunda springboot app. I have got the following error:
ENGINE-09005 Could not parse BPMN process. Errors: \n* One of the attributes ‘class’, ‘delegateExpression’, ‘type’, or ‘expression’ is mandatory on serviceTask. | RestTest.bpmn | line 23 | column 53

My bpmn: RestTest.bpmn (4.6 KB)

Do you have any idea what can be wrong?

Hi @Gabor_Sandor,

Like the error message says, you are missing either a class, a delegateExpression, a type or expression on the service task element in line 23.
If you just want to test it quickly, add an expression like ${true}.

Cheers,
Christian

Hello

I have chosen the Connector as implementation so I am not able to chose the expression :(, That is my problem.

Regards: Gábor

Hi @Gabor_Sandor,

Have you added the camunda-connect dependency 1?

Cheers,
Roman

Hello

Yes, I have added this dependency:

<dependency>
    <groupId>org.camunda.connect</groupId>
    <artifactId>camunda-connect-connectors-all</artifactId>
    <version>1.0.3</version>
</dependency>

Regards: Gábor

Hi @Gabor_Sandor,

Have you registered the ConnectProcessEnginePlugin on the process engine configuration 1?

Cheers,
Roman

I am using the Camunda Springboot solution so there is no bpm-platform.xml :(.

why so sad? I always enjoy when I not use xml.

Just define a Bean

@Bean
public ConnectProcessEnginePlugin connectProcessEnginePlugin() {
  return new ConnectProcessEnginePlugin();
}

and spring boot will configure it for you

2 Likes

thank you, it is working!