Listener to communicate task process cmmn with its corresponding process instance bpmn

Hi,

I need a reference example to configure Listener in the modeler, which communicates task process cmmn with its corresponding bpmn process instance.

I need it because when I finish the case execution (cmmn), I have to finish its corresponding process instance (bpmn).

Thank you.

Regards, Fran