Given
- Existing custom field
Asset.SerialNumber
(OOTB - Text) - New custom field
Asset.SerialNumber_bis__c
(Text255, External Id non-unique, deterministic encrypted case insensitive) - Existing custom formula field
Case.SerialNumber__c
that is defined asAsset__r.SerialNumber
When
- use UI field Editor and change the formula in
Case.SerialNumber__c
- FROM:
Asset__r.SerialNumber
- TO:
Asset__r.SerialNumber_bis__c
RESULT
Data Uniqueness Violation - The proposed data changes would violate a uniqueness constraint.
upon attempting to save the changed formula field
How do I get around this problem? The newly-referenced field isn't defined to be unique.