GlideRecord - operation()

Retrieves the current operation being performed, such as insert, update, delete, etc.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
String The current operation

Scoped equivalent

To use the operation() method in a scoped application, use the corresponding scoped method:Scoped GlideRecord - operation().