File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Core ServiceNow APIs/GlideAjax/Check Weekend - Client Side Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ # ServiceNow Weekend Checker (Client-Side Utility)
3+
4+ A reusable client-side script to detect weekends (Saturday/Sunday) and modify ServiceNow form behaviour accordingly.
5+
6+ # Overview
7+
8+ This project contains a simple, reusable utility for determining if the current date (based on the user’s browser timezone) falls on a weekend.
9+ It’s ideal for Client Scripts, Catalog Client Scripts, or Service Portal widgets.
10+
11+ # Features
12+
13+ - ✅ Lightweight — no dependencies
14+ - ✅ Works across all client script contexts
15+ - ✅ Includes helper method for automatic info messages
16+
17+ ## ⚙️ Usage
18+ Create the Script Include present in the WeekendChecker.js file
19+ Use the Client-Side Script to call GlideAjax and determine if the day/date is a weekend or not.
You can’t perform that action at this time.
0 commit comments