Multi-instance task service in parallel never finish their operations

Hello Everyone,

I was creating a simplified “Benchmark” diagram to play with Camunda 8, but I noticed that my process never stops as the parallel services never resolve no matter what (completion condition set as true and multi-instance output element simplified to 42).
Am I doing something wrong with my diagram or is it a deeper problem?

I am currently using the last version of Camunda 8.5, the docker version, with 5.22.0 version of Camunda Modeler.
Any other diagrams works fine to me.

The diagram used : BenchmarkDiagram.bpmn (4.2 KB)

Thank you in advance

I tried changing for a stable branch of 8.5 and changing for the free trial of the SaaS version of Camunda 8, but still the task instance never finish their operations on the otherwise pretty simple diagram. I have no error logs either.
I am pretty much out of idea.

Hi @jquesney
Nothing is wrong with your diagram. You just need some code to complete the service tasks.

For example:

@SpringBootApplication
@EnableZeebeClient
public class Worker {

    public static void main(String[] args) {
        SpringApplication.run(Worker.class, args);
    }

    @JobWorker(type="order-items", autoComplete = true)
    public void OrderItems(){
        System.out.println("Complete order-items");
    }
}

Regards,
Alex

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