to create external task workers for executing services.
However I am facing issue while setting the variable from execute() .
I have tried multiple ways but no luck.
What I want to achieve →
Create a list from external task to pass to collection in multi-instance.
What I tried →
Passing the TypedValue variable by created an ObjectValue of List.
What eternal task client do you use?
Can you provide a code snippet of the client and the BPMN file?
What Camunda 7 distribution are you using? Embedded Spring Boot client? Camunda Run?
I tried to reproduce the error using the following process: diagram_1.bpmn (3.1 KB)
I completed the external service task with Postman sending the following body:
Below are the details –
I am writing services in spring-boot-starter-external-task-client which is running as an application independently of Camunda Engine. (connected using camunda.bpm.client.client.base_url )
Camunda version 7.20.3-ee and Spring-boot version 3.2.2
Below is the code snippet –
execute(ExternalTask externalTask, ExternalTaskService externalTaskService)
{
//some business logic implementation returning an ArrayList
List filenamesList = new ArrayList<>();
This issue is resolved, after adding spin-dataformat-all dependency to the Engine repository.
I am able to propagate List now through different external tasks.