A two-phase commit capability is a Java Transaction API (JTA) feature supporting distributed transactions.
When Process Commander is installed as an Enterprise tier application (and the XA version of JDBC database drivers are installed) the Commit and Rollback methods apply to both internal and external classes, implementing a J2EE distributed transaction.
For example, a flow may update tables in external relational database such as a customer master file, and also update assignments and properties in the work object. If when the Commit method occurs either the PegaRULES database or the customer master database operation fails, a rollback occurs automatically. OLSOK 10/3/06 clinic
For more information, see Distributed Transactions and PegaRULES Process Commander, a document on the Pega Developer Network.
external class, J2EE, Java Transaction API | |
Commit method |