Loading
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:setMemberRatingFacts

          InsCensusServiceStd:setMemberRatingFacts

          Use this service to set AttributeSelectedValues on the GroupCensusMember records based on the rating fact passed to the service.

          Class: ​InsCensusServiceStd

          Method: setMemberRatingFacts

          How It Works

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

          2. Fetches the GroupCensus, GroupCensusMember, and related GroupClass records from the passed census Id. ​

          3. The service uses the fieldset RatingFactSourceFields for fetching GroupCensusMember record data.

          4. (optional) The service uses drBundleName Omnistudio Data Mapper to populate the AttributeSelectedValues_c fields of the GroupCensusMember object. It passes the SpecProduct2Id__c as a lookup field to link the GroupCensusMember to a Rating Fact.

          5. 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 aren't populated.
          No ratingFactSpecId and invalid ratingFactSpecId AttributeSelectedValues aren't populated.
          Invalid drBundleName Empty AttributeSelectedValues are populated.
          Valid censusId and ratingFactSpecId AttributeSelectedValues are populated for each member.

          Input or Remote Options

          Provide the following as either an input or remote option:​

          ​Option​ ​Description​

          censusId​​​

          ​Group 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 group census member.​

          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":"TransformGroupCensusMember"
          }

          Output JSON

          There is no output JSON associated with this service.

           
          Loading
          Salesforce Help | Article