The CommitTransaction action is a System Action that issues a database COMMIT command that makes effective all changes done on the database since the last commit. After a commit transaction, the Action flow continues and a new transaction is started.
The CommitTransaction action has no input parameters or output parameters.
When to use the action CommitTransaction
No error was detected and you must make effective the changes in the database.
Internally, after the screen rendering, OutSystems Platform executes a commit transaction if no error was detected. Learn more about handling transactions
When there is integration with external systems, transaction handling might need some extra care. Why?
If you are using an Oracle or DB2 database, commit the transaction before launching a Process instance or executing a Web Service method. See more about Database Compatibility Issues.
AbortTransaction Action | Handling Transactions | Handling Transactions with External Systems | Overview of System Actions and Functions