Skip to main content

Rollback method

Suggest edit
Updated on March 16, 2022

Use this method to cancel or withdraw any previous uncommitted changes to the PegaRULES database (and to external databases accessed from an external class) from the current Thread. All pending Obj-Save and Obj-Delete methods are canceled.

Parameters

This method has no parameters.

Results

All uncommitted database operations are withdrawn. If an instance is locked and the ReleaseOnCommit box was selected, the lock is released. Locks on instances where the ReleaseOnCommit box was not selected are retained.

Checking the method status

This method updates the pxMethodStatus property. See How to test method results using a transition.

Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us