Oracle Error ORA-04084: cannot change NEW values for this trigger type

Oracle Error Message

ORA-04084: cannot change NEW values for this trigger type

Reason for the Error

New trigger variables can only be changed in before row insert or update triggers.

Solution

Change the trigger type or remove the variable reference.