Skip to main content
Version: 4.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.

caution

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

Language

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

Examples

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