Scripted report not working for non-admin Users - scoped applications

Snehal Madakatt
Mega Sage

Hi Team,

 

I have used the script in the filters for reports created in the UI Builder. The filters are working for admin but for non admin its not working. In native ui when i tested the script it gives no records,..wch means the non admin is not getting access to the script include. 

 

I have referred below and created ACL so that non user can have access to the script include. I have added roles/groups/answer=true. tried all 3 ways, but still the user is not getting access to the script include. 

 

Can anyone suggest what needs to be done to fix this. Below are snaps for reference.

 

https://www.servicenow.com/community/itsm-forum/report-filter-using-script-include-is-not-working-fo...

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0749222

SnehalMadakatt_1-1721382087379.png 

SnehalMadakatt_2-1721382282867.png

 

Regards,

Snehal

2 REPLIES 2

HrishabhKumar
Kilo Sage

Hi @Snehal Madakatt ,

Please check the following:

1) the role required for the script include, is it available for the non admin users as well.

2) read role required to query the table, which you are using to fetch the sys_ids.

 

Thanks.

Hope it helps.  

@HrishabhKumar 

1) the role required for the script include, is it available for the non admin users as well.==>yes,

2) read role required to query the table, which you are using to fetch the sys_ids.==>yes, see below

SnehalMadakatt_0-1721386335176.png