Lessons › Domain 4: Application Automation (20%) › Lesson 14
Application Properties
About 10 minutes · Last checked against the CAD blueprint (January 2026): 4 December 2026
Step 1 · Learn
Settings without changing code
An application property stores a value that administrators may want to change without editing scripts, such as the maximum loan period or an email address.
Creating properties
- Create a system property in the application scope. Its name starts with the scope, such as
x_acme_loans.max_days. - Choose a type, such as string, integer or true/false, and a description that explains it.
- Group the properties in a property category.
Reading them
Scripts read a property with gs.getProperty('x_acme_loans.max_days', '14'). The second argument is the default if the property is missing. Properties are read on the server; pass values to the client with a display business rule or GlideAjax.
A settings page
Add a module that opens the properties page for the category, for example a URL module pointing to system_properties_ui.do?sysparm_category=Loans. Restrict the module, and the properties, to the application's admin role.
Step 2 · Do
Add a loans setting
The maximum loan period changes every year. Make it a property and give admins a page to change it. This is a practice environment of our own design, not the ServiceNow product. Complete the tasks in the task list.
Step 3 · Check
Exam-style questions
Select an answer and check it. Every answer includes an explanation.