Hi community,
I want to fetch all containees using this below sample code but i have an exception like FNRCA0024E: API_PROPERTY_NOT_IN_CACHE: The Containees property was not found in the properties collection.
ObjectStore os = Factory.ObjectStore.fetchInstance(domain, "TARGET", null);
String folderPath = "/TEST";
Folder myFolder = Factory.Folder.getInstance(os, ClassNames.FOLDER, "{31FEB300-C3E3-4951-8E5E-0B8968994A0E}");
try {
ReferentialContainmentRelationshipSet cont = myFolder.get_Containees();
Iterator iter = cont.iterator();
while (iter.hasNext()) {
System.out.println("customer object name :"+relObj.toString());
}
} catch (Exception e) {
// TODO: handle exception
System.out.println("exception::"+e.toString());
}
Any ideas? I need your support.
------------------------------
Mansour SOW
BPM Technical Lead
------------------------------