Hello,
in Camunda, there are two DB table groups: one for the running instances on the other for the history.
Assume a process instance runs to an end (executes its last activity) in a SpringBoot based application (embedded engine) with the history level set to FULL.
How would you answer the following questions?
-
How long does it take for the instance to NOT be found by the runtimeService query? I.e. by
runtimeService.createProcessInstanceQuery().processInstanceId(...).singleResult()
? -
How long does it take after the process completion that its status is reflected in the history? I.e.
historyService.createHistoricProcessInstanceQuery().processInstanceId(...).singleResult().getState() == "COMPLETED"
(or...getEndTime() != null
)?
Thank you!