- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 01:18 AM
Hi All,
I have created custom action in the flow designer we are passing input(password) in the custom action but we are not getting the plain text password
we are getting the password2 output while running the test connection but we are not getting the plain text .
Can you help on this .
Thanks and Regards,
Chandan Patra
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 02:47 AM
from where this action is getting called?
I got the point that you want to send encrypted password to AD server may be via some spoke etc
For GlideEncrypter's encrypt method you need to pass plain text password and then it will give you encrypted value.
GlideEncrypter - encrypt(String clearString)
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 01:32 AM
what's your actual business requirement?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 02:36 AM
@Ankur Bawiskar : we need to encrypt the password to send to the AD server for further process , for that i have created custom action that i need to do the encrypt the password . so I am getting the encrypted password but plan password is not coming in the output.
Thanks,
Chandan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 02:47 AM
from where this action is getting called?
I got the point that you want to send encrypted password to AD server may be via some spoke etc
For GlideEncrypter's encrypt method you need to pass plain text password and then it will give you encrypted value.
GlideEncrypter - encrypt(String clearString)
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 06:25 PM
HI @Ankur Bawiskar ,
I am getting the encrypted password whatever we are giving the input as a password but i have written another extra line to see the what is the input i have given but that one is not printing .
this line of script is not n giving the output(outputs.plain_text = inputs.password;):