DON'T WANT TO MISS A THING?

Certification Exam Passing Tips

Latest exam news and discount info

Curated and up-to-date by our experts

Yes, send me the newsletter

Top ServiceNow Developer Interview Questions & Answers | SPOTO

Whether you're preparing for your first job interview or leveling up your career, having the right preparation makes all the difference. This comprehensive resource covers the most common and challenging Interview Questions and Answers across a wide range of roles and industries — from technical positions to managerial and entry-level jobs. Browse our curated lists of Frequently Asked Interview Questions, behavioral interview questions and answers, situational interview questions, and role-specific interview prep guides designed to help you walk into any interview with confidence. Whether you're looking for IT interview questions and answers, project management interview questions, or top interview questions for freshers, our expert-reviewed content gives you real-world sample answers, proven tips, and insider strategies to help you stand out.
Make your resume stand out — at SPOTO, you can accelerate your career growth by preparing for job interviews while studying for your certification. Click Learn More to take the first step toward career advancement.
View Other Interview Questions

1
How do you handle data migration from a legacy system to ServiceNow?
Reference answer
Data migration involves exporting legacy data, cleansing and formatting it, importing it using Import Sets, and mapping with Transform Maps. Coalesce fields are used to avoid duplicate records, while scripted transforms support complex logic. Testing in sub-production ensures accuracy before go-live. Migration may involve REST, SOAP, JDBC, or flat-file transfers. Final verification ensures data integrity and usability.
2
What is the difference between a Business Rule and a Script Included in ServiceNow? (important ServiceNow scripting interview question)
Reference answer
Business Rule: - Business Rules are server-side scripts that run when specific conditions are met. - They operate at the database level and trigger actions, such as updating records, setting field values, or displaying messages. - Business Rules are designed to execute automatically and can be configured to run before or after record operations (insert, update, delete). - They are useful for enforcing data consistency, implementing validations, or performing calculations during record operations. Script Include: - Script Includes are reusable server-side scripts that can be called from various client or server-side scripts. - They encapsulate a set of functions and can be utilized across multiple applications or modules within ServiceNow. - Script Includes promoting code modularity, reusability, and maintainability. - They are commonly used for complex business logic, data manipulation, or integrations. Example: Let's consider a scenario where you want to enforce a business rule that calculates the total cost of a purchase order (PO) based on the quantity and unit price. Additionally, you want to reuse this calculation logic in other areas of the system. Business Rule: Create a business rule on the Purchase Order table that triggers after an update. In the script, calculate the total cost by multiplying the quantity and unit price fields and updating the Total Cost field on the PO record. Script Include: Create a script include called “POUtils” with a function named “calculateTotalCost(quantity, unitPrice).” This function performs the calculation and returns the result. In the business rule, call the “calculateTotalCost” function from the script include to update the Total Cost field.
Career Acceleration

Earn a certification to make your resume stand out.

According to data analysis, IT certification holders earn an annual salary that is 26% higher than that of average job seekers. At SPOTO, you have the opportunity to accelerate your career growth by pursuing certification and preparing for job interviews simultaneously.

1 100% Pass Rate
2 2 Weeks of Dump Practice
3 Pass the Certification Exam
3
What are the types of changes in ServiceNow?
Reference answer
The main change types are Standard, Normal, and Emergency. A Standard Change is a low-risk, pre-approved routine change (for example, a scheduled backup). A Normal Change follows the whole approval process, often requiring CAB review and testing. An Emergency Change is for urgent fixes, such as a security patch after a critical incident, and bypasses some customary approvals to restore service quickly. For instance, a database restart might be a standard change, while deploying a hotfix after hours could be an emergency change.
4
Explain Business Service Management (BSM) Map.
Reference answer
The BSM Map is a graphical tool that visualizes the relationships and dependencies between Configuration Items (CIs) and the business services they support. It helps in understanding the impact of CI outages on business processes.
5
HTTP methods what is PATCH and PUT
Reference answer
PUT is a method of modifying a resource where the client sends data that updates the entire resource . PATCH is a method of modifying resources where the client sends partial data that is to be updated without modifying the entire data.
6
What are GlideRecord and GlideAjax in ServiceNow scripting?
Reference answer
GlideRecord and GlideAjax are two important classes in ServiceNow scripting:
7
What is Change Management?
Reference answer
Change Management in ServiceNow is a process that controls the lifecycle of all changes to IT infrastructure and services, with the goal of minimizing disruption and ensuring that changes are assessed, approved, implemented, and reviewed in a controlled manner. It involves creating change requests, assessing risk and impact, obtaining approvals from change advisory board (CAB), planning and scheduling changes, implementing changes, and performing post-implementation reviews.
8
How to enable or disable an application in ServiceNow?
Reference answer
Navigate to the "Application Menus" module under the system definition application. Open the respective application that requires enabling or disable. Set active as true to enable it or set active to false to disable it
9
What is ACL in ServiceNow?
Reference answer
ACL (Access Control List) controls user access and permissions at the field, record, and table level. ACL rules determine whether a user can read, write, delete, or create records based on conditions, scripts, and roles. They secure sensitive enterprise data and enforce compliance. ACLs evaluate from most specific to least specific. Proper ACL configuration protects organizational information assets.
10
How do you implement and use Update Sets in ServiceNow?
Reference answer
Update Sets capture configuration changes such as forms, scripts, workflows, and fields. Developers create a new Update Set, perform changes, and mark it Complete after finishing. The file is moved to another instance and previewed to resolve conflicts. After validation, it is committed to apply changes. Update Sets support versioning and controlled releases.
11
What is a foreign record insert in ServiceNow?
Reference answer
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.
12
What is an Outage?
Reference answer
An Outage is a period during which an IT service or component is unavailable or not functioning as expected, often tracked as a downtime event.
13
How does the Service Catalog enhance user experience in ServiceNow?
Reference answer
The Service Catalog in ServiceNow enhances the user experience by providing a centralized, easy-to-use platform for users to request IT services, hardware, software, or access to systems. It simplifies the process of submitting requests, managing tasks, and ensuring consistent service delivery. Key Enhancements of the Service Catalog: - Intuitive design for easy browsing and service requests. - Users can submit and track requests independently without contacting IT. - Streamlined workflows, approvals, and task assignments for efficient processing. - Tailored catalogs and dynamic fields based on user roles and needs. - Users can track request status and receive notifications for improved communication. Example: A user can request a new laptop, select the model, and submit the request directly through the Service Catalog. The request is then routed for approval, and the appropriate IT team is notified, automating the entire process from request to fulfillment.
14
What is the difference between UI policy and Data policy?
Reference answer
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 the database through any means.
15
What does success look like for a ServiceNow Developer?
Reference answer
- Solutions work reliably, are easy to use, and are easy to maintain. - Stakeholders feel their needs are understood and met. - Incidents and defects related to their work are few and resolved quickly. - The platform remains stable and upgrade‑friendly.
16
How do you create a new table in ServiceNow?
Reference answer
You navigate to System Definition > Tables, click 'New'. You provide a label, name, and specify if it extends another table (like Task). Then you add columns (fields) as needed and save.
17
What are the different types of reports in ServiceNow?
Reference answer
Few reports are:
18
What are UI policies used for in ServiceNow?
Reference answer
UI policies dynamically change form behavior. They can make fields mandatory, read-only, or hidden based on conditions, improving data accuracy and user guidance without scripting.
19
What is a script include and when would you use it?
Reference answer
A script include is a reusable server-side script that stores functions or classes. It is used when you need to call the same logic from multiple server-side scripts or from client-side scripts via GlideAjax. This reduces code duplication and makes maintenance easier.
20
What is a foreign record insert?
Reference answer
A foreign record insert occurs when a Transform Map attempts to insert or update a record in a related table that users do not normally have permission to modify. It happens when reference fields create new records automatically during transformation. These inserts may bypass intended ACL security controls if not carefully configured. Administrators monitor foreign inserts for system safety and data consistency. Proper mapping prevents unauthorized or duplicated records.
21
What is an SLA (Service Level Agreement)?
Reference answer
An SLA defines the expected service targets and deadlines for fulfilling requests or resolving incidents. In ServiceNow, an SLA is attached to a record and automatically measures elapsed time against its goals. It can trigger warnings or escalations if targets are missed. For instance, an SLA might state that “High priority incidents must be resolved within 4 hours”. You may be asked how to configure SLA conditions when the clock starts, pauses, or stops.
22
Compare Global Business rule and Script Include. Which one is preferred among both?
Reference answer
Global Business Rules are server-side scripts that run on all tables and are triggered by database operations like insert, update, delete, or query. Script Includes are reusable server-side script libraries that can be called from other scripts. Script Includes are generally preferred for reusability and maintainability, while Global Business Rules should be used sparingly due to performance impact.
23
How does a ServiceNow Developer support documentation?
Reference answer
- Documents technical designs for complex solutions. - Records configuration details and any special logic. - Writes short notes or runbooks where operations teams need guidance. - Keeps documentation updated when changes are made.
24
What is a transform map in ServiceNow?
Reference answer
- A transform map in ServiceNow is a field map set that controls the relationship between the import set table's displayed fields and the target table's existing fields, like or . - After transform map creation, you can reuse this to map data from one more import set to the same table. - A transform map allows an administrator to define final destinations for data imported on tables. This will make it easier to specify linkage between the import set table's source fields and the target table's destination fields. - You can use transform mapping to dynamically map source fields and destination fields.
25
What is difference between resolved and closed?
Reference answer
Resolved means the incident has been fixed and the user has been notified, while closed means the incident is fully completed and no further action is needed, often after user confirmation.
26
What is an inactivity monitor?
Reference answer
An inactivity monitor is used in event triggering for a task record if the task was kept in an inactive state for a certain period. If the task remains in an inactive state, the inactivity monitor repeats at regular intervals.
27
How many ways you can attach a workflow to a catalog item?
Reference answer
You can attach a workflow to a catalog item by: 1. Setting the 'Workflow' field on the catalog item form to the desired workflow. 2. Using the 'Flow' or 'Workflow' tab in the catalog item definition. 3. Configuring a record producer to trigger a workflow via the 'Workflow' field. However, note that ServiceNow now recommends using Flow Designer (flows) instead of legacy workflows for new implementations, as workflows are being deprecated.
28
What features does the RPA hub add to the integration hub?
Reference answer
The RPA Hub extends Integration Hub by adding robotic process automation capabilities, such as the ability to automate tasks in external systems (e.g., legacy apps) via bots. Features include bot creation and management, scheduling, monitoring, and integration with ServiceNow workflows. It allows for attended and unattended bots, enabling automation of repetitive tasks without human intervention.
29
How do you manage security in ServiceNow?
Reference answer
By configuring ACLs, roles, and domain separation where required.
30
Why did you choose templates for that use case instead of inline HTML?
Reference answer
I chose templates instead of inline HTML to separate the presentation logic from the business logic, making the widget easier to maintain, test, and update, especially for complex or reusable UI components.
31
Is it possible to call a business rule through a client script?
Reference answer
Yes, it is possible to call a business rule through a client script. You can use glide ajax for the same.
32
Use of GetReference.
Reference answer
GetReference is a method used to retrieve a GlideRecord object from a reference field on the server side. It allows accessing fields from the referenced table, enabling complex data operations or validations based on related records.
33
What is the relation between Problem and Incident?
Reference answer
The relationship between Problem and Incident in ServiceNow is that an incident is a single unplanned interruption or reduction in quality of an IT service, while a problem is the underlying cause of one or more incidents. Multiple incidents may be linked to a single problem record. The problem management process aims to identify and resolve the root cause of incidents to prevent recurrence. For example, if multiple users report email outages, each outage is logged as an incident, and the root cause (e.g., a server failure) is tracked as a problem record.
34
What is Under Pinning Contract?
Reference answer
An Underpinning Contract is an agreement with an external supplier that supports the delivery of services, ensuring they meet the requirements of the SLA.
35
What are advanced scripting methods in ServiceNow, including callback functions and user interaction scripts?
Reference answer
Advanced scripting methods include using GlideRecord for database operations, GlideAjax for asynchronous server calls with callback functions, and client-side scripts that handle user interactions like onChange, onLoad, and onSubmit to provide real-time feedback.
36
How does a ServiceNow Developer handle version control and multiple developers?
Reference answer
- Uses update sets carefully and avoids mixing unrelated changes. - Coordinates work with other developers to avoid editing the same items at the same time. - Uses naming standards and documentation to identify changes. - In some setups, uses external version control integrated with ServiceNow (for example, Git).
37
Diff between Ui action and UI policy.
Reference answer
A UI action is a button or link on a form or list that triggers a script or action, such as 'Submit' or 'Update', and can be customized to perform server-side or client-side operations. A UI policy is a set of conditions and actions that dynamically control form behavior, such as making fields mandatory, visible, or read-only based on field values or other criteria, without requiring user interaction like clicking a button.
38
Difference between Business Rule and Client Script?
Reference answer
Business Rules run on the server when records are queried, inserted, updated, or deleted. Client Scripts run in the user's browser and are used for form manipulation, validation, and enhancing the user interface.
39
What does the setWorkflow(e) function do?
Reference answer
The setWorkflow(e) function in ServiceNow is used in server-side scripts to control whether Business Rules, workflows, and other automated processes run for a database operation. Passing false skips these processes, which can improve performance when bulk updating data.
40
How do you create a new user in ServiceNow?
Reference answer
To create a user, go to User Administration > Users, click New, and fill in the required fields, such as User ID, name, email, and initial password. Assign appropriate roles or groups to give permissions (e.g., admin). You could also sync users from external identity systems via LDAP or SSO, but manual user creation through the UI is commonly used.
41
Describe how you would troubleshoot a slow-performing ServiceNow script.
Reference answer
Performance troubleshooting involves examining system logs and using the Script Debugger and Script Tracer tools. Developers evaluate GlideRecord queries to eliminate unnecessary loops, filtering inefficiencies, and unused fields. Profiling tools help identify slow execution paths and server delays. Indexed fields should be used to improve query performance. Overall, optimizing scripts ensures faster system response and improved scalability.
42
Scenario: A critical business application is down for multiple users at 10 PM. Walk through your incident and change process.
Reference answer
First, log an Incident to track the outage, noting severity (e.g., P1) and impact. Notify on-call support immediately. Since it's urgent and after hours, the team works quickly to restore service, restart servers, etc. If a code or configuration fix is needed, create an Emergency Change to apply it rapidly. Ensure stakeholders are updated. After service is restored, perform a post-incident review to identify root causes and preventive actions, and document the outcome in the incident record.
43
Explain "Table Extension."
Reference answer
You need not build a new table from the beginning, as you can extend the current one.
44
Retroactive Start in SLA.
Reference answer
Retroactive Start in SLA refers to the ability to start an SLA timer from a past date or time, typically based on a specific condition or event that occurred before the current time. This is useful when SLA processing needs to account for delays in record creation or updates.
45
What types of integrations are supported in ServiceNow?
Reference answer
- REST - SOAP - JDBC - MID Server integrations
46
How are notification systems, event policies, and automated alert configurations implemented in ServiceNow?
Reference answer
Notifications are configured using notification rules to send emails, SMS, or messages based on record events. Event policies define triggers for automated alerts, and these are configured through the Event Management module to integrate with monitoring tools and escalate issues.
47
What is the difference between GlideRecord and GlideAggregate?
Reference answer
GlideRecord retrieves and iterates over individual records in a table. GlideAggregate is used for aggregate queries such as COUNT, SUM, and MAX. For example, use GlideAggregate to count how many incidents are open: var ga = new GlideAggregate('incident'); ga.addAggregate('COUNT'); ga.addQuery(‘active', true); ga.query(); if (ga.next()) { gs.log('Open incidents: ' + ga.getAggregate('COUNT')); } GlideAggregate is more efficient for summary data, while GlideRecord is for detailed record processing.
48
Tell me about a challenging widget you built?
Reference answer
A challenging widget I built was a custom knowledge search widget that integrated with external APIs and implemented advanced filtering, auto-complete, and real-time suggestions, which required optimizing server calls and client-side performance.
49
What is the difference between Task table and cmdb_ci table?
Reference answer
The Task table (task) is a base table used for tasks like incidents and changes, while the cmdb_ci table is a base table for Configuration Items (CIs) in the CMDB, representing IT assets.
50
Assume your ServiceNow instance is running very slow, what steps would you take to troubleshoot the issues?
Reference answer
First, I would check the instance health via the System Diagnostics dashboard to identify performance bottlenecks like high CPU usage, memory, or database locks. Then, I would review slow queries using the Performance Analytics or database logs, and check for large payloads or inefficient scripts in scheduled jobs. I would also check for index fragmentation, increase cache size, and review any recent changes or deployments that might have caused the slowdown.
51
How do you disable attachments for a specific table?
Reference answer
Open the table's dictionary entry. In the configuration, uncheck the “Allow attachments” option. This prevents all users from uploading files to that table's records.
52
What is a "Change Request"?
Reference answer
A Change is a planned update or addition to the IT environment.
53
How can you Add or modify an HR skill?
Reference answer
You can add or modify an HR skill by navigating to the 'HR Skills' table (hr_skill) and creating or editing records.
54
How to add Homepages and content pages to update sets?
Reference answer
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.
55
What is Data lookup and record matching feature?
Reference answer
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.
56
How do you troubleshoot login issues in ServiceNow?
Reference answer
First, I check if the user's account is active and not locked or expired. Verify that the user's password is correct or reset it if needed. If using LDAP or SSO, I will ensure the authentication source is working by checking network connectivity and credentials. Look at the system logs (System Logs > Security > Login Attempts) for error messages. Sometimes, asking the user to clear the browser cache or try a different browser can also resolve client-side issues.
57
What are Import Sets in ServiceNow?
Reference answer
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.
58
What is "Data Lookup"?
Reference answer
It's a way to automatically set field values.
59
What is Service Catalog?
Reference answer
Service Catalog in ServiceNow is a self-service portal that allows users to browse and request IT services, such as software, hardware, access rights, or standard changes. It provides a structured way to define service offerings, each with associated forms, workflows, and fulfillment processes. The Service Catalog improves user experience by providing a single place to request services, automates request fulfillment, and helps track service delivery.
60
In which scenario Incident can be repopned?
Reference answer
An incident can be reopened if the issue reoccurs, the user is not satisfied with the resolution, or the fix was not effective, typically within a defined time frame.
61
ACL debug functionality uses in ServiceNow
Reference answer
ServiceNow has built-in logging capabilities that help debug ACLs. When debug mode is enabled, developers can see how each rule is executed, and if it's working as planned. Analyzing system logs can also be helpful. Check for any errors or warnings related to access control rules.
62
What is a "Reference Field"?
Reference answer
It's a field that points to another table.
63
How do you troubleshoot a performance issue in a ServiceNow instance?
Reference answer
To troubleshoot a performance issue in a ServiceNow instance, follow these steps:
64
When would you use setWorkflow(e)?
Reference answer
setWorkflow(false) is used in server-side scripts to skip running Business Rules, workflows, and other automated processes during a database operation. It's useful for bulk updates or when automation is unnecessary.
65
What are UI Policies and Data Policies?
Reference answer
UI Policies run on the client side in the user's browser and change form behaviour, such as showing or hiding fields based on conditions. Data Policies run on the server side and ensure data integrity by enforcing conditions during data import and in scripts. For example, a UI Policy can be used to hide a field on the Incident form for specific categories, and a Data Policy can be used to require a field even if the form is bypassed.
66
What happens if a query contains an invalid field name in ServiceNow?
Reference answer
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.
67
How does a ServiceNow Developer work with ITSM processes?
Reference answer
- Implements Incident, Problem, Change, and Request workflows in ServiceNow. - Configures forms, fields, and rules to match process requirements. - Works with Process Owners to ensure the tool supports the documented process. - Adjusts implementations based on feedback from Service Desk and support teams.
68
What's the difference between server and client side scripting in ServiceNow?
Reference answer
Server-side scripting runs on the server and has access to all server APIs (like GlideRecord), while client-side scripting runs on the user's browser and has access to client APIs (like GlideForm). Server-side scripts are used for data manipulation and business logic, while client-side scripts are used for UI interactions and validation.
69
What is meant by Coalesce in ServiceNow?
Reference answer
The field property that is used in transform map field mapping is known as Coalesce. Coalescing on a field allows you to use that field as a unique key. The existing record will get updated with the imported information if a match with the coalesce field is found. If you can't find a match, then insertion of a new record into the database will take place.
70
How do you implement installation exits?
Reference answer
Installation exits are JavaScript functions that override default platform behaviors during upgrades or installs. They are placed in special script files and run at defined extension points. This allows adding custom logic without modifying core code.
71
How is Configuration Management Database (CMDB) management, asset lifecycle, and related processes handled in ServiceNow?
Reference answer
CMDB management involves defining CI classes, relationships, and reconciliation rules. Asset lifecycle tracks hardware and software from procurement to disposal. Related processes include discovery, maintenance, and auditing to ensure accurate and up-to-date configuration data.
72
How do you handle troubleshooting in ServiceNow?
Reference answer
I start by gathering details and reproducing the issue. I check system logs, debug business rules/client scripts, verify ACLs, and inspect configurations. I isolate the root cause—whether code, config, or data—then apply a fix and test thoroughly.
73
How can you create a Service Catalog in ServiceNow, and what benefits does it provide? (commonly asked ServiceNow admin interview question)
Reference answer
To create a Service Catalog in ServiceNow, follow these steps: - Define catalog items: Identify the services you want to offer and create catalog items for each service. Catalog items can represent tasks, requests, or offerings. - Design the catalog: Organize catalog items into categories and subcategories to improve navigation and user experience. - Configure variables: If your catalog items require user input, define variables to capture the necessary information. Variables can be dropdown lists, checkboxes, text fields, etc. - Create workflows: Establish workflows that govern the approval, fulfillment, and tracking of catalog requests. - Publish the catalog: Once configured, publish the Service Catalog so that users can access and request services. Benefits of the Service Catalog: - Streamlined Service Request: The Service Catalog allows users to browse and request services easily, reducing the need for manual requests and improving efficiency. - Standardization: By defining clear catalog items and associated workflows, organizations can standardize service delivery processes and ensure consistent experiences for users. - Self-Service: The Service Catalog promotes self-service, enabling users to find and request services independently, reducing dependency on IT personnel, and freeing up resources. - Transparency and Tracking: The catalog provides transparency into the status of service requests, allowing users to track the progress of their requests and stay informed.
74
What is a Mid server?
Reference answer
A Mid Server (Management, Integration, and Discovery Server) is a lightweight application that runs on a customer's local network and acts as a bridge between the ServiceNow cloud instance and on-premise systems. It is used for discovery, orchestration, and integration tasks such as executing commands, running probes, connecting to databases, or accessing internal applications that are not directly accessible from the cloud. The Mid Server securely communicates with ServiceNow via HTTPS and enables automation of IT operations.
75
What are installation exits in ServiceNow?
Reference answer
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.
76
When should you consider the multiple instances strategy?
Reference answer
Consider a multiple instances strategy when you have strict data isolation requirements (e.g., regulatory compliance), different environments for development, testing, and production, or when you need to separate processes for different business units or customers to avoid conflicts and performance issues.
77
What is a "List View"?
Reference answer
It's like a spreadsheet. It shows you many records at once.
78
What is the difference between a base table and an extended table?
Reference answer
A base table is a top-level table that does not extend from any other table, while an extended table inherits fields and configurations from a parent table, allowing for specialization.
79
How do you properly debug an Asynchronous Business Rule?
Reference answer
Debugging an asynchronous Business Rule requires using system logs such as System Logs > Application Logs and gs.log() messages. Since async rules do not run immediately, developers often test using controlled sample data or scheduled execution. Additionally, the Log File and Script Tracer tools help track script execution flow. Console debugging is useful for capturing timing delays or failed transactions. Proper logging helps trace and resolve complex async issues.
80
What are the main responsibilities of a ServiceNow Developer?
Reference answer
- Configure forms, tables, fields, and lists in ServiceNow. - Build workflows, Flow Designer flows, and business rules to automate processes. - Develop UI actions, UI policies, client scripts, and server scripts as needed. - Integrate ServiceNow with other systems using APIs, MID Server, or integration tools. - Fix defects, improve existing solutions, and support upgrades.
81
Difference between Incident and Problem?
Reference answer
An Incident is a single unplanned event that disrupts service, while a Problem is the underlying cause of one or more incidents, requiring root cause analysis to prevent recurrence.
82
Which role is required to create and access baselines in ServiceNow?
Reference answer
role is required to create and access baselines.
83
Difference between impact and urgency?
Reference answer
Impact refers to the extent of damage or effect on business processes, while urgency refers to how quickly the incident needs to be resolved based on time sensitivity.
84
What is meant by Coalesce in ServiceNow?
Reference answer
Coalesce identifies a unique field or combination of fields used to determine record matching during data transformations. If a match is found using coalesce fields, the record is updated; if not, a new record is inserted. It prevents duplicate entries in target tables during data imports. Coalesce plays a vital role in data quality and integrity. Choosing the right coalesce field ensures efficient data synchronization.
85
What is the significance of CMDB (Configuration Management Database) in ServiceNow? (commonly asked ServiceNow admin interview question)
Reference answer
The CMDB is a fundamental component of ServiceNow, serving as a centralized repository for storing information about configuration items (CIs). CIs can be hardware, software, network devices, or any other item that is part of the IT infrastructure. Imagine a scenario where a critical server fails unexpectedly. By referring to the CMDB, ServiceNow can quickly identify the affected server, the applications relying on it, and the users impacted. This allows IT teams to respond swiftly, minimizing downtime and ensuring smooth business operations.
86
What is the difference between _next() and next() methods?
Reference answer
In ServiceNow, the _next() and next() methods are used to iterate through records in a GlideRecord query, but they serve different purposes. - next(): The next() method is used to move to the next record in the result set when iterating through records. It returns true if there is another record, allowing you to continue looping, and false if you've reached the end of the results. Example: var gr = new GlideRecord('incident'); gr.query(); while (gr.next()) { // Process each incident record } - _next(): The _next() method is internal to the GlideRecord class and typically not used directly in regular scripting. It's used by the next() method in the background when ServiceNow is processing a GlideRecord object. _next() works similarly to next() but is generally hidden from standard scripting.
87
What is a "MID Server"?
Reference answer
If a company has a type of server that won't be available on the internet and ServiceNow will not be able to see this. So, a MID server is a small part of software that can be installed easily on the company's local network.
88
What is Data base views?
Reference answer
Database views in ServiceNow are virtual tables created by joining one or more tables via a SQL query, allowing users to access and report on data from multiple tables as if it were a single table.
89
What are Script Includes?
Reference answer
Script Includes are server-side JavaScript modules, classes or functions that define reusable code. They are accessible within their application scope and can be called from other server scripts or via GlideAjax from client scripts. For example, you could create a Script Include with a function to perform complex calculations and call it from multiple Business Rules. It avoids code duplication. Interviewers may ask how to make Script Includes client-callable (by enabling Client Callable and using GlideAjax).
90
Write a script to create a new user in ServiceNow.
Reference answer
To create a new user in ServiceNow, you can use the following script: var gr = new GlideRecord('sys_user'); gr.initialize(); gr.user_name = 'new_user'; gr.first_name = 'First'; gr.last_name = 'Last'; gr.email = '[email protected]'; gr.insert(); This script initializes a new GlideRecord object, sets the necessary fields for the new user, and inserts the new record into the 'sys_user' table.
91
How will you explain ServiceNow to beginners?
Reference answer
ServiceNow is a web-based tool that can help big companies manage their routine work in one place. You may not need to use paper or mail with ServiceNow because this can turn the tasks into digital steps that move automatically between different teams.
92
What is the stage of HR cases when created?
Reference answer
The stage of HR cases when created is typically 'New' or 'Open'.
93
What is the function of Script Includes in ServiceNow?
Reference answer
Script Includes in ServiceNow are reusable server-side JavaScript functions that contain business logic or code that can be called from other scripts. It can be Business Rules, Scheduled Jobs, or UI Actions. They help improve code reusability, modularity, and maintainability by encapsulating commonly used logic in one place. Example: A Script Include might define a function to calculate the priority of an incident based on its category and impact. var IncidentUtils = Class.create(); IncidentUtils.prototype = { initialize: function() {}, calculatePriority: function(category, impact) { // Custom logic to calculate priority return priority; } }; Other scripts can then call IncidentUtils.calculatePriority() to reuse the logic.
94
What is a Data Source, and how is it used in ServiceNow?
Reference answer
A Data Source in ServiceNow is a configuration that defines how external data is imported into the ServiceNow platform. It specifies the source of the data (e.g., a file, database, or web service) and how that data should be processed or mapped into ServiceNow tables. Example: If you have a CSV file containing user data, you would create a Data Source for that file. You would specify the file location and format and then import the data into ServiceNow using an Import Set. You can then use a Transform Map to map the file fields to the User table.
95
How would you describe an application in ServiceNow?
Reference answer
In ServiceNow, an application is a collection of modules, tables, and resources designed to provide specific business functionality. It includes features like forms, workflows, and reports, and can be customized to meet organizational needs. Applications also have security controls, ensuring only authorized users can access them. For example, the Incident Management application includes modules to log, track, and resolve incidents.
96
What is "ServiceNow Vault"?
Reference answer
In 2026, security is huge. Vault is a set of tools used to encrypt sensitive data.
97
What is HTML sanitizer in ServiceNow?
Reference answer
HTML Sanitizer removes harmful script elements such as embedded JavaScript, iframe injections, and malicious HTML tags. It protects web pages from XSS (Cross-Site Scripting) attacks. It ensures only safe and system-approved HTML content is stored or rendered. Sanitizer applies to HTML fields and UI pages. It enhances platform security and data safety.
98
How to add a NOT NULL query condition in ServiceNow?
Reference answer
addNotNullQuery(String fieldName) can be used. Example: To get all the records where 'name' is not null. addNotNullQuery('name');
99
What is ITSM in ServiceNow?
Reference answer
ITSM (IT Service Management) refers to managing IT services using best practices like Incident, Problem, and Change Management.
100
UI Actions (Server/client).
Reference answer
UI Actions are buttons or links added to forms or lists that execute scripts. Server-side UI Actions run on the server using server-side scripting, while client-side UI Actions run on the browser using JavaScript. They are used for custom actions like running reports, updating records, or triggering processes.
101
Explain the difference between a Scheduled Job and a Business Rule.
Reference answer
A Scheduled Job is a time-based script that runs at specified intervals, automating tasks on a schedule. In contrast, a Business Rule is an event-driven script that executes when records are inserted, updated, or deleted, ensuring real-time data integrity and automation.
102
How important are certifications?
Reference answer
The CSA (Certified System Administrator) is the "entry ticket." Most employers in 2026 expect to see at least this one on your resume.
103
Difference between * and None acl?
Reference answer
In ACLs, '*' (asterisk) represents all users or operations, granting broad access, while 'none' indicates no conditions or no access, typically denying all operations.
104
What are the gauges in ServiceNow?
Reference answer
A gauge can be seen on the homepage of ServiceNow and can contain up-to-date information about the record's current status that is present on ServiceNow tables. A gauge is based on a report and it can be placed on a homepage or a content page.
105
How have you used REST APIs in ServiceNow for integration?
Reference answer
As a ServiceNow developer, I have extensive experience using REST APIs for integration with various external systems. In one of my previous projects, we needed to integrate our ServiceNow instance with an external ticketing system used by another department in the organization. The goal was to streamline communication and ensure seamless data exchange between both systems. To achieve this, I utilized ServiceNow's built-in REST API capabilities to create custom scripts that would send and receive data from the external ticketing system. This involved setting up authentication, configuring HTTP methods such as GET, POST, PUT, and DELETE, and mapping the appropriate fields between the two systems. Additionally, I implemented error handling and logging mechanisms to monitor the performance of the integration and troubleshoot any issues that might arise. This successful integration not only improved cross-departmental collaboration but also reduced manual effort and human errors associated with transferring information between the two systems. Ultimately, it contributed to increased efficiency and better overall service delivery within the organization.
106
Scenario: How would you integrate ServiceNow with an external HR system to automatically import employee records?
Reference answer
One approach is to use IntegrationHub or a scripted solution with scheduled imports. For example, configure a scheduled data import: set up an Inbound REST API or JDBC connection to the HR system's database. Use an Import Set to pull employee data into a staging table. Then, create a Transform Map to map HR fields into the sys_user table, using coalesce (like employee ID) to update existing users or insert new ones. Handle errors by logging failed records. Mention scheduling (e.g., nightly), security (auth credentials), and notifications for any import failures.
107
What is a Business Rule in ServiceNow?
Reference answer
- A Business Rule is server‑side logic that runs when a record is displayed, inserted, updated, or deleted. - It can enforce rules, update fields, or call scripts automatically. - It runs on the server, not in the user's browser. - Proper use helps keep logic in one place and reduces duplication.
108
What are Update Sets, and how do they work?
Reference answer
Update Sets are containers for capturing customizations made in one ServiceNow instance (usually development) and moving them to another instance (like production). When you make changes, such as adding new fields, scripts, or other items, they are recorded in an update set. You then retrieve that update set in the target instance and commit it. It ensures configuration changes are tracked and deployed in a controlled manner, avoiding conflicts between environments.
109
ACL (Scenario Based questions, Types of ACL).
Reference answer
ACL (Access Control List) in ServiceNow defines user permissions for records, fields, or modules. Types include record-level ACLs (read, write, create, delete), field-level ACLs, and module-level ACLs. Scenario-based questions often involve granting conditional access based on roles, groups, or conditions like user department or record state.
110
How to get the details of the currently active user in a client script?
Reference answer
You can use the object g_user object to get the details of the currently active user.
111
What are the best practices for ServiceNow development?
Reference answer
When developing on the ServiceNow platform, adhering to best practices is essential for ensuring maintainability and scalability of applications. One key practice is to avoid customizing out-of-the-box functionalities; instead, leverage update sets and scoped applications to manage changes and minimize upgrade issues. Another important practice is to follow a modular approach by breaking down complex requirements into smaller, manageable components. This promotes reusability and makes it easier to troubleshoot and maintain code. Additionally, always use server-side scripting (such as GlideRecord) when interacting with the database, as this ensures better performance and security compared to client-side scripting. Furthermore, maintaining proper documentation throughout the development process is vital. Documenting your work helps other developers understand the purpose and functionality of your code, making future modifications more efficient. Lastly, ensure that you thoroughly test your application in different environments (development, testing, and production) before deploying it, to identify and resolve any potential issues early on.
112
How does an inactivity monitor work in ServiceNow?
Reference answer
An Inactivity Monitor in ServiceNow tracks user activity and triggers actions after a certain period of inactivity. It helps ensure users remain engaged with the platform and allows organizations to enforce policies regarding session timeouts. It also alerts users when they've been inactive for too long. Example: For security reasons, a company may set the inactivity monitor to log users out after 30 minutes of inactivity. If a user doesn't interact with the platform during that time, the system automatically logs them out, protecting sensitive data.
113
How do ServiceNow notifications work for system events?
Reference answer
ServiceNow notifications alert users about system events like record updates or specific actions. System events trigger them and can be delivered via email, SMS, push notifications, or instant messaging. Notifications use templates that include dynamic content for personalization. Users can set preferences to choose how and when they receive alerts. Conditions and filters ensure notifications are sent based on specific criteria, making communication timely and relevant.
114
What will be system name of a newly created table ABC ?
Reference answer
The system name of a newly created table 'ABC' will be 'u_abc'.
115
How best can you measure if the technical governance is followed or not for your customer?
Reference answer
Technical governance can be measured by tracking metrics like instance customization levels (e.g., number of scoped apps vs. global), adherence to coding standards (via Code Review rules), update set compliance, and the use of approved patterns like Flow Designer over business rules. Regular audits using HealthScan or custom dashboards can identify deviations, and governance reports can show trends in violations over time.
116
Explain how you map business needs to ServiceNow workflows.
Reference answer
I break down each requirement into process steps. Then I align them with existing ServiceNow modules or design custom workflows if needed.
117
How can ServiceNow integrate with external applications?
Reference answer
ServiceNow integrates with external applications using several methods, enabling seamless data exchange and workflow automation across platforms. Key integration methods include: - Web Services (REST and SOAP): Allows external systems to interact with ServiceNow using standard HTTP methods (GET, POST, etc.). - IntegrationHub: Provides pre-built connectors for easy integration with third-party systems like Slack, AWS, and Microsoft Teams. - MID Server: Bridges communication between ServiceNow and on-premise systems behind firewalls. - Data Imports: Allows importing data from external sources (CSV, JSON, XML) via Import Sets. - Scripted Web Services: Custom APIs for integrations with external systems. - Event Management: Integrates with external systems using message queues to trigger actions or synchronize data. These methods provide flexible, scalable solutions for connecting ServiceNow with external applications. Example: ServiceNow can listen for events from external monitoring tools and trigger incident creation or notifications based on specific thresholds.
118
Can you describe a complex problem you solved using ServiceNow scripting?
Reference answer
Certainly, I once worked on a project where the client needed to automate their incident management process. The challenge was that they had multiple departments with different workflows and approval processes for handling incidents. To address this complexity, I utilized ServiceNow scripting to create a dynamic assignment rule engine. I began by gathering requirements from each department and identifying the commonalities and differences in their workflows. Then, I designed a custom script include that would dynamically determine the appropriate assignment group and approvers based on the incident's category, subcategory, and other relevant attributes. The solution involved using GlideRecord queries to fetch data from various tables, as well as implementing business rules and client scripts to ensure seamless integration with the existing system. This approach allowed us to centralize and streamline the incident management process while still accommodating the unique needs of each department. As a result, the client experienced improved efficiency in handling incidents, reduced manual intervention, and increased visibility into the overall process. This example demonstrates my ability to leverage ServiceNow scripting to solve complex problems and deliver tailored solutions that meet specific business objectives.
119
What are the different types of searches that are available in ServiceNow?
Reference answer
ServiceNow supports keyword search, list search, global search, knowledge search, and navigation search. Elastic Search powers fast and intelligent search results. Operators like =, LIKE, and STARTSWITH refine queries efficiently. Search filters enhance precision and accuracy. Searching improves user productivity and data accessibility.
120
How do you approach creating custom reports and dashboards in ServiceNow?
Reference answer
As a ServiceNow developer, I have extensive experience in creating custom reports and dashboards tailored to the specific needs of various departments within an organization. My approach involves understanding the key performance indicators (KPIs) and metrics that are most relevant to each department, such as incident resolution times for IT support or SLA compliance rates for service delivery teams. Once I've gathered this information, I utilize ServiceNow's built-in reporting tools, including Report Designer and Performance Analytics, to create visually appealing and informative reports. I ensure these reports provide real-time data and can be easily filtered or sorted based on user preferences. Additionally, I design interactive dashboards that consolidate critical information from multiple sources, allowing stakeholders to quickly assess their team's performance and make informed decisions. Throughout my career, I've received positive feedback from clients who appreciate the clarity and insights provided by the customized reports and dashboards I've developed. These tools have helped them monitor progress, identify areas for improvement, and ultimately achieve their business goals more effectively.
121
Explain the steps for enabling or disabling an application in ServiceNow.
Reference answer
Use the below-given steps to enable or disable an application in ServiceNow: - Go to the "Application Menus" module. - Open the required application that has to be enabled or disabled. - You can set the active value as "true" to enable the application. To disable the application set the active value as "false".
122
What is PPM, and what is your role in PPM?
Reference answer
PPM stands for Project Portfolio Management in ServiceNow. It is a module that helps organizations manage and optimize their project portfolio, including project planning, resource allocation, cost management, and demand management. My role in PPM typically involves configuring the PPM application to align with business processes, creating project templates, managing project tasks, setting up workflows for project approval, and generating reports to track project health, budget, and resource utilization.
123
What is the Service Catalog, and what are Record Producers?
Reference answer
The Service Catalog is a self-service portal where users browse and order IT or business services, for example, new hardware and software access. It allows the structuring of services into categories and items. A record producer is a type of catalogue item that creates a standard record, such as an incident or service request, through a simplified form. For example, a “Report an Issue” Record Producer could gather user input, issue descriptions, and create an Incident behind the scenes.
124
How do you use Flow Designer or the Workflow Editor in ServiceNow?
Reference answer
Flow Designer is a modern tool for building automated processes without coding. You create a flow, define a trigger, and add actions or subflows. The Workflow Editor is older and uses a drag-and-drop canvas to design workflows. It is still available for legacy use cases but is being phased out in favour of Flow Designer.
125
What are ServiceNow Metrics, and how are they applied?
Reference answer
ServiceNow Metrics measure the performance of business processes like incident resolution or service requests. They track key indicators such as response time and completion rates. Metrics are automatically collected during record processing and often used with SLAs to ensure service goals are met. Reports and dashboards visualize these metrics, helping teams monitor performance and drive improvements. Example: You can configure a metric to measure the time-to-resolution for incidents. Each time an incident is resolved, the metric records the time taken and can be reported to track if the team is meeting SLAs or identify areas for improvement.
126
What is a data policy?
Reference answer
A Data Policy enforces data rules on both client and server side, ensuring mandatory and read-only behavior even when data is imported from APIs or background scripts. Unlike UI Policies, they apply universally beyond just forms. Data Policies improve data quality and consistency across the instance. They protect backend integrity regardless of the entry point. They are valuable for system-level governance.
127
What is a Transform map?
Reference answer
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.
128
Assume you are doing an integration where records will be exchanged between two instances, what's your proposed method to stage the records and why? Here we are expecting a comparison between an import set and a custom staging table.
Reference answer
I would propose using an import set for staging records because it is OOTB (Out Of The Box) and provides built-in features like transform maps, field mapping, and error handling. A custom staging table offers more flexibility but requires manual development for mapping and validation. Import sets are faster to implement and maintain, while custom staging tables are better for complex transformations or when you need to control the staging logic tightly.
129
What is a record producer?
Reference answer
A record producer is a catalog item that creates records in tables other than the Service Catalog table. It provides a simplified form for users to submit data without navigating to the table directly.
130
What is the Client Transaction Timings plugin?
Reference answer
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.
131
Explain how you would approach a ServiceNow implementation project.
Reference answer
I'd start with discovery and requirements gathering, align configurations with business needs, configure the platform (forms, workflows, integrations), perform rigorous testing (UAT), manage deployment via Update Sets/CICD, and provide ongoing support.
132
Difference in Response and Resolution SLA.
Reference answer
Response SLA measures the time taken from when a task is created until the first response or acknowledgment by an assignee. Resolution SLA measures the time taken from task creation until the task is resolved or closed. Response SLA focuses on initial engagement, while Resolution SLA focuses on complete resolution.
133
What is a "Group"?
Reference answer
A group is a collection of users who do the same work, like the "Help Desk" or the "Payroll Team." It's much easier to send a ticket to a group than to one specific person.
134
What is import set in ServiceNow?
Reference answer
An Import Set in ServiceNow is a staging table used to import external data into ServiceNow from sources like CSV, Excel, JDBC, or third-party integrations. It allows developers to map and transform incoming data before inserting it into target ServiceNow tables. Import Sets help ensure clean, accurate, and structured data migration. They work closely with Transform Maps to control data flow and format. It is essential for integrating legacy systems and bulk loads.
135
Can a client script interact with a business rule?
Reference answer
Yes, a client script can interact with a business rule using GlideAjax. Business rules, however, execute on the server side, not the client side. GlideAjax acts as a bridge, allowing the client script to send data to the server. The business rule processes it and returns a response. Additionally, client scripts can indirectly trigger business rules when records are saved or updated, but the business rules themselves run on the server.
136
How to get all active records in GlideRecord?
Reference answer
You can use addActiveQuery() method to get all the active records and addInactiveQuery() to get the all inactive records.
137
How do you count incidents in a specific state?
Reference answer
```javascript var stateValue = 1; // Example state value (e.g., Active) var gr = new GlideRecord('incident'); gr.addQuery('state', stateValue); gr.query(); var count = gr.getRowCount(); gs.info("Number of incidents in state " + stateValue + ": " + count); ```
138
How do you determine which script is updating a field value on a form? Does SN provide any OOTB capability for this?
Reference answer
ServiceNow provides OOTB capabilities like the Script Debugger to trace script execution, and the System Logs (e.g., syslog or sys_audit) to track field changes. You can also use the 'Field Audit' feature or check business rules, client scripts, and UI policies via the 'Condition Builder' to identify the source. Alternatively, use the 'Update History' on the record to see the last update source.
139
What is isLoading function?
Reference answer
The isLoading function is a client-side function used to check if a record is currently being loaded or saved, often used in UI policies or client scripts to prevent actions during data loading.
140
What is a MID Server?
Reference answer
A MID (Management, Instrumentation, and Discovery) Server is a lightweight Java application that runs within your network to communicate with on-premise systems on behalf of ServiceNow. It's commonly used for Discovery (scanning internal networks for devices) and for integrations that need secure access to internal resources (like running PowerShell scripts on servers). In interviews, you might explain setting up a MID Server for Discovery or LDAP imports.
141
What is a View in ServiceNow?
Reference answer
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.
142
Glide ajax & scratchpad in ServiceNow
Reference answer
Kindly refer below link https://www.servicenow.com/community/developer-forum/g-scratchpad-vs-glideajax-is-there-really-a-win...
143
How do you handle large data loads?
Reference answer
Use Import Sets, Transform Maps, and scheduled jobs.
144
Difference between UI policy and data policy?
Reference answer
The difference between UI Policy and Data Policy in ServiceNow is: UI Policy is client-side and runs only on form submissions through the standard browser interface. It can set fields as mandatory, read-only, or visible, and can change dynamically based on conditions. Data Policy is server-side and applies to all data entry points, including web services, import sets, email, and mobile UI. Data Policy enforces mandatory and read-only states consistently across all channels, while UI Policy only affects browser-based forms.
145
How does a ServiceNow Developer manage technical debt in their work?
Reference answer
- Avoids quick hacks whenever possible. - Notes areas where compromises were made and logs them as debt items. - Refactors code and configurations when there is time and priority. - Communicates technical debt impact to Product Owners and managers.
146
What are Metrics?
Reference answer
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.
147
What considerations do you take into account when designing and implementing custom forms and lists in ServiceNow?
Reference answer
When designing and implementing custom forms and lists in ServiceNow, one key consideration is user experience. It's essential to create intuitive layouts that are easy for users to navigate and understand. This can be achieved by grouping related fields together, using descriptive field labels, and incorporating tooltips or help icons where necessary. Another important aspect is ensuring data integrity and consistency. To achieve this, it's vital to use appropriate input validation methods, such as mandatory fields, reference qualifiers, and client-side scripting. Additionally, consider leveraging existing tables and fields whenever possible to avoid redundancy and maintain a clean data structure within the platform. Lastly, performance optimization should not be overlooked. Minimizing the number of client scripts, business rules, and UI policies on a form can significantly improve its loading time and overall responsiveness. Also, when creating custom lists, carefully select the columns displayed and apply filters judiciously to reduce the amount of data being fetched from the database, thus enhancing the system's performance.
148
Which roles are required for Knowledge Management in ServiceNow?
Reference answer
Knowledge management uses these roles knowledge, knowledge_admin, and admin role.
149
Explain Scratchpad in Business rules and Workflow
Reference answer
The scratchpad in business rules and workflows is a temporary storage object used to pass data between different stages or activities. In business rules, it is accessed via 'current.scratchpad', and in workflows, it is used to share data between workflow activities.
150
How can you migrate schedules from dev to test?
Reference answer
Schedules can be migrated from dev to test using: 1. Retrieving the schedule via a 'cmn_schedule' record and creating an update set to capture the schedule and its related records (e.g., schedule entries). 2. Using XML export/import by navigating to the schedule record and exporting as XML, then importing in the target instance. 3. Using Application Repository or source control (e.g., Git) if the schedule is part of a scoped application. Ensure all dependencies (e.g., schedule entries) are included in the migration.
151
Table name of schedule.
Reference answer
The table name for schedules in ServiceNow is 'cmn_schedule'. This table stores schedule definitions, including work schedules and holiday schedules.
152
How does a ServiceNow Developer approach a new requirement?
Reference answer
- Talks to the requester or BA to understand the real business need. - Checks if the requirement can be met with out‑of‑the‑box features. - Designs a solution that is as simple and maintainable as possible. - Documents the approach and gets confirmation before building.
153
Explain the "STAR" method.
Reference answer
It stands for Situation, Task, Action, Result. Use it to answer behavioral questions like "Tell me about a time you fixed a major bug."
154
Give me an example of a time you implemented a live list using recordWatch?
Reference answer
An example of implementing a live list using recordWatch is building a real-time dashboard that updates automatically when new incidents are created. You can use the recordWatch client API to listen for changes in the 'incident' table and refresh the list.
155
What happens when a user customizes their homepage?
Reference answer
When a user customizes their homepage, ServiceNow creates a personal copy of that page. Changes affect only that user's view and do not impact the global homepage.
156
What is a CMDB baseline?
Reference answer
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
157
What are UI policies in ServiceNow?
Reference answer
UI Policies dynamically control form behavior on the client side based on conditions. They can show, hide, enable, disable, or make fields mandatory without coding. UI Policies improve user experience and enforce data entry rules. They run instantly and do not require server interaction. They reduce scripting complexity and simplify form customization.
158
What is "App Engine Studio"?
Reference answer
It's a "sandbox" where regular employees can build simple apps safely, without the risk of breaking the main company system.
159
What is async rule, give an example?
Reference answer
An async business rule is a type of business rule that runs asynchronously after the database operation, meaning it is queued and executed in the background without blocking the user. An example of an async rule is sending a notification email after an incident is resolved. Since the email sending is not critical for the immediate response, it can be processed asynchronously to avoid slowing down the user's experience.
160
What is domain separation in ServiceNow?
Reference answer
Domain separation isolates data, processes, and configurations for different business units within a single instance. It ensures strict data privacy and role-based access controls for each domain. Organizations use it to support multi-tenant or multi-department implementations. Administrators can control domain visibility and security. It ensures regulatory compliance and operational independence.
161
What is the scope of cascade variable checkbox in order guide in ServiceNow?
Reference answer
It is a checkbox for selecting whether the used variables should cascade, which transmits their values to the items ordered. Variable data entered in the order guide will not be passed on to ordered items if we clear this checkbox.
162
What is Change Management?
Reference answer
Change Management ensures changes are implemented with minimal risk and proper approvals.
163
How does a ServiceNow Developer support performance tuning?
Reference answer
- Reviews slow scripts and queries for optimisation. - Works with admins to manage indexes and caching where appropriate. - Reduces redundant logic and duplicate rules. - Uses platform tools to monitor and analyse performance.
164
What is a "Form" in ServiceNow?
Reference answer
In the form, you enter the data and when you open an incident, the page with the fields such as "Short Description," "Priority," and "Caller" is the form.
165
Can we call GlideRecord() in client script?
Reference answer
No, we cannot call GlideRecord() directly in a client script because it is a server-side API. However, we can use GlideAjax to call a server-side script that uses GlideRecord.
166
How would you gather requirements for a ServiceNow project?
Reference answer
I start with stakeholder interviews, workshops, and process walkthroughs. I document needs, pain points, and priorities clearly for both business and technical teams.
167
How does GlideAjax work?
Reference answer
Client scripts cannot directly access the database. GlideAjax bridges client and server using Script Includes. Asynchronous calls are important. Focus on flow and design rationale rather than code.
168
What is the purpose of the setWorkflow(e) function?
Reference answer
The setWorkflow(e) function in ServiceNow is used to enable or disable business rules, workflows, and engine events when records are inserted or updated programmatically. When setWorkflow(false) is used, it prevents the execution of unnecessary automated logic such as business rules, script actions, and notifications. This is especially useful in bulk updates or migration activities to improve system performance and avoid recursive triggers. By controlling workflow execution, developers gain better control over database transactions. It ensures stable, safe, and optimized script execution in complex environments.
169
How does ServiceNow support ITIL best practices?
Reference answer
ServiceNow supports ITIL (Information Technology Infrastructure Library) best practices by providing a robust ITSM (IT Service Management) framework that aligns with ITIL principles. ServiceNow's ITSM modules, such as Incident Management, Problem Management, Change Management, and Service Catalog, are designed to follow ITIL guidelines. This ensures that organizations using ServiceNow can effectively manage and deliver IT services, improve efficiency, and reduce operational costs while adhering to ITIL's best practices.
170
How do you handle CMDB baselines?
Reference answer
CMDB baselines capture snapshots of CIs at specific times. I schedule them regularly, then compare snapshots to track unauthorized changes or investigate issues.
171
Differentiate between next() and _next() method in ServiceNow.
Reference answer
The method is used for moving into the next record in GlideRecord. is quite similar to , the difference is it is used when you query the table that has next as a column name.
172
What is the difference between a "UI Policy" and a "Data Policy"?
Reference answer
UI Policy is performed on the screen, and it might hide a field when you click a button. A Data Policy happens at the database level.
173
What is a scorecard?
Reference answer
A scorecard visually tracks KPIs and performance progress against business targets. It displays ratings, thresholds, achievements, and real-time analytics. Scorecards help managers monitor goal performance and adjust strategies. They enhance transparency and results-focused culture. Scorecards are essential for business outcome tracking.
174
Briefly explain GlideRecord and an example query.
Reference answer
GlideRecord is a server-side API in ServiceNow used to query, insert, update, and delete records in tables. By default, it respects ACLs unless explicitly overridden. Example: var gr = new GlideRecord(‘incident'); gr.addQuery(‘priority', 1); gr.query(); while (gr.next()) { gs.info(gr.number); }
175
What is the difference between a Script Include and a Business Rule?
Reference answer
A Script Include is a reusable server-side script that can be called from other scripts, making it ideal for shared functions. In contrast, a Business Rule is an event-driven script that runs when records are inserted, updated, or deleted, ensuring specific actions are taken based on database events.
176
What is your approach to testing and validation in ServiceNow development?
Reference answer
Testing and validation are essential components of ServiceNow development because they ensure the functionality, reliability, and performance of applications and customizations. As a developer, my primary goal is to deliver solutions that meet business requirements while maintaining system stability and adhering to best practices. Thorough testing allows me to identify any potential issues or bugs before deploying changes to production. This helps prevent disruptions in service and minimizes the risk of negatively impacting end-users. Additionally, validation ensures that the developed solution aligns with the initial requirements and objectives, guaranteeing that it addresses the specific needs of the organization. Moreover, incorporating testing and validation into the development process promotes collaboration between developers, administrators, and stakeholders. It encourages open communication and feedback, which ultimately leads to more efficient problem-solving and higher-quality outcomes. In summary, prioritizing testing and validation in ServiceNow development is vital for delivering robust, reliable, and effective solutions that support overall business goals.
177
Explain the concept of Access Control in ServiceNow.
Reference answer
Access Control in ServiceNow is a security mechanism that restricts access to data based on user roles and permissions. It ensures that only authorized users can view or modify specific records and fields, maintaining data integrity and security.
178
What is the function of a business rule in ServiceNow?
Reference answer
A business rule in ServiceNow automates actions and enforces logic on records. It can update fields, send notifications, or create records based on conditions. Business rules can run before, after, or asynchronously after data is saved, ensuring consistency and automating processes. Types of Business Rules: - Before: Runs before the record is saved to the database. This is used for validating or modifying data before it's committed. Example: If a user updates the priority of an incident, a Before business rule could validate the new priority and prevent saving if it doesn't meet certain criteria. - After: Runs after the record is saved to the database. This is useful for triggering actions like sending notifications or updating related records. Example: After updating an incident's priority, an After business rule could automatically assign the incident to a specific support group based on the priority. - Async: Runs asynchronously after the record is saved. This is used for long-running processes that don't need to block the current transaction. Example: After an incident is created, an Async business rule could trigger a background task to run a detailed system check or send data to an external system without delaying the user's workflow.
179
How many ways can you trigger a notification?
Reference answer
Notifications in ServiceNow can be triggered via: 1. Record-based notifications (using conditions on a table, such as insert, update, or delete). 2. Event-based notifications (using system events or custom events). 3. Scripted notifications (using notification scripts or business rules). 4. Email notifications triggered by workflows or flow designers. 5. Using the 'Send Notification' action in a UI action or scheduled job.
180
What is a BSM Map?
Reference answer
A BSM (Business Service Management) Map visually represents relationships and dependencies between business services and supporting infrastructure components. It helps identify service impact and analyze failure effects. BSM Maps support root cause and impact analysis for incident and change management. They offer real-time visibility for service health and performance. They enable better operational decision-making.
181
What are ACLs, and how do they work?
Reference answer
Include table ACLs, field ACLs, role-based checks, scripted ACLs, and evaluation order. Also mention performance considerations and why ACLs should be preferred over UI restrictions.
182
What is domain separation in ServiceNow?
Reference answer
Domain separation is a useful method for separating data into logically defined domains. Also, it can be used to separate administration. For example, consider a client who has two businesses and has a single ServiceNow instance for both businesses. He doesn't want users from one business to view other business data. In this case, we can use domain separation for isolating the records from both businesses.
183
What are Applications in ServiceNow?
Reference answer
Applications in ServiceNow represent packaged solutions for delivering services and managing business processes. In simple words it is a group of modules which provides information related to those modules. For example Incident application will provide information related to Incident Management process.
184
What is the role of a ServiceNow Developer in integrations?
Reference answer
- Designs and builds interfaces using REST/SOAP APIs or MID Server. - Maps data between ServiceNow tables and external systems. - Handles authentication, error handling, and logging. - Tests integrations thoroughly in lower environments before production.
185
Describe your case with GLIDE AJAX?
Reference answer
GlideAjax is a ServiceNow API that allows client-side scripts (like client scripts or UI policies) to make asynchronous calls to server-side scripts (script includes) to retrieve or process data without refreshing the page. For example, I used GlideAjax to validate a user's email against an external system when they entered it in a catalog item form. The client script called a script include that performed the validation and returned a response, which was then used to display a message or block submission.
186
What is GlideRecord? Provide an example.
Reference answer
GlideRecord is the API used in server-side scripts to interact with the database. ```javascript var gr = new GlideRecord('incident'); gr.addQuery('state', 1); // Active gr.query(); while (gr.next()) { gs.info(gr.number); } ```
187
What are UI policies in ServiceNow?
Reference answer
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. | Related Article: ServiceNow Tutorial for Beginners |
188
Can you predict the order of event handlers?
Reference answer
You can, but there is no guarantee of sequencing. You cannot predict what order your event handlers will run.
189
Explain the types of reports available in ServiceNow.
Reference answer
- Bar reports: They allow you for comparing scores over data dimensions. - Pie and Donut reports: It helps to visualize the relationship between parts and the entire data set using various shapes like pies. - Time Series reports: It helps to visualize data over time. You can make use of MetricBase data in time series reports, along with your instance data and imported data sources. - Multidimensional reports: It helps to visualize data across dimensions in a table or graph. - Scores: It helps to visualize single data points either as a single value or across ranges. - Statistical reports: It helps to visualize data with statistical values like means and medians. - Other reports contain calendars, lists, and maps.
190
When should you use GlideAjax?
Reference answer
GlideAjax should be used when you need to perform server-side operations from a client-side script (e.g., in a UI policy, client script, or widget), such as querying the database, executing business logic, or calling a script include that requires server-side access. It is essential for securely handling sensitive data or complex processing that cannot be done on the client side, while maintaining a responsive user experience.
191
Differentiate between next() and _next() method in ServiceNow.
Reference answer
The next() method in GlideRecord is used to iterate through query results and move the cursor to the next matching record. _next() functions similarly but is specifically used internally within ServiceNow system code for faster performance. While next() enforces security and ACL rules, _next() bypasses them, making it unsafe for custom development. Developers should always use next() for application scripts to maintain secure operations. _next() is intended for platform-level operations only.
192
Explain about the Automated Test Framework (ATF).
Reference answer
This tool will automatically click through the system to make sure everything still works after an upgrade.
193
What are Notifications in ServiceNow?
Reference answer
Notifications are configured to send communications (usually emails) to users based on specific events or record changes. They use templates and conditions to determine when, what, and to whom a notification is sent.
194
Service Portal - what are Widget instances, what are menus, headers, and footers, and What is bootstrap?
Reference answer
Widget instances are reusable components in Service Portal that encapsulate HTML, CSS, and server-side logic for a specific UI element (e.g., a table or form). Menus, headers, and footers are layout elements that define the navigation and structure of a portal page. Bootstrap is a CSS framework used by Service Portal for responsive design and styling.
195
What is a "Business Rule"?
Reference answer
A Business Rule is a set of instructions that the system follows when a record is changed.
196
What is dictionary override in ServiceNow?
Reference answer
Dictionary overrides allow a global dictionary definition to be customized for specific child tables in extended table structures. It is used in cases like domain separation or different form behaviors. Overrides can modify attributes like default values, max-length, mandatory status, and visibility. It helps personalize fields without changing core data structure. It ensures flexibility in large enterprise implementations.
197
What is ServiceNow?
Reference answer
ServiceNow is a cloud-based workflow automation platform used to manage IT services, business processes, and enterprise operations. It provides modules like ITSM, ITOM, HRSD, and CSM.
198
What is "Script Includes"?
Reference answer
These are the libraries of logic that work in the background. You do not need to write the same rule five times in different places, and you have to write this once in a script.
199
How does the GlideRecord API work in ServiceNow?
Reference answer
The GlideRecord API is used to query, insert, update, and delete records in ServiceNow tables. It provides methods like addQuery(), get(), setValue(), update(), and insert(). It can be used in both client-side and server-side scripts, though server-side is more common for data manipulation.
200
What are the key components of a ServiceNow instance?
Reference answer
Key components include the database (tables and records), the user interface (forms, lists, and dashboards), the application layer (modules and applications), and the automation layer (workflows, business rules, and scripts).