Service Now Interview Questions and Answers

Service Now Interview Questions and Answers


What is service now?

It is a cloud-based IT Service Management tool

What do you mean by term “Application” in service now?

Application is a group of modules which provides its related information.For example change application provides the information related to change process. It consist of modules like create change ticket,view change tickets etc.

How to enable or disable an application ?

Navigate to “Application Menus” module under system definition application.Open the respective application that require to be enable or disable.Set active as true to enable it or set active to false to disable it

What is  CMDB?

Configuration Management Data Base and 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.

Which is the Parent table for the incident, change, and problem?

Task table

What is a record producer?

A record producer is a type of a catalog 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 record producer. Record producers provides an alternative way to create records through service catalog

What is an UI policy?
UI policies are alternative to client scripts.It can be used to set a field as mandatory, readonly and visible on a form. You can also use UI policy for dynamically changing a field on a form.
What is a data policy?
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 to insert that record into the table.
What is difference between UI policy and data policy?
UI policy acts when a record is inserted or updated through a servicenow UI i.e servicenow forms while data policy acts whenever a record is inserted or updated into database through any means.
 What is a client script?

Client script sits on the client side(the browser) and run there only.types of client script are OnLoad() OnSubmit() OnChange() OncellEdit)

What do you mean by impersonating a user? How it is useful?

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

What is a record producer ?
A record producer is a type of a catalog 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 record producer. Record producers provides an alternative way to create records through service catalog

What is an UI policy?
UI policies are alternative to client scripts.It can be used to set a field as mandatory, readonly and visible on a form. You can also use UI policy for dynamically changing a field on a form.

 What is a data policy?
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 to insert that record into the table.

What is a business rule?
Business rule is server side scripting that executes whenever a record is inserted, updated, deleted, displayed or queried.The key thing to keep in mind while creating a business rule is that when and on what action it has to execute. You can run the business rule ‘on display’, ‘on before’ or ‘on after’ of an action (insert,delete,update) is performed.

What is difference between UI policy and data policy ?
UI policy acts when a record is inserted or updated through a service now UI i.e service now forms while data policy acts whenever a record is inserted or updated into database through any means.

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

How will you hide/show a field using client script?
You can use the g_form.setVisible(‘fieldname’, ‘value’); method to show/hide a field using client script.

What does the current.setAbortAction(true); statement do?
The setAbortAction() method is part of the GlideRecord API. Pass true to the method to abort the next database operation for a record.

What is transform Map?

A transform map transforms the record imported into ServiceNow import set table to the objective table. It additionally decides the connections between fields showing in an Import Set table and fields in the target table.

What is an update set?
Update set is a group of customization.It captures the customization or configuration changes made by a user and then these update sets can be moved from one instance to another. For example if we made some configuration changes in our development environment and want same changes in our test environment then we can capture all the changes in an update set and can move this update set to the test environment instead of doing changes manually in test environment.

How to get the row count in a gliderecord?
By using the getRowCount() function you can retrieve the number of rows.

How to create a new role?
Navigate to User Administration > Role and click New.

What is the difference between next() and _next() method ?
next() method is responsible to move to the next record in GlideRecord. _next() provides the same functionality as next(), intended to be used in cases when we query the table having a column name as next.

1 Comment

Add a Comment
  1. Good Questions for interview preparation, but these are very few, can you please post some more questions

Leave a Reply

Your email address will not be published. Required fields are marked *

4 + 9 =


Tech Contents © 2016
Inline
Inline