Does anyone know of a way to reverse encryption on attachments?

John VanBruggen
Giga Guru

I am looking for a way to remove encryption context from a large number of attachments in relation to a specific table.

Is there a way to do this?   I see scripts in the WIKI that show how to encrypt en mass but nothing for removing encryption.

Thanks in advance.

Check out my Consultant's Survival Guide
https://youtube.com/watch?v=zYi8KhP9SUk
17 REPLIES 17

I wrote a script to print out all functions for a given object.


Unfortunately parameter names are inaccessible.



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

Sounds like a cool script.


Check out my Consultant's Survival Guide
https://youtube.com/watch?v=zYi8KhP9SUk

Artemis15
Kilo Guru

you can't removet the encryption in sys_attachment table. Actually, all the attachments are BASE64 encoded   you can read them and get the data pragmatically but can't rempove the encyption.


Do you have a source for this?   One that says 'Once encrypted always encrypted"?


Check out my Consultant's Survival Guide
https://youtube.com/watch?v=zYi8KhP9SUk

The SN Nerd
Giga Sage
Giga Sage

I would still like to understand the business requirement for this...



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022