You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Script Include calculates a future due date by adding a specified number of business days to a given start date, based on a defined schedule.
3
+
This can be used anywhere within the server side scripts like fix scripts, background scripts, UI Action (server script).
4
+
5
+
**Pre-requisite:**
6
+
A schedule record with valid schedule entries should be created in the cmn_schedule table
7
+
8
+
**Sample:**
9
+
var daysToAdd = 4; // No of days need to be added
10
+
var script = new CaclculateDueDate().calculateDueDate(new GlideDateTime(),daysToAdd); // Passing the current date and daysToAdd value to script include
0 commit comments