Jun 9, 2008

Workflow persistence

What triggers persistence?

  • Runtime decides when to persist
  • Persistence service decides how and where
  • Conditions:
    • Anytime the WF goes idle (e.g. Delay Activity)
    • Host App can control by calling Unload or TryUnload methods
    • Transactions complete (TransactionScopeActivity or CompensatableTransactionScopeActivity)
    • Custom Activity with PersistOnCloseAttribute completes
    • CompensatableSequenceActivity completes
    • When the WF terminates or completes


No comments:

Post a Comment