We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

ACL Script Query

Hugo Mendoza
Tera Contributor

Would anyone happen to know if there is a reference of some sort on how to write scripts for ACLs?  I'm Interested in leveraging time-based functions and properties to control what a user sees based on time of day. 

Would appreciate any information about how to handle time zones and conversions, too, since the server time doesn't appear to be local time (as expected of course).     

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron

Hi @Hugo Mendoza 

 

Try these

 

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

 

https://www.servicenow.com/community/developer-blog/what-is-servicenow-acl-how-to-create-and-debug-s...

 

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

1 REPLY 1

Dr Atul G- LNG
Tera Patron

Hi @Hugo Mendoza 

 

Try these

 

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

 

https://www.servicenow.com/community/developer-blog/what-is-servicenow-acl-how-to-create-and-debug-s...

 

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************