Organization Browser Error When Browsing an Organization Model Entity That Contains Many Users

If a large number of users (over 1000) are mapped to a single organization model entity, browsing that entity in the Organization Browser can result in one or more problems.

  • The Organization Browser may fail to respond for some time and then display an error dialog containing the message Action Processor returned an unknown error code: Error encountered while processing action request: error encountered while processing XML data returned by the Action Processor.
  • A Java heap space error may occur on the server hosting the BPM application.

Procedure

  • Increase the heap size on the server.
    Note: Similar symptoms can occur with a custom client application that uses the listMappedEntities operation from the MappingService. The call can fail when large numbers of users (over 1000) are mapped to a single organization model entity, due to the large amount of data being returned in the response.

    Using the findResources operation in OrgResourceService avoids this problem, as that operation returns less detailed information about the resources. (Additional calls can be made to getResource to retrieve details on each resource.)

    See TIBCO Active Matrix BPM - BPM Developer’s Guide for more information.