1. On the HealthCloudGA_PatientCardViewConfiguration__c object you have a field called : HealthCloudGA_SortOrder__c.
2. You are trying to create a record on the HealthCloudGA_PatientCardViewConfiguration__c object with a HealthCloudGA_SortOrder__c value that is a duplicate of a previously created record.
I think I think when the field HealthCloudGA_SortOrder__c was created the Unique attribute was checked (If checked, prevents duplicate field values).
Example:
Please refer to this article it will teach you a lot :
https://www.infallibletechie.com/2015/06/unique-attribute-in-salesforce-fiel.html
Also find more information about the Unique attribute here:
https://help.salesforce.com/s/articleView?id=sf.custom_field_attributes.htm&type=5
Happy learning.
3 réponses