Oracle Solution for Error ora-41698

Solution for Oracle Error ORA-41698

ORA-41698: invalid use of "string

" attribute in aggregate predicate

What triggered the Error:

An attempt was made to use an attribute where a literal is expected in the aggregate predicate in the rule condition.

What should we do to fix it:

Correct the input and try again.