Suppose I have set most detailed history level , Then when process engine store history value ?
After ending of process instance or after task completion or during the same DB transaction as the runtime values ?
Any help of document is appreciable,
Camunda internally publishes HistoricEvents that are collected by HistoryEventHandlers. By default, this happens in the same transaction, so runtime and history inserts happen together.
@jangalinski if I understand correctly the transaction commits to db when the process reach a wait state (user/receive task)… so can we say HistoricEvents too commits upon reaching a wait state? Please advise.
yes, your understanding is correct.
Hope this helps, Ingo
Thank you @Ingo_Richtsmeier