How does the case execution of a process task and its corresponding process instance relate?

Hi,

How does the engine camunda the relationship between the case execution of a process task and its corresponding process instance?

Thank you.

Regards, Fran

You have a SUPER_CASE_INSTANCE_ID in the db-table on a processInstance that was started via case-process-activity.

see ProcessInstance.java:

  /**
   * The id of the case instance associated with this process instance.
   */
  String getCaseInstanceId();