ServiceNow Questions
ServiceNow Questions
2022
1. Difference Between ServiceNow & Salesforce?
2. What is ServiceNow?
4. What is the latest ServiceNow user interface and when it was released?
8. What is a view?
10. How to set the default value of a date field to the current date-time
value?
Do you want to build your career in ServiceNow, then Visit Mindmajix - a global online training
platform: "ServiceNow Training" This course will help you to achieve excellence in this domain
2) What is ServiceNow?
ServiceNow is a cloud-based ITSM tool. Please check the below URL before attending a
service-now interview.
The latest user interface is the UI14 interface. It came in Eureka release
CMDB baselines help to understand and control the changes that have been made to a
configuration item(CI) after its Baseline has been created. The baseline is the snapshot
of a CI
8) What is a view?
The 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 requirements.
An ACL is an access control list that defines what data a user can access and how they
can access it in service now.
Impersonating a user means that you can log in to the system as that user and can
have felt how the service-now UI is set for that user. This is very useful while testing.
For example, if you are required to test that a user can access the change form or not.
You can impersonate that user and can test instead of logging out from your session
and logging in again with that user's credentials.
11) Which is the Parent table for the incident, change, and problem?
Task table
A record producer is a type of catalogue item that allows users to create task-based
records from the service catalog. For example, you can create a change record or
problem record using a record producer. Record producers provide an alternative way
to create records through the service catalogue
Coalesce is a property of a field that we use in transform map field mapping. When we
set the coalesce as true for a field mapping it signifies that this field will work as a
unique key. If a field match is found with the coalesce field, then the existing record will
be updated with the imported information in the target table else a new record will be
inserted into the target table
UI policies are alternatives to client scripts. It can be used to set a field as mandatory,
read-only, and visible on a form. You can also use UI policy for dynamically changing a
field on a form.
Data policy checks the mandatory and read-only of a field whenever a record is
inserted or updated through a web service or import set. For example: If a mandatory
field in the incoming record (from import set or web-service) is empty then the data
policy will not allow inserting that record into the table.
Client script sits on the client-side(the browser) and run there only.types of client script
are OnLoad() OnSubmit() OnChange() OncellEdit)
19) How can you cancel a form submission through client script?
In the onSubmit function return false. function onSubmit() { return false;}
Yes you can call a business rule through a client script by using glideajax
Gliderecord is a java class that is used for database operations instead of writing SQL
Queries.
Data lookup and record matching feature helps to set a field value based on some
conditions instead of writing scripts. For example: on Incident forms, the priority
lookup rules sample data automatically sets the incident Priority based on the incident
Impact and Urgency values. Data lookup rules allow specifying the conditions and fields
where they want data lookups to occur.
A unique 32-character GUID that identifies each record created in each table in
ServiceNow
Servicenow Developer Interview Questions
26) What are LDAP Integration and its use?
LDAP is the Lightweight Directory Access Protocol. It is used for user data population
and User authentication. Servicenow integrates with LDAP directory to streamline the
user login process and to automate the creation of user and assigning them roles
Go to that respective field dictionary and set the unique check box to true.
The data dictionary defines every table and field in the system. It contains information
about a field’s data type, default value, dependency, and other attributes.
When a user makes some changes on the homepage then that page is saved as his
personalized homepage instead of updation on the actual homepage. For example, the
home page name is Incident overview. When a user makes some changes to it then this
page is saved as My incident overview and is only visible to that user.
Explore ServiceNow Sample Resumes Download & Edit, Get Noticed by Top Employers!
security_admin
31) How can you check on which ServiceNow instance node you are
working on?
Goto SystemDiagnostic -> Stats. Statistic page will be open where you can get the
details of the node and the instance on which you are working on
Installation exits are customizations that exit from Java to call a script before returning
back to Java. Navigate to System Definition > Installation Exits. Some installation exit
names (Login, Logout, ValidatePassword, ExternalAuthentication) are reserved and
cannot be changed. Other installation exits can override these with a custom script that
replaces the script in the default installation exit.
Import Sets is a tool used to import data from various data sources and, then using
transform map, a map that data into ServiceNow tables. The Import Sets table acts as a
staging table for records imported.
A transform map transforms the record imported into the ServiceNow import set table
to the target table. It also determines the relationships between fields displaying in an
Import Set table and fields in the target table
A foreign record insert occurs when an import makes a change to a table that is not the
target table for that import. 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.
The Client Transaction Timings plugin enhances the system logs by providing more
information on the duration of transactions between the client and the server. By
providing information on how time was spent during the transaction, performance
issues can be tracked down to the source by seeing where the time is being consumed.
39) What is an inactivity monitor?
An inactivity monitor triggers an event for a task record if the task has been inactive for
a certain period of time. If the task remains inactive, the monitor repeats at regular
intervals.
41) How you can remove the Remember me check box from the login
page?
You can set the property – “glide.ui.forgetme” to true to remove the Remember me
check box from the login page.
The HTML sanitizer automatically cleans up HTML markup in HTML fields to remove
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.
ServiceNow uses the Sys Audit [sys_audit] table to audit changes to records.
The schema map displays the details of tables and their relationships in a visual
manner, allowing administrators to view and easily access different parts of the
database schema.
45) What is a dashboard?
Indicators, also known as metrics, business metrics, or KPIs, are statistics that
businesses track to measure current conditions and to forecast business trends.
48) How to set the default value of a date field to the current date-
time value?
Goto the dictionary of the respective date-time field and set the default value as
javascript: gs.now DateTime;
set workflow(e) enables or disables the running of business rules that might normally
be triggered by subsequent actions. If the e parameter is set to false, an insert/update
will not be audited. Auditing only happens when the parameter is set to true for a
GlideRecord operation.
Parameters:
e – A boolean variable that if true (default) enables business rules, and if false to
disables them.
Learn more about workflows then read our Servicenow Workflow blog
setForceUpdate() updates the record even if there are no changes on the record.
53) Can you update a record without updating its system fields(like
sys_updated_by, sys_updated_on)?
By using the getRowCount() function you can retrieve the number of rows.
delete multiple() deletes multiple records according to the current “where” clause. Do
not delete attachments, whereas delete record() deletes the single record.
Go to the dictionary of that table and add “Add no_attachment” to the Attributes field.
Checkbox to select whether the variables used should cascade, which passes their
values to the ordered items. If this checkbox is cleared, variable information entered in
the order guide is not passed on to ordered items.
A gauge can be based on a report and can be put on a homepage or a content page.
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 or changes state.
Global text search: find records in multiple tables from a single search field.
Knowledge base: find knowledge articles.
Navigation filter: filter the items in the application navigator.
Search screens use a formlike interface to search for records in a table.
Administrators can create these custom modules.
62) Which roles are used by Knowledge management?
Navigate to Reports > Create New. In releases prior to Eureka, navigate to Reports >
View / Run and then click New.
List
Bar
Pivot
Pie
Calendar
You can Add glide.sys_reference_row_check to the System properties and set it to true.
Navigate to System Policy > Email > Inbound Actions and Click New.
Via Watermark or InReplyTo email header. If These are not present, ServiceNow
recognizes an email containing a prefix in the subject line.
Explore ServiceNow Sample Resumes Download & Edit, Get Noticed by Top Employers!
${URI} shows the word LINK whereas ${URI_REF} shows the display value of the record
as the link text.
Each update set is stored in the Update Set [sys_update_set] table, and the
customizations that are associated with the update set, are stored in [sys_update_xml]
table.
78) Does Homepages and Content pages are added to the update
sets?
Homepages and content pages are not added to update sets by default. You must
manually add pages to the current update set by unloading them.
Reference qualifiers are used to restrict the data that is selectable for a reference field.
83) How to change the banner and list caption background color?
You can change banner and list caption background color by navigating to
System Properties > CSS.
You can, but there is no guarantee of sequencing. You cannot predict what order your
event handlers will run.
90) Which method is used to get all the active/inactive records from a
table?
You can use the addActiveQuery() method to get all the active records and the
addInactiveQuery() to get all inactive records.
91) How do you get the result set from two tables in the glide script?
92) Which object is used to reference the currently active form in the
client script?
g_form object is used to reference the currently active form in the client script
93) Which object is used to refer to the currently logged-in user in the
client script?
You can use the object g_user object to get the details of the currently active user.
You can use the g_form.setVisible(‘field name’, ‘value’); method to show/hide a field
using client script.
96) What is the processing order for Record ACL rules?
97) How do you get the records of specified fields which are not null?
addNotNullQuery(‘name’);
98) How will you get all the records where the incident is having a
category as hardware or software?
99) How to set the invalid queries into empty result sets?
By default queries with the invalid field, names run but ignore the invalid condition. For
more strict query control you can enable the glide.invalid_query.returns_no_rows
property which will result in an empty result set for invalid queries.
By using the method changes() you can determine that the field value has been
changed for a record.
o During the interview, be open and honest about any knowledge you have
or while explaining the topics on your CV. If you don't know something,
accept it or say you haven't worked on it previously.
Give some examples from real life:
Yes, both front-end and back-end involve coding, and you'll rely heavily on
ServiceNow's proprietary JS libraries for database transactions.
Yes. Even if you're a newbie or an experienced pro, you can easily build a successful
career with ServiceNow. All you need for a stable ServiceNow career is to acquire the
right ServiceNow training and go over the top ServiceNow interview questions, and
you'll be all ready to land a job in ServiceNow.
Here are the few ways that help you to get hired in ServiceNow -
The first thing to visit when you’re looking for opportunities at ServiceNow is its
careers page. This will show you all the open positions and will let you filter by
category, location, and whether you are interested in a full-time or part-time job.
Select the role and read the job description thoroughly and focus on what skills
they are looking for. The best thing to do this is to attain the right training and
earn the certification.
Once you are ready, start applying for the roles and get hired.
ServiceNow provides digital workflows that boost productivity and provide great
experiences for employees and organisations. The major reason behind ServiceNow’s
popularity is that it offers features that no other ITSM tool has, such as an intuitive
service experience, assured service availability, key service metrics, process delivery
and management, real-time communication, customer engagement, collaboration and
resource sharing, testing, quality assurance, and more.
ServiceNow has turned into a market leader in the ITSM space. As a result, ServiceNow
has become an in-demand job skill for employers. ServiceNow Developers and
administrators are in higher demand than ever, and jobs requiring talent and
experience with the platform are on the rise. Becoming a ServiceNow certified opens
many opportunities for landing a good, and high-paying career.
The following are the most important skills a ServiceNow developer should have:
Proficiency in JavaScript.
Expertise in UI, SQL, HTML, and CSS are beneficial.
Knowledge in XML and structured programming concepts are required.
Experience in ServiceNow implementations
Capacity to solve difficult situations
Communication and presentation skills.
Time management skills
Below listed are the main roles and responsibilities of a ServiceNow developer:
Functional consultant
Process architect
Technical consultant
Business or process analyst
Platform owner
Technical lead
Administrator
Implementation specialist
Developer