Oracle Error Message
ORA-30505: system triggers should not reference a column in a WHEN clause
Reason for the Error
An attempt was made to use a WHEN clause to reference a column with a system trigger, but this type of trigger is not supported because a system trigger does not have a base table.
Solution
Change the WHEN clause to an appropriate clause.