Tanushree Maiti
Tera Patron

Hi @Axel5 ,

 

At our end, we are currently using the following snippet:

 

var dayOfWeek = new GlideDateTime().getDate().getDayOfWeek();    


This appears to be working fine for us.

 

You may also want to consider adding additional logging (gs.log) to help identify exactly where the issue might be occurring.

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti