Help
Transaction Scope Activity
Help menu
- Help content
- AS2
- Examples and Tutorials
- IO Queues and Forms
- Maps
- Schemas
- Send and Receive Ports
- Send and Receive Ports / Transports
- Servers
- Static Configuration
- Tracking
- Workflows
- Workflows / Workflow Activities
- Call Web Service Direct Activity
- Compensatable Sequence Activity
- Compensatable Transaction Scope Activity
- Compensate Activity
- Conditioned Activity Group
- Database Activity
- Delay Activity
- Event Handling Scope Activity
- Event Driven Activity
- Expression Activity
- Fault Handler Activity
- If Else Activity
- Increment Activity
- Invoke Web Service Activity
- Invoke Blue Integrator Workflow Activity
- Invoke Workflow Activity
- Listen Activity
- Map Activity
- Parallel Activity
- Policy Activity
- Send Receive Port Response Activity
- Replicator Activity
- Send Receive Port Response Activity
- Send Port Message Activity
- Sequence Activity
- Suspend Activity
- Synchronization Scope Activity
- Transaction Scope Activity
- While Activity
The Transaction Scope Activity guarantees that its transaction is either committed or rolled back in case of failure. It uses the TransactionScope object which means that any objects that implement the ITransaction interface can be included within a transaction. When all the contained Activities are completed the transaction is committed and the workflow proceeds. If an exception is thrown within the transaction’s scope an automatic ‘rollback’ is performed. The transaction can also be rolled back if the TimeoutDuration property is reached. The Isolation level of the transactions can also be set using the IsolationLevel property (see System.transactions.isolationlevel
). For more information on transactions see Workflow Basics – Transactions.