Servicenow
Servicenow
questions by interviewers. If you wish to brush up your ServiceNow basics, then I would
recommend you take a look at this video first. This video will introduce you to
ServiceNow basics and hold you in good state to get started with this ‘ServiceNow
Interview Questions’ blog
In case you have attended a ServiceNow interview in the recent past, do paste those
ServiceNow interview questions in the comments section and we’ll answer them ASAP.
So let us not waste any time and quickly start with this compilation of ServiceNow
Interview Questions.
1) What is ServiceNow?
IT services
Operations
Business management
All aspects of IT Services live in the ServiceNow ecosystem. It gives us a complete view
of services and resources. This allows for broad control of how to best allocate
resources and design the process flow of those services.Refer this link to know
more What Is ServiceNow?
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.
Data lookup and record matching feature helps to set a field value based on some
condition instead of writing scripts.
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.
Dictionary overrides provide the ability to define a field on an extended table differently
from the field on the parent table. For example, for a field on the Task [task] table, a
dictionary override can change the default value on the Incident [incident] table without
affecting the default value on Task [task] or Change [change].
Coalesce is a property of a field that we use in transform map field mapping. Coalescing
on a field (or set of fields) lets you use the field as a unique key. If a match is found
using the coalesce field, the existing record will be updated with the information being
imported. If a match is not found, then a new record will be inserted into the database.
UI policies dynamically change information on a form and control custom process flows
for tasks. UI policies are alternative to client scripts. You can use UI policies to set
mandatory fields,which are read only and visible on a form. You can also use UI policy
for dynamically changing a field on a form.
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
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.
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.
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.
So this brings us to the end of the blog. I hope you enjoyed these ServiceNow
Interview Questions. The topics that you learnt in this ServiceNow Interview questions
blog are the most sought-after skill sets that recruiters look for in a ServiceNow
Professional.