Insurance Industries Extension

The package that connects Vlocity policy services to the FSC Insurance Policy model: the InsPolicy interface, what it requires and when to build it.

This subcategory’s orientation page settles the boundary with a sentence from Help: Digital Insurance and the Insurance managed package — a packaged application installed into the org — “don’t interoperate”. So how does a policy that Vlocity policy services administer end up inside the Insurance Policy objects that Financial Services Cloud reads? There is exactly one documented bridge: what it is, how it translates, what it requires and when it is worth building.

What the package is

Help introduces it in one sentence: “The Insurance Industries Extension package is an add-on application that requires Financial Services Cloud (FSC) licenses from Salesforce”. An add-on, not a platform feature: it is installed and enabled. Two articles also call it a managed package, and one distinguishes it from the Insurance managed package: they are two packages that tend to be installed together.

Its documentation lives in the Digital Insurance tree. The boundary between the two products and their coexistence are the subject of Insurance in Financial Services Cloud; this page does not repeat them.

“Vlocity” is a legacy name: Help uses it in three of this node’s five articles without defining it in any of them, so this page quotes it where Help writes it and invents no definition for it. What Help does name are the two services: InsPolicyService and InsPolicyRevenueScheduleService.

Why the InsPolicy interface exists

“The InsPolicy interface is a generic service interface that lets Vlocity policy services work with any policy data model, including the Salesforce FSC Insurance Policy data model.” The word that matters is any: InsPolicy does not translate towards Financial Services Cloud, it is a common shape that any model can conform to.

The reason is dated. Beginning with Winter ’20, Help says, those services no longer touch database objects and fields: they rely on the caller to fetch or post the data, using OmniStudio Data Mappers or Apex classes. The Get one fetches the data and conforms it to the interface; the Post one accepts the interface and writes to the database. No cited article defines those two terms; this page glosses them without stepping outside its quotes: a Data Mapper retrieves, writes and modifies data declaratively, and Apex is code that runs on the Salesforce server.

So the package does not move policies: it supplies the missing piece between a service that no longer knows how to write and a model that has to be filled.

A policy's path between the policy services and the Insurance Policy data modelThe path has four steps in a single column. First, the policy services Help calls Vlocity's, InsPolicyService and InsPolicyRevenueScheduleService, which since Winter 20 no longer touch database objects or fields. Second, the InsPolicy interface, the common shape on which those services run their business logic. Third, the OmniStudio Data Mapper or the Apex class that the Insurance Industries Extension package supplies: the Get one fetches the data and conforms it to the interface, the Post one accepts the interface and writes to the database. Fourth, the objects of the Financial Services Cloud Insurance Policy data model.Policy services:InsPolicyService andInsPolicyRevenueScheduleServiceInsPolicy interface:a shape common toany data modelPackage Data Mapperor Apex class:Get fetches,Post writesInsurance Policyobjects of FinancialServices Cloud

How a policy crosses: the object-to-object mapping

Help publishes the full correspondence: eight pairs of objects.

Object in the extension’s model Financial Services Cloud object
Asset InsurancePolicy
AssetCoverage__c InsurancePolicyCoverage
AssetInsuredItem__c InsurancePolicyAsset
AssetPartyRelationship__c InsurancePolicyParticipant
InsuredItemPartyRelationship__c InsurancePolicyMemberAsset
AssetTransaction__c InsurancePolicyTransaction__c
AssetPricingAdjustment__c InsurancePolicyPricingAdjustment__c
AssetRevenueScheduleEntry__c InsurancePolicyRevenueScheduleEntry__c

The root on one side is Asset, the Salesforce asset object. The right-hand column is what Insurance data model explains.

Two rows carry a condition, and they are the ones that break a naive integration. InsurancePolicyAsset requires an associated CustomerProperty record via the CustomerPropertyId field, and Help points out that CustomerProperty is a Financial Services Cloud-specific object. InsurancePolicyParticipant requires an associated Contact record via PrimaryParticipantContactId. These are not recommendations: Help’s word is required.

What the package ships, and how it gets into the org

The package ships eight Data Mappers and two custom classes to use with the two services, and Help says what for: they let you use those services with the Financial Services Cloud model “without having to write your own Data Mappers or custom classes”. The two ends of the path can be read in their names: getFSCPolicyDetail retrieves that model and converts it to the interface; postFSCPolicyDetailGeneric takes the interface, converts it to the model and inserts the records.

They have to be imported: from Setup, the org’s administration console, open the static resource DP_InsFscDRs, save it as .json and import it into OmniStudio DataPacks from the Installed tab. “DataPack” is a screen name Help does not define.

And they can be changed: Help documents how to add custom fields to them, with the warning that those fields do not show up on the Vlocity policy user interface.

If what ships does not fit, Help documents writing a custom class that implements vlocity_ins.VlocityOpenInterface2 with a getData method, which converts the model into an InsPolicy object, or postData for the reverse path.

This page’s own reading: that is maintenance, not an installation. No source calls it that.

What it requires: licenses, settings and switches

The bridge is enabled from Financial Services Cloud, not from Digital Insurance, and in three steps: from Setup, find Financial Services, open Insurance Settings and enable Access Master List of Coverage Types and Use Many-to-Many Relationships. Those two checkboxes are two of the three that, according to Help in the Financial Services Cloud tree, cannot be disabled once enabled; all five on that screen are the subject of Insurance Settings. Enabling the bridge leaves a permanent mark on the schema.

The licenses are the hard figure, and Help ties them to a specific condition: for the Insurance Policy core object model to enable automatically on install or upgrade, you need a Salesforce FSC license, a Policy Administration one and a Claims Management one; in addition, Financial Services Cloud orgs need the Insurance Contract and Enroll add-on license, and Health Cloud orgs the Benefits Sales & Administration - Group one. No cited article defines those five or says how they are bought.

Reaching the package’s objects takes one more layer: the permission set licenses Policy Administration and Claim Management, which Help marks as optional and only for anyone using the managed package.

One switch remains, the one that rescues a half-finished upgrade. The core object model enables on its own on install or upgrade, and a custom setting disables it: Setup, Custom Settings, Insurance Configuration Setup, field useVlocityPolicyModel. Its sense is inverted: False, the default value, picks the core model; True picks the Asset model, which Help recommends to anyone upgrading who is not ready to move yet.

A figure by absence, a finding and not a gap: none of the cited articles prints a Required Editions block. This page claims no editions for this bridge.

What it does not cover

Three things, with their scope.

The field mapper. For Insurance Policy items to display correctly, the CustomFieldMap file has to be installed as a DataPack, and changing it forces a list of manual post-upgrade tasks, from deleting the mappings between Quote and Insurance Policy to verifying them. Two of those articles do not resolve today.

An object with no counterpart. In Help’s harmonized objects table, ProducerCommissions of Financial Services Cloud has none as its counterpart. It is worth scoping: that article is about data migration scripts between models, not about the interface at run time, so the figure says migration does not cover it, not that the interface rejects it.

The developer documentation. The Insurance Developer Guide on developer.salesforce.com does not mention this interface: neither “Industries Extension”, nor “Vlocity”, nor VlocityOpenInterface2 appears. The custom class contract exists only in Help.

Example: private banking in Andorra

An invented case. An Andorran private bank distributes insurance for a partner insurer that administers those policies with Vlocity policy services, and wants its advisers to see them in the Insurance Policy objects. The sequence is this page’s proposal.

  1. Licenses first. Salesforce FSC, Policy Administration, Claims Management and the Insurance Contract and Enroll add-on.
  2. Decide the model. A new implementation, not an upgrade: leave useVlocityPolicyModel at False.
  3. Enable in a sandbox, a copy isolated from production. The two Insurance Settings checkboxes there first, because in production they cannot be cleared.
  4. Import what ships. DP_InsFscDRs into OmniStudio DataPacks, and check that the eight Data Mappers and the two classes are there.
  5. Resolve the mapping’s two conditions. Every insured item needs its CustomerProperty and every participant its Contact. That work decides whether the first policy lands or fails.
  6. Open up access. The Policy Administration and Claim Management permission set licenses.

The first policy crosses when the Get Data Mapper returns a valid InsPolicy object and the Post one writes the InsurancePolicy with its coverage, its asset and its participant.

When an architect builds this bridge

Salesforce publishes no criterion; this page deduces one from the above. The question is whether the system that already administers the policies speaks the InsPolicy interface. If it does, this package is the documented route and saves writing the integration. If it does not, it adds nothing: it is not a generic connector.

Situation What this page recommends
The policies are administered by InsPolicyService or InsPolicyRevenueScheduleService Build the bridge with this package
The policy system is another one, in-house or third-party Your own integration; this package does not apply
Policies only need displaying and no policy services sit behind them Leave the two worlds apart
One of the licenses Help names is missing Settle the license before designing
Nobody will maintain Data Mappers or Apex classes Leave the two worlds apart

The last row is this page’s reading, not a claim from Help. No source compares this bridge with not building it.

Before using it in production

  1. Confirm the five licenses Help names, the add-on included (“What it requires”).
  2. Put in writing that the two Insurance Settings checkboxes cannot be disabled (“What it requires”).
  3. Set useVlocityPolicyModel knowing that True picks the Asset model (“What it requires”).
  4. Import DP_InsFscDRs and verify the eight Data Mappers and the two classes (“What the package ships”).
  5. Resolve CustomerProperty and Contact for every asset and every participant (“How a policy crosses”).
  6. Assign the Policy Administration and Claim Management licenses (“What it requires”).
  7. Name who maintains the Data Mappers and the classes (“When an architect builds this bridge”).

Official sources

Back to the knowledge base