Skip to main content
Version: 6.x

Cancel changes (CANCEL)

The cancel changes operator completely clears the current change session.

As with other session management operators, you can explicitly specify nested local properties for the cancel operator.


This operator works differently if executed inside events handling: in this case, it cancels applying the changes that led to this handling


To declare an action that implements cancellation, use the CANCEL operator.


dropChanges()  {
CANCEL NESTED (in[Sku]); // cancel all changes except the in property