Oracle Solution for Error ora-41703

Solution for Oracle Error ORA-41703

ORA-41703: invalid child node in "object" element with "ref" attribute

What triggered the Error:

An attempt was made to use both a condition and a "ref" attribute in the "object" element.

What should we do to fix it:

Remove the "ref" attribute.