function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sfdc2705sfdc2705 

Trigger-Encrypted field

Please let me know " if a trigger could evaluate whether the encrypted field has a value (not null) and populate another field based on that criteria?"

Are there any limitations.

Appreciate any thoughts on this.

Abhi_TripathiAbhi_Tripathi
Hi ,

Yes trigger can evaluate, weather encrypted field have values or not.

Limitation is that if you have "see Encrypted data" permission then only you can see the value of the Encrypted fields, otherwise you can use it, but unable to see the value of the encrypted field.

You can take a look at this post also
https://help.salesforce.com/apex/HTViewHelpDoc?id=fields_about_encrypted_fields.htm&language=en (https://help.salesforce.com/apex/HTViewHelpDoc?id=fields_about_encrypted_fields.htm&language=en)


Regards
Abhi Tripathi
Salesforce Certified Developer