You are here: Reference > Activity methods > Obj-Save-Cancel

 Obj-Save-Cancel method

Use this method to cancel the most recent uncommitted Obj-Save method, so that the instance is not written as part of a later Commit operation. You can also use this method to undo an Obj-Delete that has not yet been committed.

Use the similar Rollback method to cancel all uncommitted Obj-Save and Obj-Delete operations, not only the most recent one.

Parameters

This method has no parameters.

Results

The page identified in the most recent Obj-Save or Obj-Delete method is removed from the set of pages pending a Commit method. When a later Commit method executes, this page is not included in those committed.

Checking the method status

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

Definitions Commit method
Related topics Obj-Save method
Rollback method

Methods and instructions by function