Problem Statement
This error is caused by Salesforce validation on the 'FromAddress' field. The field contains a restricted picklist that only accepts predefined values. If the value being restored does not match any of these predefined values, the error is triggered.
Overview
While restoring an EmailMessage object in Salesforce, if the ‘from address’ field has an external email address, Salesforce will fail to validate and restore the object as the field value (external email address) does not exist in the production org.
Resolution
To resolve this issue, use ‘Data Translation’ to nullify the 'ValidateFromAddress' field during the restore process. This allows the restore to complete successfully without triggering the validation error.
Steps to Nullify the 'ValidateFromAddress' Field Using Data Translation:
Access Data Translation Settings under Restore Template
Scroll to ‘ValidateFromAddress’ field
Edit the value to (.*)
Save the changes and proceed to restore
Additional Notes:
Ensure that nullifying the 'ValidateFromAddress' field does not impact other business processes or data integrity in your Salesforce environment.
This solution is specific to the 'ValidateFromAddress' field validation error. Other fields with restricted picklists may require similar translation rules.
For more detailed information and support, please refer to the official Druva documentation or contact Druva support.
