Camunda 8 user task implementation in java spring boot

I am having a bpmn workflow diagram in camunda 8 with 2 service tasks initially and then 2 user tasks. I am using @JobWorker annotation for implementing service tasks in the java spring boot code and started the process through the code using zeebe client as mentioned below.

ProcessInstanceEvent join = zeebeClient.newCreateInstanceCommand()
.bpmnProcessId(processId)
.latestVersion()
.variables(variables)
.send()
.join();

@JobWorker(type = “serviceTask1”)
public void sample(JobClient client, ActivatedJob job) {
// code implementation
}

Now the process stops at user task which I am unable to fetch it and complete it. If it is camunda 7, there is task service to to interact with the tasks and complete the task.

Can i get the sample code implementation for camunda 8 user task in java spring boot

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