Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

UX Client Scripts not getting called for non-itil users within a workspace

flenoci
Tera Contributor

Hello,

 

I have a role that is not itil and would like them to have read access to a workspace page. They are able to view the page and fields fine, but there is some logic contained within client scripts for hiding/showing components which is not getting called. I have tested it for users with the itil role and it seems to be working as expected. I have looked around to see if there is some ACL I need to configure to get this to work. Anyone experience similar issues? 

 

bug1.PNG

bug2.PNG

  

6 REPLIES 6

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Could you post the script in the hide component property?

bug3.PNG

Here is the script. It is weird because when I put a console log it runs as an itil user but it doesn't seem to get called as a user without that role.