Developers and admins using the InsPolicyService createRenewalQuote service to generate renewal quotes may notice that the resulting Quote.Name field does not reflect the value stored in InsurancePolicy.PolicyName. This is a common source of confusion because users expect the policy name to carry over to the renewal quote automatically.
The root cause is that the createRenewalQuote service maps the source InsurancePolicy.Name field (the standard Salesforce record name field) to the target Quote.Name field. The service does not evaluate or map the InsurancePolicy.PolicyName attribute, which is a separate field used in the Financial Services Cloud Insurance data model. As a result, if your policy name value is stored in PolicyName rather than Name, the renewal quote name will not be populated as expected.
Update Quote.Name after the renewal quote is created
1. Call the InsPolicyService createRenewalQuote service as normal to generate the renewal quote.
2. After the service completes, retrieve the newly created Quote record using the returned Quote ID.
3. Read the InsurancePolicy.PolicyName value from the source policy record. For example, retrieve the field value "Home Policy - Smith Household 2024."
4. Update the Quote.Name field on the new renewal quote with the PolicyName value using a Flow or Apex trigger
005387151

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.