How to Migrate http-connector based service tasks for Camunda 7 to Camunda 8 migration?

Hi,

We are extensively using groovy script to prepare payload and process the response in Camunda 7 Service tasks which uses http-connectors (HTTP Connector | docs.camunda.org) and I can see that they are not supported in Camunda 8.

Is there a way we can reuse the existing code when we migrate to Camunda 8 or should I be writing the Job Workers for each of these service tasks ?

Thank you,
Srihari.

Hello @hari_kiran ,

Thank you for your question :slight_smile:
You can re use the REST Connector for Camunda 8.

Let me know if you have any other questions,
Jonathan

1 Like

Hi Jonathan,

Thanks for your quick reply.

If we are starting new project, a REST Connector would be something which we can go for. But in the current scenario, we have to rewrite all the 50 to 100 groovy script code files which we used in Camunda 7 http connector for payload and response processing into a java based code.

I am looking for any possible solution/ approach which will reduce our groovy script to java conversion work.

Thank you,
Srihari.

Sure :slight_smile:

Could you tell me what you try to achieve using Groovy exactly (what kind of transformations etc)?

Not sure if you’re aware of it, but we support Groovy in our script connector.

Last thing, I guess you should be able to use Groovy along Java code as they are both JVM based. Maybe using:

<dependency>
    <groupId>org.codehaus.groovy</groupId>
    <artifactId>groovy</artifactId>
    <version>4.0.14</version>
</dependency>

But let’s see what you try to accomplish first,
Thank you

Jonathan

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.