-
Notifications
You must be signed in to change notification settings - Fork 907
Creation of new Script include CaclculateDueDate #1814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creation of new Script include CaclculateDueDate #1814
Conversation
…nces in Published KB Articles
…nces in Published KB Articles
…llment Group References in Published KB Articles directory
ravichandra1998g
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @sivamuruganandam-coder
Thank you for submitting!
If the check at line no 13 is false, the days won't decrement and it will go in a loop.
we have GlideDate folder under core ServiceNow APIs and this script is more suitable under that folder.
please make the changes and add the script under appropriate folder.
PR Description:
Description:
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.
This can be used anywhere within the server side scripts like fix scripts, background scripts, UI Action (server script).
Pre-requisite:
A schedule record with valid schedule entries should be created in the cmn_schedule table
Pull Request Checklist
Overview
Code Quality
Repository Structure Compliance
Core ServiceNow APIs/Server-Side Components/Client-Side Components/Modern Development/Integration/Specialized Areas/Documentation
Restrictions