Help Centre › Building Processes
This article describes the RPA Database functionality to commit a database transaction.
For a full list of available functions, please read DATABASE functions.
Description
The Commit transaction function commits the current database transaction, persisting all changes made since the transaction began. After committing, the connection returns to autocommit mode.
Setting it up
To use the Commit transaction function, follow these instructions:
{{popups:rpas/add:action=db-commit}}
Once on a process map:
- Navigate to the process where you would like to add the Commit transaction function
- Click on the green button's drop-down (right side of the green button labelled "Process")
- On the menu that appears, click on the "+ Activity" item
- From here you can select the Commit transaction option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Name | Yes | Text | - | The alias of a previously opened connection (from db-connect) |
Output variables
This action does not produce output variables.
Errors
| Error | Description |
|---|---|
| Connection not found | No open connection exists with the specified name |
| No active transaction | There is no active transaction to commit on this connection |
Tips
- Only commit after verifying all changes are correct
- Once committed, changes cannot be rolled back