ServiceNow Interview Questions and Answers

Q1 : What is the full form of CMDB?

A : The full form of CMDB is Configuration Management Database.

Learn ServiceNow to Unleash a Modern Career

Join ServiceNow Training

Q2 : What is the use of an import set tool?

A : An import set tool helps you to import data from various data sources, instead of using a transform map. The import sets can acts as a staging table for imported records.

Q3 : Name all the products of ServicesNow?

A : ServiceNow offers various type of tools which is design according to the need of a specific user.

  • Business Management Applications
  • Custom Service Management
  • IT Service Automation Application
  • HR management

Q4 : What is the use of record matching and data lookup features in ServiceNow?

A : Data lookup and record matching allow you to define field value based on a specific condition in the place of writing scripts.

Q5 : Explain the term “Business Rule.”
A : The business rule is server-side scripting. It executes whenever any record is inserted, modified, deleted, displayed, or queried. The important point to keep for creating a business rule is that when and on what action it is supposed to execute. You can apply the business rule ‘on display,’ ‘on before’ or ‘on after’ when any action is performed.

Q6 : What is domain separation in ServiceNow?

A : Domain separation is a useful ServiceNow method. It helps you to separate data into logically-defined domains. It also provides an option to separate administration.

For example, Smith is the CEO of two companies, and he is using ServiceNow single instance for both of these businesses. He doesn’t want that user of one business can see data of other business. Here you need to use domain separation to isolate the records from both businesses.

Q7 : State some best practices you should follow while using ServiceNow?

A : Here are some of the best practices which you need to follow while using ServiceNow:

  • You should replace spreadsheets and emails with collaborative workspaces.
  • You should automate every business processes of your organization.
  • You can easily develop a modern work environment using ServiceNow.
  • You should aim to enhance, structure, and automate the workflow to streamline service delivery.

Q8 : What is a data policy concerning ServiceNow?

A : You can enforce online data policies by assigning read-only attributes for all the fields. Data policies are almost similar to UI policies. However, the difference between the two is that UI policy only applies to data entered on a form by using a standard browser. On the other hand, data policies can apply rules for every data entered into the system.

Q9 : What is the use of HTML Sanitizer?

A : The HTML sanitizer automatically cleans up a markup in HTML fields. It helps to eliminate code and protect against security concerns like cross-site scripting attacks.

Q10 : Can you call a business rule with the help of a client script?

A : Yes, it is possible to call a business rule using a client script. However, you can also use glide ajax for the same.

Learn ServiceNow to Unleash a Modern Career

Join ServiceNow Training

Q11 : What do you mean by term “Application” in ServiceNow?
A : The application is a group of modules that provide related information. For example, a change application provides information related to the change process. It consists of modules like create change tickets, view change tickets, etc.

Q12 : What is a business rule?
A : The 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 the following states

  • Display
  • Before
  • After

Q13 : What is dictionary override?
A : Dictionary Overrides provides the capability to override several properties of a field in an extended table. For example, the change table is extended from the task table. There is a field named status in the task table and set as read-only. When we use this field in change form it will show be read-only. We can set this to non-read only by using the dictionary override. Similarly, there are other properties that can be set for the fields in extended table.

Q14 : What is a client script?
A : Client script sits on the client side(the browser) and run there only.types of client script are OnLoad() OnSubmit() OnChange() OncellEdit)

Q15 : What is data dictionary?
A : 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.

Q16 : What is a glide record?
A : Gliderecord is a java class that is used for database operations instead of writing SQL queries.

Q17 : What is domain separation?
A : Domain separation is a way to separate data into (and optionally to separate administration by) logically-defined domains. For example, A client XYZ have two business and they are using ServiceNow single instance for both businesses.They do not want that user’s from one business can see data from other businesses. Here we can configure domain separation to isolate the records from both businesses.

Q18 : What is scorecard?
A : A scorecard can be used to measure the performance of an employee or a business process. It is a graphical representation of progress over time. A scorecard belongs to an indicator. The first step is to define the indicators that you want to measure. Scorecards can be enhanced by adding targets, breakdowns (scores per group), aggregates (counts, sums, and maximums), and time series (totals and averages).

Q19 : What is client transaction timing?
A : Client transaction timing provides more information on the duration of transactions between the client and the server. This requires to activate the plugin – “Client transaction timing plugin”.

Q20 : What is the difference between deleteMultiple() and deleteRecord()
A : deleteMultiple() deletes multiple records according to the current “where” clause. Does not delete attachments, whereas deleteRecord() deletes a single record.

Learn ServiceNow to Unleash a Modern Career

Join ServiceNow Training

Q21 : How may types of search is available in ServiceNow ?
A : Use any of the following searches to find information in ServiceNow:
Lists: find records in a list;
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 form ­like interface to search for records in a table. Administrators can create these custom modules.

Q22 : How ServiceNow recognizes Inbound Emails?
A : Via Watermark or In­Reply­To email header. If These are not present, ServiceNow recognizes email containing a prefix in the subject line.

Q23 : How to hide watermark globally?
A : Create a new property named glide.email.watermark.visible and set it to false.

Q24 : Which method is used to get all the active/inactive records from a table ?
A : You can use the addActiveQuery() method to get all the active records and addInactiveQuery() to get the all inactive records.

Q25 : How to set the invalid queries into empty result sets ?
A : By default queries with 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.

Q26 : What is the latest ServiceNow user interface and when it was released?
A : The latest user interface is the UI14 interface. It came in Eureka release

Q27 : How to enable or disable an application ?
A : Navigate to “Application Menus” module under the system definition application. Open the respective application that requires to enable or disable. Set active as true to enable it or set active to false to disable it.

Q28 : What do you mean by impersonating a user? How it is useful?
A : Impersonating a user means that you can log in to the system as that user and can have see 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 again with that user credentials.

Q29 : 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.

Q30 : What is ACL?
A : An ACL is an access control list that defines what data a user can access and how they can access it in service now.

Learn ServiceNow to Unleash a Modern Career

Join ServiceNow Training

Q31 : What is a UI policy?
A : UI policies are alternative 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.

Q32 : What is a sys_id?
A : A unique 32-character GUID that identifies each record created in each table in ServiceNow.

Q33 : How to set a field unique on table
A : Go to that respective field dictionary and set the unique checkbox to true.

Q34 : What role you are required to create/update ACL?
A : security_admin

Q35 : What is servicenow?
A : ServiceNow is a cloud-based ITSM tool.