You are here: Reference > Activity methods > Rollback

Rollback method

 

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.

Definitions external class
Related topics Commit method
Obj-Save method

Obj-Save-Cancel method

Methods and instructions by function