Skip to main content

Revenue Cloud external IDs for Clone With Related records

Understand how Gearset handles external IDs when you use the Clone With Related feature in Revenue Cloud related objects

Dario Messina avatar
Written by Dario Messina
Updated this week

Note: We'll use the term Revenue Cloud in the following article to refer to both CPQ and RCA configuration data.

“Clone with related” feature in Salesforce Revenue Cloud makes it easy to create new configuration based on existing Revenue Cloud records and their related objects. This is very handy for many users as it saves them a lot of time when creating similar Revenue Cloud configuration and iterating on their work.

Note that this feature only clones the records visible directly in Salesforce, as you can't clone information that you don't have permissions to view and access.

If you use external IDs setup in Gearset, once you clone a record that has a GearsetExternalId__c field populated, the value of this field would also be cloned (duplicated). But as GearsetExternalId__c values need to be kept unique in order for the deployments to be supported, Gearset has a way to help you manage the external IDs for Revenue Cloud cloned records.

When you first choose to Add the Gearset external ID for Revenue Cloud deployments using our external IDs wizard, you'd be given an option to automatically create a simple flow that will make "Clone with Related" feature work as expected.

Choose to add flows either 'On all supported objects' or 'For objects with CloneWithRelated in layouts':

This means that if you select one of these options, Gearset will create flows that will get triggered automatically when you use Clone with Related feature. Those flows will essentially blank out the Revenue Cloud external ID value before cloning, so that they can be treated as new records and not duplicates.

Example - The flow created for Product object:

Note: Clone with related is not available on custom objects as Salesforce has not added support for this as of the time of writing. What many Salesforce users do is creating a flow that helps cloning any objects with any related lists. But this is not something that Gearset currently supports.

Did this answer your question?