Aravindh RS
Aravindh RS

Reputation: 67

How to setup camunda external task client

I have a service tasks part of my bpmn file. I want to execute the service tasks asynchronously using camunda external task client. How to setup the external task client? Currently the service tasks execution are delegated to process engine itself.

Upvotes: 2

Views: 3571

Answers (1)

mederalm
mederalm

Reputation: 46

for introduction see this Camunda blog post.

In short, you define the task implementation as "external" in your BPMN and define its topic. Then, you create REST client with long polling which will fetch task execution info.

Luckily, you don't have to write the REST client by yourself, there are official implementations for Java and JS.

For a Java client, have a look at the examples on GitHub repo.

More official info here and here.

Upvotes: 3

Related Questions