Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to display password in flow designer

Ha Le
Tera Expert

Hello everyone, I have flow like below:

Screenshot_48.png

 

Screenshot_49.png

I use data pill to get password, But it's display *********, not display value

Screenshot_51.png

 

I using script to display password, but it's not work

 

Screenshot_52.png

3 REPLIES 3

Ha Le
Tera Expert

hi everyone

newhand
Mega Sage

@Ha Le 

The field "password" is  "Password (1 Way Encrypted)" Type.

You will never get the decrypted password text.

 

Below is the Description of   "Password (1 Way Encrypted)" 。

・Text field that stores passwords with one-way encryption. One-way encryption stores the password as a secure hash value that cannot be decrypted.

Please mark my answer as correct and helpful based on Impact.

Marek Meres
Tera Expert

Hi @Ha Le 

 

A bit late probably but maybe someone finds it useful: you can try GlideElement.getDecryptedValue() to get the plain text password value. May work or not but worth trying, it worked for me:

Capture.PNG

 Best regards,

 

Marek