Transaction Block
This block is used to group the tasks together. This can sometimes improve readability of the workflow. For example, if some group of tasks must be completed before other tasks can be performed, placing them in a transaction block is a good way to achieve this.
Attributes
TransactionType |
Defines the atomicity of the transaction. Possible values are:
|
---|
Atomic Transactions
The Transaction Block is also used to enforce atomic transactions on the data. Any tasks contained inside the Transaction Block will run under atomic transaction. I.e. if some task inside the block fails, all changes in databases will be rolled back.
Atomic transactions will work only with services, which support atomic transactions, e.g. Data Service. See service documentation on which services support transactions. If a service does not support transactions, no data will be rolled back, leaving possibly the service data in a corrupted state.