No connector found for connector id 'rest-http-connector'

Version: Camunda 7.4.0 on Tomcat 8.x

I can see the jar connector-all in server lib but still saying connector not found when the workflow reaches to the service task where I an using rest-http-connector

Below is my POM:

org.camunda.bpm camunda-engine provided
<dependency>
  <groupId>javax.servlet</groupId>
  <artifactId>javax.servlet-api</artifactId>
  <version>3.0.1</version>
  <scope>provided</scope>
</dependency>

<dependency>
  <groupId>org.camunda.bpm</groupId>
  <artifactId>camunda-engine</artifactId>
  <scope>provided</scope>
</dependency>

<dependency>
  <groupId>org.camunda.bpm</groupId>
  <artifactId>camunda-engine-plugin-connect</artifactId>
  <scope>provided</scope>
</dependency>

<dependency>
  <groupId>org.camunda.connect</groupId>
  <artifactId>camunda-connect-http-client</artifactId>
  <scope>provided</scope>
</dependency>

<dependency>
  <groupId>org.camunda.bpm</groupId>
  <artifactId>camunda-engine-plugin-spin</artifactId>
  <scope>provided</scope>
</dependency>

<dependency>
  <groupId>org.camunda.spin</groupId>
  <artifactId>camunda-spin-dataformat-json-jackson</artifactId>
  <scope>provided</scope>
</dependency>
1 Like

Hi,

based on the docs I would expect the connector id to be http-connector and not rest-http-connector.

Cheers,
Sebastian

Yes I just figured it out, seems to be working, Thanks.

I am trying to do something like below in a delegate method:
OrderActivationRequest request = new OrderActivationRequest();
request.setOrderId(Long.parseLong((String)jsonMap.get(“partyNumber”)));
request.setOrderType((String)jsonMap.get(“partyType”));
request.setStatus(“Active”);
String json = JSON(request).toString();
execution.setVariable(“extPayload”, json);

And then later on in my service task.
use it like below:

<camunda:inputParameter name=“payload”>${extPayload}</camunda:inputParameter>
?
hope I am on right track