regarding decryption of password two way field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2023 11:46 PM
I have a field type of password" (2-way encryption). How can I decrypt the field value and save the decrypted value in the same field so that users with a specific role can see the decrypted value?
My requirement is that I should have a field where value should be encrypted and saved as encrypted in the backend. But if a specific user with a specific role logins to the instance, that user should be able to see the decrypted value in the same field.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2023 11:50 PM
Hi there,
The requirement as you are describing is not possible. What you could do as alternative, is for example having a UI Action, the user clicks on it, an info message is shown with the decrypted value.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field