Encryption Scripting There are several example scripts for you to use with encryption. Encrypt Unencrypted Attachments with ScriptThe following sample script encrypts unencrypted attachments, such as in the incident table. Set the Encryption Context ID in ScriptA function, setContextID, is provided to set the encryption context ID of an encrypted field in script. Remove Encryption ContextsThese functions remove an encryption context, or all encryption contexts, from those available to the user session. Return a Decrypted Field ValueYou can return the field value for an encrypted field by using the getDisplayValue method. Async business rulesAsync Business Rules actually operate via impersonation and impersonation does not give you the impersonated user's encryption contexts. Encryption Demo pluginA demo plugin (com.snc.task_encryption.demo) is available which demonstrates how the encrypted fields and files behavior can be customized using Business Rules, UI Actions, and UI Policy.