Things Every ServiceNow Developer Must Know : Part 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Things Every ServiceNow Developer Must Know : Part 3
1)glide.servelet.uri
gs.getProperty('glide.servlet.uri')This property will return your instance base url . This is helpful when creating urls for emails. Instead of creating static url you can use this .
2)what is Archival in ServiceNow :
ServiceNow archives data—primarily closed, outdated, or inactive records from high-volume tables like incident, problem, and change_request—to improve system performance, reduce table sizes, and meet compliance needs. Archived data is moved from active tables to specialized archive tables (*_archive) and can be restored if necessary .
You can refer this thread : archive in servicenow
https://www.youtube.com/watch?v=QUjayurYoHo&t=35s
3)How to add font-family in notification email body fonts :
There is one system property namely glide.ui.html.editor.font.collection through which you can add font families .
4)What is playbook in flow designer ?
In ServiceNow, a Playbook is a guided process designed to help agents and fulfillers complete their work efficiently by following predefined steps within Agent Workspace. It provides a structured and interactive user experience that aligns business workflows with agent activities.
Playbooks act as a step-by-step operational guide, enabling users to perform tasks, capture information, and interact with related records without navigating away from the workspace. This ensures consistency, improves productivity, and reduces the chances of missing important actions .
5)How to create table and fields using script :
//creating table
var gr=new GlideRecord('sys_db_object')
gr.initialize()
gr.name='Raw_table_demo';
gr.label='raw table demo';
gr.insert();
//creating fields
var field=new GlideRecord('sys_dictionary')
field.initialize();
field.name='raw name';
field.internal_type='raw_name';
field.column_label='raw_name';
field.element='raw_name';
field.active=true;
field.max_length=50;
field.insert();// I just tried this for my curiosity to see by using script can we create table , fields or not
You can also refer :
Things Every ServiceNow Developer Must Know : part 1
Things Every ServiceNow Developer Must Know : Part 2
This list very useful for interviews, real projects, and best practices 😀 .
