What are persistence points in Biztalk?
To have a recoverable proces and to be sure that Biztalk can dehydrate orchestrations Biztalk will persist the state of the orchestration in the database. Because this proces will slow down the Biztalk application it is important to know when Biztalk will persist the orchestration.
There are a few rules that apply to persistence in Biztalk:
- Send ports will persist the orchestration at the end of the send shape
- Orchestrations will be persisited at the end of the orchestration
- The orchestration will be persisted at the end of a transaction (scope shape)
- When you start an other orchestration through the start orchestration shape
- When the system is shut down the orchestration is persisted
- When the orchestration is suspended
- When the orchestration is finished
When send shapes are used in an atomic scope shape the persistence will not occur at the end of the send shape. Persistence points will be merged when they are executed at the same point in the orchestration like a send shape at the end of an orchestration or an atomic scope at the end of an orchestration. But when a parrallel execution shape is used at the end of an orchestration it will have the persisitence points in the parralel execution shape and at the end of the orchestration.