⟩ Please explain when a persistence point occurs at the Orchestration level?
The engine will save the state of an orchestration in the following circumstances:
☛ Send Shape (after a message is sent)
☛ Start Orchestration Shape
☛ Suspend Shape
☛ End of a Transactional Scope (atomic or long-running)
☛ An Orchestration Debugger breakpoint is hit
☛ Orchestration Engine determines that the instance needs to be dehydrated
☛ When the Orchestration Engine is shut down; through the controlled shutdown of the host or abnormal circumstances. The engine tries to persist but if that fails, the Orchestration instance will resume from the last successful persistence point.