Activities That Define Workflow Scope

Sometimes a series of workflow activities or code must succeed as a unit or fail as a unit. Given the fact that workflows are long running, WF must support two types of transactions: classic database ACID transactions, and compensating transactions.

ACID Database Transactions

ACID stands for Atomic, Consistent, Isolated and Durable. Each change to the state of the database is atomic. It either happens or does not happen. There is no intermediate state. Consistent means that the transaction does not violate any of the consistency constraints associated with that state. If transactions occur concurrently, they are isolated. Each transaction appears as if it either executed before or after another transaction. ...

Get Building Applications with Windows Workflow Foundation (WF): Advanced Workflow Features now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.