How to mask some field values with custom symbols

sam06102
Giga Contributor

For example, I want the `short_description` field of the `incident` table is shown as "**" based on some condition. I can create a read ACL and write a script, `if('IT Technician' == gs.getUser().getTitle() && 'software' == current.category.getValue()) current.short_description = '**'`.  I found it is OK for ListView or Form, but when clicking "Group By Short description " on the Short description column menu, the masking would become ineffective. Besides, it aslo becomes ineffective the "Global Search" and Chart.

1 REPLY 1

Rafael Batistot
Kilo Patron

Hi @sam06102 

 

May you try Use Field Value Masking Plugin

 (OOB

 

https://www.servicenow.com/docs/bundle/yokohama-servicenow-platform/page/product/service-catalog-man...

If this response was helpful, please mark it as Helpful and, if applicable, as Correct, this helps other users find accurate and useful information more easily.