another question regarding the behaviour of CMMN exit criterions in Camunda:
When an exit criterion terminates a process task, it seems that the corresponding process instance is not affected at all (cf. https://github.com/stefanzilske/cmmn-exit-criterion/blob/master/src/test/java/io/holunda/example/cmmn/exitcriterion/ProcessTerminateTest.java). The process instance remains active, even though the case execution is terminated.
Especially, it behaves differently from terminating a human task with its exit criterion, as the corresponding task instance is terminated.
It this the expected behaviour? What is best practice to deal with the process instance, which obviously should be cancelled or terminated in some way?