The CreatorCon Call for Content is officially open! Get started here.

Encryption Field Not working when using web sevices. setContextID, setDisplayValue functions not working when using web service

santoshsahoonis
Kilo Guru

Hi,

I am using a encryption field in my incident form.
When i'm updating the incident from service now UI, then the encrypted field is getting updated properly.

But, when I'm updating the same incident form via SOAP web services, the encrypted field is not getting updated.
I have used setContextID and setDisplayValue functions for that encryted field.

I think that setContextID is not working for web services.
kindly, let me know any workaround or any solution to this problem.


Thanks & Regards,
Santosh Sahoo

5 REPLIES 5

Chris18
Tera Contributor

Has anyone come up with a solution for this? I want to run an encryption script each night to make sure folks encrypted attachments. I have run into the same issue because the system runs the scheduled script and attachments are not encrypted.

Is there a way I can maybe run a script from our midserver that logs me into the system and runs the script? Or, is there a way to give the system the encryption context role?

Just brainstorming...