ORA-25007: functions or methods not allowed in WHEN clause
What triggered the Error:
SQL function call or method invocation is not allowed in the WHEN clause when creating a trigger.What should we do to fix it:
move the function call or method invocation from the WHEN clause.