Twinning: pulling Salesforce CPQ quote information into ServiceNow CPQ
Summarize
Summary of Twinning: pulling Salesforce CPQ quote information into ServiceNow CPQ
This guide outlines how to integrate Salesforce CPQ with ServiceNow CPQ, allowing the transfer of quote data during runtime. This integration, referred to as "field twinning," enables ServiceNow CPQ to utilize Salesforce quote data for configuration, rules, and calculations, tailored to whether the account is a new prospect or an existing customer.
Show less
Key Features
- Integration with Salesforce CPQ to enhance ServiceNow CPQ configurations.
- Distinction in rules for new prospects (who can select starter packages) versus existing customers (who can renew or upgrade products).
- Custom field setup in Salesforce to facilitate data transfer.
Prerequisites
Ensure the ServiceNow CPQ managed package in your Salesforce environment is version 0.8 or later. If not, submit an Upgrade SFDC Managed Package Request ticket. Confirm the existence of a field set named ReferencedFields in the Salesforce CPQ quote object (SBQQQuotec) and create it if necessary.
Implementation Steps
- Add a custom field in the SFDC CPQ quote object using the format
LGK. - Ensure the custom field is included in the ReferencedFields field set within the quote object.
- Create a corresponding field in ServiceNow CPQ with the variable name
, matching the case-sensitive format of the SFDC API name without the LGK suffix. - Associate the ServiceNow CPQ field with the relevant Blueprint.
Upon transitioning from a Salesforce quote to ServiceNow CPQ, the
You can set up Salesforce.com and ServiceNow CPQ to bring quote data into a ServiceNow CPQ configuration at runtime.
On occasion, the ServiceNow CPQ Admin will need to bring Salesforce.com (SFDC) quote data into ServiceNow CPQ, to drive configuration, rules, calculations, and so on. This article describes the setup in both SFDC and ServiceNow CPQ that will bring relevant quote data into a ServiceNow CPQ configuration experience at runtime. This method of data transfer is nicknamed Twin Field or "field twinning."
ServiceNow CPQ rules run differently depending on whether the account is a new prospect or an existing customer. ServiceNow CPQ allows new prospects to select from a subset of offers such as starter packages, whereas existing customers are limited to renewing their existing products or upgrading to higher value products.
Prerequisites
The ServiceNow CPQ managed package installed in your SFDC environment should be version 0.8 (released February 4, 2022) or later. If the managed package has not been upgraded, log an Upgrade SFDC Managed Package Request ticket in the Help Center.
Navigation in SFDC: Setup -> Object Manager -> quote (SBQQ Quote_c) -> Field Sets.
In the SFDC CPQ quote object (SBQQ_Quote_c), confirm that there is a field set named ReferencedFields. If no field set named ReferencedFields exists, create it. Navigation in SFDC: Setup -> Object Manager -> quote (SBQQ Quote_c) -> Field Sets.
Implementation
- In SFDC, add a custom field to the SFDC CPQ quote object with the format <someName>LGK. This will create a field with the API name <someName>LGK_c.
In Logik, variable names begin with a lowercase character by default. Take care to make sure your twinned quote object in SFDC begins with a lowercase character as well.
- Add this custom field to the ReferencedFields field set on the quote object. In SFDC, navigate to Setup -> Object Manager -> quote (SBQQ_Quote_c) -> Field Sets -> ReferencedFields. From the list of quote fields, drag
and drop your new custom field into the In the Field Set box.
- In ServiceNow CPQ, add a field with variable name <someName>.Note:<someName> should be the same case-sensitive string as the one defined in the SFDC API name of the corresponding field to import, <someName>LGK_c. This ServiceNow CPQ field should not have LGK suffix. Twinned fields can have different field types.
- Associate this field to the Blueprint that will utilize it.
When a user transitions from a SFDC quote into ServiceNow CPQ, the new field in ServiceNow CPQ, <someName>, will be populated with the data that SBQQ Quote_c. <someName>LGK_c stored in SFDC.
In Salesforce, the ReferencedFields field set is a custom field set that can be created on the Quote, Quote Line, and Quote Line Group objects. For more information, see SFDC: ReferencedFields Field Set in Salesforce CPQ.