Declaring CONST in Script Includes
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-27-2019 08:29 AM
Hello everyone,
Quick question: How do you declare CONST in a Script Includes (used globally within it)?
Thanks,
Dor
Labels:
- Labels:
-
Best Practices
-
Scripting and Coding
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-27-2019 08:34 AM
You can create system property and then use getProperty() method in script include to get value of system property.
https://docs.servicenow.com/bundle/london-platform-administration/page/administer/reference-pages/task/t_AddAPropertyUsingSysPropsList.html
Regards,
Sachin