About the "Encrypted Text" type field

Koki
Tera Contributor

I have a question about the "Encrypted Text" type field.

I know that when a user with a Role tied to an Encryption Context enters an "Encrypted Text" type field, the input value is encrypted.

However, I have noticed that if I use a Business Rule to copy the input value from another field and enter it into the "Encrypted Text" type field, it is not encrypted. (Although the value seems to become invisible.)
Can someone please explain why this is?

 

4 REPLIES 4

Tony Chatfield1
Kilo Patron

Hi, unfortunately your question\issue not clear.
If the value becomes invisible then how can you know\see that it is not encrypted?
Is this because it is not visible in the UI but still visible via XMl view of the record?


Perhaps if you share details of your configuration, the forum will be in a better position to understand and respond.
Even better would be if you can reproduce this behavior in an OOB PDI and then provide exact steps to reproduce?

Using ServiceNow's built-in debugging tools, we checked the contents of the "Encrypted Text" type field.

The result was that it was not encrypted.

find_real_file.png

 

Curious indeed, what tool are using for this debug result?
and what process are you using to populate the encrypted\password field?

The "Script Debugger" provided on the form screen for defining Business Rules was used for verification.

find_real_file.png

The following Business Rule was used for input to the "Encrypted Text" type field.

find_real_file.png

find_real_file.png

I hope this gets the message across.