Oracle Error ORA-41703: invalid child node in “object” element with “ref” attribute

Oracle Error Message

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

Reason for the Error

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

Solution

Remove the “ref” attribute.