Basic ServiceNow Interview Questions
Basic ServiceNow Interview Questions
1) What is ServiceNow?
IT services
Operations
Business management
LDAP is Light weight Directory Access Protocol. You can use it for user data
population and user authentication. ServiceNow integrates with LDAP directory to
streamline the user log in process and to automate the creation of user and
assigning them roles.
For example:
On Incident forms, the priority lookup rules sample data automatically. Then, set
the incident Priority based on the incident Impact and Urgency values. Data lookup
rules allow to specify the conditions and fields where they want data lookup to
occur.
CMDB Baselines will help you, understand and control the changes made to a
configuration Item(CI). These Baselines act as a snapshot of a CI.
8) What is a view?
View defines the arrangement of fields on a form or a list. For one single form we
can define multiple views according to the user preferences or requirement.
9) What is ACL?
An ACL is access control list that defines what data users can access and how they
can access it in ServiceNow.
Impersonating a user means giving the administrator access to what the user
would have access to. This includes the same menus and modules. ServiceNow
records the administrator activities when the user impersonates another user. This
feature helps in testing. You can impersonate that user and can test instead of
logging out from your session and logging again with the user credentials.
Intermediate ServiceNow Interview Questions
11) What are dictionary overrides?
With data policies, you can enforce data consistency by setting mandatory and
read-only states for fields. Data policies are similar to UI policies, but UI policies
only apply to data entered on a form through the standard browser. Data policies
can apply rules to all data entered into the system, including data brought in
through email, import sets or web services and data entered through the mobile UI.
Client script sits on the client side(the browser) and runs on client side
only.Following are the types of client script:
OnLoad()
OnSubmit()
OnChange()
OncellEdit)
16) How can you cancel a form submission through client script?
In order to cancel a form submission the onSubmit function should return false.
Refer the below mentioned syntax:
Business rule is a server side script. It executes each time a record is inserted,
updated, deleted, displayed or queried. The key thing to note while creating a
business rule is, when and on what action it has to be executed. The business can
be run or executed for following states
Display
Before
After
Yes, it is possible to call a business rule through a client script. You can use glide
ajax for the same.
19) What is the Parent table for incident, change and problem? What
does it do?
The Task table is the parent table of Incident, Problem & Change. It makes sure any
fields, or configurations defined on the parent table automatically apply to the child
tables.
A catalog item that allows users to create task-based records from the Service
Catalog is called as a record producer. For example, creating a change record or a
problem record using record producer. Record producers provide an alternative
way to create records through Service Catalog
21) What is a glide record?
Glide record is a java class. It is used for performing database operations instead of
writing SQL queries.
An import set is a tool that imports data from various data sources and, then maps
that data into ServiceNow tables using transform map. It acts as a staging table for
records imported.
A transform map transforms the record imported into ServiceNow import set table
to the target table. It also determines the relationships between fields displaying in
an Import Set table and fields in a target table.
When an import makes a change to a table that is not the target table for that
import, this is when we say foreign record insert occurs. This happens when
updating a reference field on a table.
Zing is the text indexing and search engine that performs all text searches in
ServiceNow.
It is used to enhance the system logs. It provides more information on the duration
of transactions between the client and the server.
It triggers an event for a task record if the task is inactive for a certain period of
time. If the task remains inactive, the monitor repeats at regular intervals.
28) What is domain separation?
29) How can you remove ‘Remember me’ check box from login page?
You can set the property – “glide.ui.forgetme” to true to remove the ‘Remember me’
check box from login page.
The HTML Sanitizer is used to automatically clean up HTML markup in HTML fields
and removes unwanted code and protect against security concerns such as cross-
site scripting attacks. The HTML sanitizer is active for all instances starting with the
Eureka release.
Check box is used to select whether the variables used should cascade, which
passes their values to the ordered items. If this check box is cleared, variable
information entered in the order guide is not passed on to ordered items.
Metrics, record and measure the workflow of individual records. With metrics,
customers can arm their process by providing tangible figures to measure. For
example, how long it takes before a ticket is reassigned.
Global text search: Finds records in multiple tables from a single search field.
Search screens: Use a form like interface to search for records in a table.
Administrators can create these custom modules.
Each update set is stored in the Update Set [sys_update_set] table. The
customizations that are associated with the update set, are stored
in [sys_update_xml] table.
37) What happens when you mark a default update set as complete?
If the Default update set is marked Complete, the system creates another update
set named Default1 and uses it as the default update set.
38) Can you add Homepages and Content pages to ‘update sets’ in
ServiceNow?
Homepages and content pages don’t get added to ‘update sets’ by default. You
need to manually add pages to the current ‘update sets’ by unloading them.
Reference qualifiers restricts the data, that can be selected for a reference field.
41) What is the latest servicenow user interface and when was it
released?
It is a unique 32-character GUID that identifies each record created in each table in
ServiceNow.
44) Can you update a record without updating its system fields(like
sys_updated_by, sys_updated_on)?
Yes, you can do it by using a function autoSysFields() in your server side scripting.
Whenever you are updating a record set the autoSysFields() to false.
Reference qualifier is used to restrict the data that is select able for a reference
field.
46) What is Performance Analytics in ServiceNow?
48) Can I have more than one function listening to the same thing?
You can, but there is no guarantee of sequencing. You cannot predict what order
your event handlers will run.
49) Which method do you use to get all the active/inactive records
from a table?
You can use addActiveQuery() method to get all the active records and
addInactiveQuery() to get the all inactive records.