Configuration & Installation Guide

Download PDF

Welcome to the configuration guide for the Encompass Connector for Salesforce (Encompass Connector) app. Through our strategic partnership with Salesforce, we've created a secure bi-directional connection between the Salesforce and Encompass platforms. The Encompass Connector for Salesforce allows critical loan data to be synchronized in real time, empowering lenders to process loans faster with greater visibility into borrower data and loan statuses.

The first section of this guide discusses the installation of the Encompass Salesforce package, while the remaining sections walk you through applying permission sets and completing the Setup Assistant. This guide walks you through configuring your Salesforce organization in a Lightning Experience environment.

This application is not supported in Salesforce Classic—to use this app, you must switch to Lightning Experience. If you haven't turned on Lightning for your org, refer to Verify that Lightning Experience is Turned On.

Learn more

Throughout this guide, you will be instructed to navigate through Salesforce Setup. To do so, you will need to click the Gear icon located in the top right corner of your page, and then click Setup. Once in Setup, use the Quick Find box to find and navigate to the appropriate section.

New in the Encompass Connector App

Starting in 2022, a new standard Encompass object model that provides default data mapping can be used by default with your Salesforce organization. Previously, the FSC (Financial Service Cloud) Mortgage Data Model or creating a data model from scratch were the only options provided when configuring your Salesforce organization. The new Encompass object model also provides a new Loan Application object that includes employment and residence data objects, along with custom field data mapping.

If you are already using a Financial Services Cloud or custom object model, you can switch to the Encompass object model. If considering moving to the new model, it is recommended that you contact your Encompass relationship manager to discuss a Professional Services engagement to assist in assessing migration considerations, tips and tricks, and pre-migration checklists.

Existing users utilizing the Financial Services Cloud or custom object model can continue to use those models. New or existing users who are setting up the Encompass object model for the first time should use the steps provided in this guide.

Encompass Setup Before Installing Salesforce Object

Encompass User Creation

Before you can establish a connection between Encompass and Salesforce, administrators or other authorized users must create an ‘integration user' in Encompass.

ClosedCreate Encompass User

Prerequisites

Due to the sophistication of both Encompass and Salesforce, as well as the fact that both are highly customizable for a customer's specific requirements, meaningful expertise in both solutions is a requirement to be successful in implementing the Encompass Salesforce app.

Preliminary considerations to evaluate before you proceed with the installation:

  • Anyone attempting to implement the Encompass Salesforce app should first take inventory of how the Encompass and Salesforce environments they are working with are configured.

  • It is important that you understand, on the Salesforce side, what fields are required, relationships between objects, customer workflows, processes, flows or code that may be triggered when data is updated.

  • It is critical to understand these areas to properly configure this app. Most challenges you encounter will likely be related to one of these items.

Before attempting to install and configure the Encompass Salesforce app, read this document in its entirety.

Pay special attention to the Tips, Tricks, and Customization section.

View Tips, Tricks, and Customization

Installation in Salesforce

Installing the Encompass Package

Copy and paste the package install URL provided to you by your administrator. If you are not already logged into the org you wish to install the package into, Salesforce will prompt you to log in.

For more information on installing packages, refer to the Installing Packages guide.

Install for Admins Only

Install for Admins Only is recommended—this option allows for controlling access and permissions after the package has been installed. Once installed, administrators can provide permissions to designated personnel.

Specifies the following settings on the installing administrator's profile and any profile with the Customize Application permission.

  • Object permissions—Read, Create, Edit, Delete, View All, and Modify All enabled
  • Field-level security—set to visible and editable for all fields
  • Apex classes—enabled
  • Visualforce pages—enabled
  • App settings—enabled
  • Tab settings—determined by the package creator
  • Page layout settings—determined by the package creator
  • Record Type settings—determined by the package creator

ClosedInstall Encompass Package

Encompass Configuration

Permission Sets

The package includes two permission sets:

  • Encompass Admin—must be assigned to the admin user that will use the Encompass app.

  • Encompass API User—must be cloned and have the “Is Deleted” field enabled for View and Edit. Then the cloned permission set must be assigned to users.

ClosedAssign Permission Set to  Users

Assigning of Loan Officer ID

Encompass requires a loan officer be assigned to this user. To assign, you must configure some page layouts beforehand.

ClosedAssign Loan Officer ID

Encompass Setup Assistant

The Encompass Setup assistant (Setup Assistant) will need to be configured to connect your Salesforce organization to your Encompass account.

This setup is comprised of four configurations:

  • System Connections—Authorize connections between Salesforce and Encompass.

  • Configure Object Models—Define how loan applications originating in Encompass will be represented in Salesforce.

    • The setup assistant allows you to define the object model(s) in which the data exists for Encompass to properly source loan data within your organization. This process captures the primary “Loan” object, as well as the family tree of objects related to it. Once the relationships are established, you will be able to select the fields in Salesforce that correspond to fields in Encompass.

    • All the child objects defined later in this process will need to directly look up to this primary object. If your org uses multiple record types for this object, you can select an Encompass field which contains the list of values that correspond to each record type.

  • Inbound Data Sync—Manage inbound data sync from Encompass to Salesforce with your choice of real-time or scheduled batch updates.

  • Outbound Data Sync—Manage outbound data sync from Salesforce to Encompass with Apex triggers.

ClosedConfigure Encompass Setup Assistant

ClosedStep 1: System Connections

ClosedStep 2: Configure Object Models

ClosedStep 3: Inbound Data Sync

ClosedStep 4: Outbound Data Sync

Outbound Data Sync Retry

After setting up the Automatic or Manual Insertion option, the next step is to configure the Outbound Data Sync Retry job. This is a recurring job that will use the Error Log to identify any previous Outbound Data Sync failures and attempt to reprocess them. On successful reprocessing, the Error Log entry is deleted. If the attempt to reprocess fails, the Error Log remains and will be attempted again on the next Sync Retry.

ClosedOutbound Data Sync Retry Frequency

Site User Configuration

The Site User Profile requires security additions to make updates from Encompass. If a field is included in your mapping, it is important to make sure the Site User Profile has access to edit these fields.

ClosedView and Edit Site User Profile

Appendix

Sample Trigger Code

This trigger code fires a sync to Encompass on all inserts and updates. Additional lines may be required to limit trigger activity. The trigger below only fires for records that already have a Loan ID (which means a user has manually sent the update to Encompass) and the user is not the Site user.

Sending updates for Webhook events are not supported.

Creating a Custom Tab for Error Log

Encompass administrators have the option to create a custom tab to display error logs.

ClosedAdd Custom Display Error Logs Tab

Resolving Conflicting Fields

If one or more custom field names are both on the same Salesforce object, specifically on the Opportunity object, additional steps are required to accommodate the conflict.

  • For example, when calling the API name “Interest_Rate__c” (which is the clients custom field), Salesforce returns/updates the Encompass namespace prefixed field.

The Salesforce flow is able to address both fields independently and can be used to synchronize data between them outside of the connector itself.

For a brief procedure and related information on resolving this issue, please refer to the Resolving Conflicts Field page.

View Resolving Conflicting Fields

Encompass Custom Mapping

View the Encompass Custom Mapping guide to review Encompass and Salesforce field mappings.

View Mapping Guide

Tips, Tricks, & Customization Options

ClosedPerson Objects

ClosedTurn Off Duplicate Rules

ClosedPage Layout

ClosedData Models

ClosedField Mapping

ClosedTrigger Insertion

ClosedTrigger with Updates

ClosedInvocable Actions

Process Builder or Lightning Flow (Optional)

If you do not wish to use the Apex Trigger for outbound syncing, a Process Builder and/or Lightning Flow can be set up to handle outbound sync.

ICE Mortgage Technology Professional Services offers several default flows for the Encompass Object model. These models are not included in the Encompass Object setup package, but they can be installed separately and then modified as needed.

These flows include:

  • Record Deletion
  • Borrower Pair Swapping

ClosedSetup Process Builder

ClosedSetup Lightning Flow

Creating a Send to Encompass Quick Action Button (Optional)

A quick action Send to Encompass button can be created for the primary loan object Salesforce is syncing with Encompass. This will enable your users to manually send loan data to Encompass.

Only the object defined as the primary loan object by the mapper can successfully use the Send to Encompass quick action button. This button is optional, not required.

ClosedSend to Encompass Quick Action Button

ClosedAdd Button to Page