what is UTILS in script include?is it different from normal script includes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2020 06:18 AM
i have gone through wiki, but i didnt get any idea. can anyone explain?
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2020 07:17 AM
Hi Uma,
There's no real documentation unless the code has been commented. In order to understand how these script includes work you need a level of JS knowledge in order to read the code and interpret what it does.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2020 06:50 AM
can i create utils? if yes how can i do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2020 08:47 AM
Can you share what you are after? What do you want to know about "Utils"? What is your expectation of such? What do you want to do?
Please provide some info.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2021 07:36 AM
If You mean using "Utils" in the end of the Script Include's name, then it's just a naming convention used to distinguish the Script Includes which are storing the majority of the application's server-side logic. In other words this is a way how to highlight important or useful Script Includes.
For more detailed info on this, please try to check: https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/new_to_servicenow/app_store_le...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2022 10:44 AM
Technically, there is no difference between Normal Script Includes & UTILS Script Includes.
Generally, for every application there will be one Script Include which stores most of the coding part. It is named as <App_Name>Utils. If a Script Include becomes long and hard to manage, consider breaking it up into multiple Script Includes based on functionality or logical groupings.
Hope this helps!!
