Loading
The online Trailblazer Community becomes read-only Oct 30, 2026Read More
Important Advisory: iOS Update Impacting CG Mobile ApplicationRead More
Insurance
InsCensusService:setCensusRatingFacts

InsCensusService:setCensusRatingFacts

Use this service to associate a Rating Fact spec to a census, and automatically extract information from the census fields to populate the Attribute Selected Values for the census, based on the Rating Fact.

Important
Important From Winter '23 onward, we have InsCensusServiceStd:setCensusRatingFacts service enabled to work with Salesforce Standard Data Model for Financial Services Cloud and Health Cloud. Existing customers can continue to use this service, but no further enhancements will be provided in the Insurance Managed Package.

The service passes the census header fields (including custom fields) to an Omnistudio Data Mapper in the same way that the InsCensusService:setMemberRatingFacts service does to map Rating Fact attributes and census members.

This census level service allows you to reference a different Rating Fact, with different attributes, than the one associated at the census member level.

Class: InsCensusService

Method: setCensusRatingFacts

How It Works

  • The service takes the censusId, ratingFactSpecId, and drBundleName as either inputs or remote options.

  • The drBundleName Data Mapper is used to populate the AttributeSelectedValues_c fields of the Census object with the Attribute Selected Values, and uses the SpecProduct2Id__c as a lookup field to link the census to a Rating Fact.

  • Both the SpecProduct2Id_c and AttributeSelectedValues_c are used in the rating.

Remote Options

Option

Description

censusId

Census Id to be associated with the Rating Fact spec.

ratingFactSpecId

Rating Fact spec Id to be associated with the census.

drBundleName

Name of transform Data Mapper to map Rating Fact attributes and census.

Input JSON

This service does not use an input JSON.

Output JSON

There is no output JSON associated with this service.

 
Loading
Salesforce Help | Article