Masked

concept australia Updated Sep 10, 2026 3 min read masked.md
Raw file servicenow.com

The masked variable inserts a field that masks the text entered.

Each character entered is displayed as an asterisk (*). Use this variable to ask users for sensitive or confidential data such as passwords.

By selecting the Use encryption check box, you can configure the variable to encrypt its value using various encryption algorithms before storing in the database. These values can only be decrypted by using now_GR.variables.var_name.getDecryptedValue() on RITM, Catalog Task, or any task extension record created using a record producer.

Note: By default, the Use encryption field is set to true to ensure secure storage of information.

On the variable editor, you can also decrypt and encrypt the values of a masked variable using the Show and Hide buttons. These buttons are not available for a fulfiller (itil) without the catalog_view_masked role. You can only view the value that you specified while requesting.

Action

Roles

Requester

Fulfiller with the catalog_view_masked role

Fulfiller without the catalog_view_masked role

View or hide the encrypted value on catalog forms

Yes

Not applicable

Not applicable

Edit the encrypted value on catalog forms

Yes

Not applicable

Not applicable

View or hide the encrypted value on the variable editor

Yes

Yes

No

Edit the encrypted value on the variable editor

YesNote: If the masked variable is read-only on the variable editor, the variable value is not editable

YesNote: If the masked variable is read-only on the variable editor, the variable value is not editable

No

\[Omitted image "VariableMaskedVarTypesG.png"\] Alt text: A masked variable

Parent Topic:Types of service catalog variables

Related topics

Attachment

Break

Check box

Container start, container split, and container end

Date, Date and time, and Duration

Email

HTML

IP Address

Label

List collector

Lookup multiple choice

Lookup select box

Custom and Custom with label

Multi-line text

Multiple choice

Numeric scale

Reference

Requested for

Rich Text Label

Select box

Single-line text

UI page

URL

Wide single-line text

Yes/No

Variable support in various channels

Search documentation
Search document titles and file paths on the australia branch