Loading
Salesforce now sends email only from verified domains. Read More
Help Agent Performance DegradationRead More
Insurance
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          InsCensusServiceStd:setCensusRatingFacts

          InsCensusServiceStd:setCensusRatingFacts

          Use this service to set AttributeSelectedValues on the GroupCensus record based on the rating fact passed to the service.

          Class: ​InsCensusServiceStd​​

          Method: setCensusRatingFacts

          How It Works

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

          2. The service uses drBundleName Omnistudio Data Mapper to populate the AttributeSelectedValues_c fields of the GroupCensus object. It uses the SpecProduct2Id__c as a lookup field to link the GroupCensus to a Rating Fact.

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

          Service Behavior

          Understand how different inputs affect the service outputs.

          Input Service Output
          No censusId or invalid censusId AttributeSelectedValues are not populated.
          No ratingFactSpecId and invalid ratingFactSpecId AttributeSelectedValues are not populated.
          Invalid drBundleName Empty AttributeSelectedValues are populated.
          Valid censusId and ratingFactSpecId AttributeSelectedValues are populated for the passed census.

          Remote Options

          ​Option​ ​Description​
          ​​​censusId​​​

          ​Required​.

          ID of the group census to be associated with the Rating Fact spec.

          ​​​ratingFactSpecId​​​

          ​Required​

          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

          Here's the sample input JSON format:

          { 
             "censusId":"ID",
             "ratingFactSpecId":"ID",
             "drBundleName":"Name"
          }

          Here's the sample input JSON:

          { 
             "censusId":"a4D4P000000hbjSUAQ",
             "ratingFactSpecId":"01tRO000000VpnYYAS"
             "drBundleName":"TransformGroupCensus"
          }

          Output JSON

          The service populates attribute selected values on group census.

           
          Loading
          Salesforce Help | Article