Where can we help you?
Hello,
At the Moment we are creating a prototye and want to use external tasks. Setup of our environment is ok, processengine works like excepted but not with external tasks. I have created a bpmn diagram with an activity type external Task and Topic "wita-info". The process instance can be initiialize sucessful and process is waiting on external Task activity.
The bpmn diagram is part of a spring boot microservice and I want to fetchandLock the external Task by using the following lines of code:
https://docs.camunda.org/manual/7.7/user-guide/process-engine/external-tasks/
{{List<LockedExternalTask> tasks = externalTaskService.fetchAndLock(10, "externalWorkerId")
.topic("wita-info", 60L * 1000L)
.execute();
for (LockedExternalTask task : tasks)
{ String topic = task.getTopicName(); String address = (String) task.getVariables().get("address"); // work on task for that topic ... }}}
But the List<LockedExternalTask> tasks is everytime empty. What is wrong?
I have create a second method and list existing external tasks with createExternalTaskQuery() method from ExternalTaskService and there are a lot of them in my test environment. Also the topic "wita-info" is set correctly.
What is the context of your help request?
Prototype for RPA Integration in Camunda BPM