Service Catalog Masked variable Show/Hide button should visible after RITM status closed complete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-25-2022 07:21 AM
Hello Experts,
I have a requirement Show/Hide buttons in service catalog Masked variable Fields should Visible to Assignment Groups with ITIL Role After Ticket Closes.
This issue started with the Tokyo upgrade. Please note that SNOW admins still see the show/hide information;
other assignment groups and user with catalog_view_masked role are not able to see show/hide selection . It is visible while the request is open, but is removed once the request is closed. Kindly provide your suggestions.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-25-2022 09:15 AM
Can you check if there's any UI Policy or Client script which is making the variables read-only? You might make changes to that to have this work.
BR.
Ishaan Shoor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2022 02:28 AM
Hi Ishaan,
Thank you for the response.
There is a UI Policy/Client script named "make field read only on Close". I deactivated and tried with below script , however it is not working. Still the show/hide button not visible for closed complete REQ.
function onLoad() {
/var catitem = g_form.getValue('cat_item');
var states = g_form.getValue('state');
if(catitem == 'sys_id'){
if(states == '3'){
g_form.setReadOnly('variables.variable name', false);
alert(g_form.getValue('variables.variable name'));
} else{
g_form.setReadOnly('variables.variable name', true);
alert('Empty');
}
}}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-29-2022 07:49 AM
Hi All,
Got the solution for this issue.
Some ACL may restrict the access of sensitive data. After Tokyo upgrade we have to create write ACL for ITIL role users to enable or visible Show/Hide buttons in service catalog Masked variable Fields after Ticket Closes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2024 12:39 PM
I know this is somewhat old but can you let me know what kind of ACL you used? On Vancouver.