Service Catalog Masked variable Show/Hide button should visible after RITM status closed complete

dkh
Tera Contributor

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.

5 REPLIES 5

Ishaan Shoor
Mega Sage
Mega Sage

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. 

Hope this helps!
BR.
Ishaan Shoor

dkh
Tera Contributor

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');
}

}}

dkh
Tera Contributor

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.

Dave P
Tera Contributor

I know this is somewhat old but can you let me know what kind of ACL you used? On Vancouver.