Hi
I notice that my call to complete the workflow the engine returns a TaskID of null ?
Liam
That doesn’t seem to unusually.
It really depends on the model you’re completing. Can you share the model and the call you’re using to complete the task?
Hi Niall…how would I share the model ? I am sending a run request from Java (I am also locked out of the cockpit and each time I unlock it locks again when I try to login…)
Upload the BPMN file to the forum.
Please show the code you’re using as well as the response.
The BPMN model
<?xml version="1.0" encoding="WINDOWS-1252" standalone="yes"?> SequenceFlow_0ivi9ny SequenceFlow_1bkybv9 SequenceFlow_0zfrg94 SequenceFlow_0zfrg94 SequenceFlow_1i4137o SequenceFlow_1i4137o SequenceFlow_05n8wca SequenceFlow_05n8wca SequenceFlow_006n4kb SequenceFlow_0enyp06 SequenceFlow_0gqm2z8 SequenceFlow_091sl5n SequenceFlow_091sl5n SequenceFlow_1jirkl3 SequenceFlow_1jirkl3 SequenceFlow_01fkasi SequenceFlow_01fkasi SequenceFlow_006n4kb SequenceFlow_0enyp06 SequenceFlow_0gqm2z8 SequenceFlow_1vez2aw SequenceFlow_1vez2aw SequenceFlow_0624hw7 SequenceFlow_1bkybv9 SequenceFlow_0ivi9ny SequenceFlow_0624hw7@liamkelly15 Complete task rest api doesn’t return taskId. It will return only the variables based on the flag withVariablesInReturn: true
in the request, otherwise the response would be simply 204 status code.
https://docs.camunda.org/manual/7.15/reference/rest/task/post-complete/#response-codes
Camunda will write to the ACT_RU_EXECUTION table but is not writing corresponding records to the ACT_RU_TASK
The Task Query returns null value