Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Rollback method

Updated on August 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.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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