CWLAE0119E invalid correlation invocation - the key attribute of the managed role "0" is not defined as a simple property of a business object.

Explanation

When invoking the correlation APIs, the managed role must be defined as a simple business object with a key attribute to a simple property.

User response

Use the deprecated maintainRelationship APIs for composite managed roles or change your managed role's key attribute to point to a simple property.