In a typical setup, one OnBase system is designated as the home system. When Epic requests a document from OnBase, the integration first checks whether the document's Facility ID matches the Facility ID for the home system. If the IDs match, the integration retrieves the specified document from the home system. If the IDs are different, the integration looks up the document's Facility ID in the facility mapping table.
The facility mapping table is configured on the home system. This table maps the Facility IDs for the remaining OnBase systems to their respective Application Servers. When the integration finds the correct Facility ID in the facility mapping table, it redirects the document request to the specified Application Server. This Application Server then tries to retrieve the document from the data source specified in its Web.config file.