Corporate Training
Request Demo
Click me
Menu
Let's Talk
Request Demo

Servicenow Interview Questions and Answers

by Mohammed, on Mar 22, 2018 12:59:12 PM

Servicenow Interview Questions and Answers

Q1. What is servicenow?

Ans: Servicenow is a cloud based IISM tool. Please check the below url before attending a service-now interview.

Q2. What is a view ?

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

Q3. What is ACL?

Ans: An ACL is access control list that defines what data a user can access and how they can access it in service now.

Q4. What do you mean by term "Application" in servicenow?

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

Q5. How may types of search is available in ServiceNow ?
Use any of the following searches to find information in ServiceNow:

Ans:

  1. Lists: find records in a list;
  2. Global text search: find records in multiple tables from a single search field.
  3. Knowledge base: find knowledge articles.
  4. Navigation filter: filter the items in the application navigator.
  5. Search screens: use a form­like interface to search for records in a table. Administrators can create these custom modules.

Q6. Which roles are used by Knowledge management?

Ans: Knowledge management uses these roles knowledge, knowledge_admin , and admin role.

Q7. What is full form of CMDB

Ans: Configuration Management Database

Q8. What is CMDB Baseline

Ans: CMDB baselines helps to understand and control the changes that have been made to a configuration item(CI) after its Baseline has been created. Baseline is the snapshot of a CI

Q9. What is dictionary override?

Ans: Dictionary Overrides provides the capability to override several properties of a field in extended table.For example change table is extended from task table.There is a field named status in task table and set as read-only.When we use this field in change form it will show be a 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.

Q10. What do you mean by coalesce?

Ans: 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 unique key.If a field match is found with the coalesce field, then existing record will be updated with the imported information in target table else a new record will be inserted into the target table

Q11. How to enable or disable an application ?

Ans: 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

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

Ans: Impersonating a user means that you can log in to the system as that user and can have feel 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.

Q13. What is installation exit?

Ans: 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 custom script that replaces the script in the default installation exit.

Q14. What is import set?

Ans: Import Sets is a tool used to import data from various data sources and, then using transform map, map that data into ServiceNow tables. The Import Sets table acts as a staging table for records imported.

Q15. What is transform Map?

Ans: A transform map transform 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 target table

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

Ans: Task table.

Q17. What is difference between UI policy and data policy

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

Q18. What is a client script?

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

Q19. How can you cancel a form submission through client script?

Ans: In the onSubmit function return false. function onSubmit() { return false; }

Q20. What is a business rule?

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

Q21. Can you call a business rule through a client script

Ans: Yes you can call a business rule through a clientscript by using glideajax

Q22. What is a gliderecord?

Ans: Gliderecord is a javaclass that is used for database operations instead of writing SQL queries.

Q23. What do you mean by data lookup and record matching

Ans: Datalookup 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 sets 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 lookups to occur.

Q24. What is an update set?

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

Q25. What is inactivity monitor?

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

Q26. What is domain separation?

Ans: 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 business.They do not want that user's from one business can see data of other business.Here we can configure domain separation to isolate the records from both business.

Q27. What is a sys_id?

Ans: A unique 32-character GUID that identify each record created in each table in servicenow

Q28. What is LDAP Integration and its use?

Ans: LDAP is Lightweight Directory Access Protocol.It is used 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

Q29. What is a record producer

Ans: 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

Q30. What is an UI policy?

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

Q31. What is a data policy?

Ans: 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

Q32. How to set a field unique on table

Ans: Go to that respective field dictionary and set the unique check box to true.

Q33. What is data dictionary?

Ans: 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

Q34. What happens when a user make some changes the homepage

Ans: When a user make some changes on the homepage then that pages is saved as his personalized homepage instead of updation on the actual homepage.For example home page name is Incident overview.When a user make some changes on it then this page is saved as My incident overview and is only visible to that user.

Q35. What do you mean by indicators in performance analytics in servicenow?

Ans: Indicators, also known as metrics, business metrics, or KPIs, are statistics that businesses track to measure current conditions and to forecast business trends.

Q36. How to set the default value of a date field to current datetime value?

Ans: Goto the dictionary of the respective date-time field and set the default value as : javascript:gs.nowDateTime();

Q37. What is client transaction timing?

Ans: Client transaction timing provides more information on the duration of transactions between the client and the server.This require to activate the plugin - "Client transaction timing plugin"

Q38. What role you are required to create/update ACL?

Ans: security_admin

Q39. How you can check on which servicenow instance node you are working ?

Ans: Goto SystemDiagnostic -> Stats. Statistic page will be open where you can get the details of node and the instance on which you are working on

Q40. What does the Client Transaction Timings plugin does?

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

Q41. Ho you can remove Remember me check box from login page?

Ans: You can set the property - "glide.ui.forgetme" to true to remove the Remember me check box from login page.

Q42. What is HTML Sanitizer?

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

Q43. Which table is used in servicenow to audit changes to records?

Ans: ServiceNow uses the Sys Audit [sys_audit] table to audit changes to records.

Q44. What is Schema map?

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

Q45. What is a dashboard?

Ans: Dashboard is a visual collection of reports and paralytics presented as KPI scorecards and indicator summary tab.

Q46. What is scorecard?

Ans: 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).

Q47. What a setWorkflow(e) function does?

Ans: setWorkflow(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 - Boolean variable that if true (default) enables business rules, and if false to disables them.

Q48. What the setForceUpdate() function does?

Ans: setForceUpdate() updates the record even if there is no changes on the record.

Q49. What is the significance of setLimit(n) function?

Ans: .setLimit(n) functions limits the number of records to query by Gliderecord().

Q50. How to get the row count in a gliderecord?

Ans: By using the getRowCount() function you can retrieve the number of rows.

Q51. How to enable or disable the pie chart labels

Ans: To enable or disable the labels in pie chart we need to set the property glide.ui.chart.pie.labels to true or false.

Q52. What do you mean by Foreign record insert?

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

Q53. Which searching technique is used to search a text or record in Servicenow ?

Ans: Zing is the text indexing and search engine that performs all text searches in ServiceNow.

Q54. What is the difference between deleteMultiple() and deleteRecord()

Ans: deleteMultiple() deletes multiple records according to the current "where" clause. Does not delete attachments, whereas deleteRecord() deletes single record.

Q55. How to restrict users to upload an attachment in servicenowFollowing is the step wise step process:

Ans:

  • Navigate to System Properties > Security.
  • In the Attachment limits and behavior section, locate the List of roles (comma-separated) that can create attachments: property (glide.attachment.role).
  • Enter one or more roles separated by commas.
  • Only roles listed in this property are able to upload attachments to a record. If no roles are entered, then all roles can upload attachments to ServiceNow forms.
  • Click Save.

Q56. How to disable attachment on a specific servicenow table?

Ans: Go to the dictionary of that table and add "Add no_attachment" to the Attributes field.

Q57. What is the significance of cascade variable checkbox in order guide ?

Ans: Check box 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.

Q58. What are Gauges ?

Ans: A gauge can be based on a report and can be put on a homepage or a content page.

Q59. What do you mean by Metrics in ServiceNow?

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

Q60. Can you update a record without updating its system fields(like sys_updated_by, sys_updated_on)

Ans: 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.
example:

var gr = new GlideRecord('incident');
gr.query();
if(gr.next()){
gr.autoSysFields(false);
gr. short_description = "Test from Examsmyntra" ;
gr.update();
}

 

Topics:Servicenow Interview Questions And AnswersInformation Technologies (IT)

Comments

Subscribe

Top Courses in Python

Top Courses in Python

We help you to choose the right Python career Path at myTectra. Here are the top courses in Python one can select. Learn More →

aathirai cut mango pickle

More...