How to get the case of an active process task with Rest API

HI,

how I can get the case-execution (CMMN) from the process instance id (BPMN) using the Rest API?

My problem is that I don’t find the relationship between case execution and the process task associated with it.

Thank you.

Regards, Frand

Hi @Fran

you might use this endpoint
https://docs.camunda.org/manual/7.10/reference/rest/case-instance/get-query/#query-parameters
And add the queryparameter superProcessInstance.

Best
Felix

I can’t find a way to find the caseExecutioId of the process task you launched or vice versa.

Thanks,

In general, I don’t find through ‘Api Rest’ the relationship between the caseExcution (father: task process cmmn) and the process instance (son: bpmn) that is launched by the father.

In all attempts to obtain the "caseExecutionid is null, or the query does not return it.

Thanks, Fran