Oracle Error ORA-25000: invalid use of bind variable in trigger WHEN clause

Oracle Error Message

ORA-25000: invalid use of bind variable in trigger WHEN clause

Reason for the Error

A bind variable was used in the when clause of a trigger.

Solution

Remove the bind variable. To access the table columns use (new/old).column_name.