Action group: Databases
Action rolls back the current transaction
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
DB context | Connection context to the selected database | Robin.DbContext | Database context | Yes |
None.
Connect to the database, execute the query:
UPDATE Table1 SET title = 'Car' WHERE id=2 |
Then rollback the transaction and execute the following request:
UPDATE Table1 SET title = 'Phone' WHERE id=3 |
At the end, close the transaction.
Initial view of the table:
Use the actions "Connect Standard Db", "Execute Sql Statement", "Rollback Transaction", "Commit Transaction".
The program robot completed successfully.
The first transaction rolled back, so the changes were not applied to the database. The second transaction was closed and applied to the database: