How does Camunda handle application failures

Please help understand, how camunda handles inflight process instance on application crash events. When application comes back live, would camunda engine “replay from where it left off”?

Please guide me to documentation if some additional configuration is required.

Thanks!

The state would indeed be maintained and could be retried. You can find more detials here:
https://docs.camunda.org/manual/latest/webapps/cockpit/bpmn/failed-jobs/

Thanks Niall for your prompt response.

If cockpit and bpmn engine are running on different spring boot instances, pushing retry button on cockpit would restart failed jobs?

If both are sharing the same database for persistence then it should be fine.