TRIGGER_OLD_VALUE
Description
Returns the previous value of the specified field in an Update DML operation.
Syntax
TRIGGER_OLD_VALUE(field_name) -> Object
Parameters
| Parameter | Data Type | Required | Description |
|---|---|---|---|
| field_name | String | Yes | The API name of the field. |
Example
TRIGGER_OLD_VALUE("Priority")
-- Returns the previous value of Priority in an update operation.