Back Forward Rollback method

Methods and instructions by function

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 cancelled.

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, Java Transaction API, two-phase commit
Related topics Commit method
Obj-Save method

Obj-Save-Cancel method

UpMethods and instructions by function