Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2022 08:19 AM
Hi, i'm trying to send an email that shows an encrypted masked variable through flow designer and the answer is always a big code instead of the word i want.
Different codes in flow designer i've tried:
/////////////////////////////////////////////////////// 1 //////////////////////////////////////////////////////////////////////////
var encr = new GlideEncrypter();
var sen = encr.decrypt(fd_data._4__get_catalog_variables.new_pass);
return "New pass: " + sen;
/////////////////////////////////////////////////////// 2 //////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////// 3 //////////////////////////////////////////////////////////////////////////

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 08:00 PM
Flow's are not able to handle Mask variable values directly. If the Mask variable is encrypted follow this article: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0826510
If not encrypted >> Pass the variable to a Flow action >> Use a glide lookup and return the vale as usual via an output variable:
Ex: