BPM, Workflow, and Case

 View Only
  • 1.  FNRCA0024E: API_PROPERTY_NOT_IN_CACHE: The Containees property was not found in the properties collection.

    Posted yesterday

    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
    ------------------------------


  • 2.  RE: FNRCA0024E: API_PROPERTY_NOT_IN_CACHE: The Containees property was not found in the properties collection.

    Posted yesterday

    Hello Mansour,

    You already know how to deal with this, cause you answered to this issue here : https://community.ibm.com/community/user/automation/discussion/retrieve-annotations-ibm-filenet-p8#bm3a51183c-9db8-49ee-be6c-0190a17bce1e

    When you fetch your object, you need to specify a property filter that list metadatas you need to use.

    Best regards,

    Nicolas



    ------------------------------
    Nicolas Le Ralle
    ------------------------------



  • 3.  RE: FNRCA0024E: API_PROPERTY_NOT_IN_CACHE: The Containees property was not found in the properties collection.

    Posted 9 hours ago

    Hello Nicolas,

    Thank you, it works.



    ------------------------------
    Mansour SOW
    BPM Technical Lead
    ------------------------------