Servicenow Developer
100+ Servicenow Developer Interview Questions and Answers

Asked in DXC Technology

Q. How do you troubleshoot ServiceNow Discovery errors?
Troubleshooting ServiceNow Discovery errors involves identifying issues in configuration, connectivity, and data collection.
Check the Discovery logs for error messages that can provide insights into the issue.
Verify the MID Server configuration to ensure it is properly set up and connected.
Ensure that the credentials used for Discovery have the necessary permissions to access the target systems.
Review the network settings to confirm that firewalls or security groups are not b...read more

Asked in Accenture

Q. How would you gather requirements for a musical equipment company that engages in studio time sessions and musical instrument rentals?
Gathering requirements for a musical equipment company involves understanding their services, target audience, and operational needs.
Conduct stakeholder interviews to understand their business model and services offered, such as studio sessions and rentals.
Create user personas to identify different customer segments, like amateur musicians, professional studios, and event organizers.
Analyze current workflows to identify pain points in booking studio time or renting equipment,...read more
Asked in Aceis Services

Q. Can you explain the life cycle of Incident, Problem, and Change management?
Incident, Problem, and Change management are key ITIL processes ensuring efficient IT service delivery.
Incident Management: Focuses on restoring normal service operation as quickly as possible. Example: A user reports a system outage.
Problem Management: Identifies and manages the root causes of incidents. Example: Analyzing recurring outages to find a permanent fix.
Change Management: Controls the lifecycle of changes to minimize disruption. Example: Implementing a new softwar...read more

Asked in Accenture

Q. Types of business rule and client script with example. Variables and variable set. Ways to import update set. Service catalog management.
Types of business rules, client scripts, variables, variable sets, ways to import update sets, and service catalog management in ServiceNow development.
Types of business rules include onBefore, onAfter, async, etc. Example: onBefore business rule to validate form data before submission.
Client scripts are used for client-side scripting. Example: Client script to show a pop-up message on a form field change.
Variables are used to store data within a record. Example: Variable sto...read more

Asked in Infosys

Q. How do you make integrations in ServiceNow?
Integrations in ServiceNow are made using APIs, web services, and scripting.
Use REST APIs to integrate with external systems
Leverage SOAP web services for bi-directional communication
Utilize scripting such as JavaScript to automate processes
Use MID Server for secure communication with on-premise systems

Asked in DXC Technology

Q. Write a query that retrieves all columns, shows only 10 records, and orders them by name.
Use SQL query to retrieve all columns, show only 10 records, and order by name
Use SELECT * to retrieve all columns
Use LIMIT 10 to show only 10 records
Use ORDER BY name to order the results by name
Servicenow Developer Jobs




Asked in Deloitte

Q. 1. Difference between CI and asset? 2. How to call script include from client side? 3. Diff. between record producer and Service Catalog? 4. Write script to create new records in User table?
Answers to interview questions for ServiceNow Developer position.
CI (Configuration Item) represents a single, manageable component of an IT infrastructure.
Asset is a tangible or intangible item that is owned by an organization.
To call a script include from the client side, use the 'g_form' object and the 'getScript' method.
Record producer is used to create new records in a specific table, while Service Catalog is a collection of record producers and catalog items.
To create ne...read more

Asked in Optimize IT Systems

Q. Data policy for data consistency, UI policy applied to form level
Data policy ensures data consistency, UI policy controls form level behavior
Data policy defines rules for data consistency and integrity
UI policy controls the behavior of form fields and sections
Both policies can be applied at different levels such as table, field, or form
Data policy can prevent invalid data entry and enforce data standards
UI policy can hide or make fields mandatory based on user roles or conditions
Share interview questions and help millions of jobseekers 🌟

Asked in Infosys

Q. Write a program to find the Palindrome substring from a given string.
Program to find Palindrome sub-strings in a given string.
Iterate through each character in the string and check for palindromes.
Use two pointers to expand around the center of each character to find palindromes.
Store the palindromes in an array of strings.

Asked in Capgemini

Q. Why is there a checkbox for client callable on script include?
The checkbox for client callable on script include allows the script include to be called from client-side scripts.
Client callable checkbox allows the script include to be accessed from client-side scripts in ServiceNow.
It enables the script include to be used in UI policies, client scripts, and other client-side scripts.
By checking the client callable checkbox, the script include can be invoked using GlideAjax calls from client scripts.

Asked in JPMorgan Chase & Co.

Q. When you search a record using the global search in the ServiceNow platform, what happens?
When searching a record on global search in ServiceNow, the platform performs a search across all tables and fields to find relevant results.
ServiceNow platform uses the search index to quickly retrieve relevant records
Search results are displayed based on relevance and permissions
Users can refine search results using filters and sorting options

Asked in KPMG India

Q. Do you have an idea of how the cloud works?
Cloud computing involves storing and accessing data and programs over the internet instead of on a computer's hard drive.
Cloud computing allows users to access data and applications from any device with an internet connection.
It provides scalability, flexibility, and cost-efficiency for businesses.
Examples of cloud services include Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform.

Asked in BANGMETRIC

Q. What are sorting algorithms and how do they function?
Sorting algorithms are methods used to arrange elements in a list in a specific order.
Sorting algorithms are used to rearrange elements in a list in a specific order.
They can be based on comparison or non-comparison methods.
Examples include Bubble Sort, Merge Sort, Quick Sort, etc.

Asked in TCS

Q. Have you worked on integrations?
Yes, I have worked on integrations.
I have experience integrating ServiceNow with third-party applications using REST APIs.
I have also worked on integrating ServiceNow with other ServiceNow instances using SOAP APIs.
I have used MID Server for integrating ServiceNow with on-premise applications.
I have experience in creating custom integrations using ServiceNow IntegrationHub.
I have worked on integrating ServiceNow with cloud-based applications like Salesforce and AWS.

Asked in ITnow

Q. What are some basic array operations?
Basic array operations include creation, manipulation, and iteration of arrays in programming.
Creating an array: var fruits = ['apple', 'banana', 'cherry'];
Accessing elements: console.log(fruits[0]); // Outputs 'apple'
Adding elements: fruits.push('date'); // fruits now contains ['apple', 'banana', 'cherry', 'date']
Removing elements: fruits.pop(); // Removes 'date', fruits now contains ['apple', 'banana', 'cherry']
Iterating through an array: fruits.forEach(fruit => console.log...read more

Asked in Wipro

Q. What is the difference between an Asynchronous Business Rule and an After Business Rule?
Asynchronous business rules run in the background while after business rules run after the record is processed.
Asynchronous business rules are executed in the background without blocking the user interface.
After business rules are executed after the record is processed, potentially impacting user experience.
Asynchronous business rules are typically used for tasks that do not require immediate user interaction.
After business rules are commonly used for tasks that need to be co...read more

Asked in EPAM Systems

Q. How can input be passed to a workflow activity?
Input can be passed to a workflow activity using input parameters.
Define input parameters in the workflow activity
Pass values to the input parameters when starting the workflow
Access the input parameters within the workflow activity

Asked in EPAM Systems

Q. What are some examples of Glide system objects?
Glide system objects are used in ServiceNow to interact with the platform and perform various operations.
GlideRecord
GlideSystem
GlideAggregate
GlideForm
GlideUser

Asked in Hexaware Technologies

Q. What are the different types of business rules?
Different types of business rules include client scripts, UI policies, data policies, and script includes.
Client scripts are used to run on the client side to perform actions or validations.
UI policies are used to set mandatory fields, read-only fields, or visibility conditions on forms.
Data policies are used to enforce data consistency and integrity by defining rules on fields.
Script includes are reusable scripts that can be called from other scripts or business rules.

Asked in ITnow

Q. How can you reduce the time complexity of a for each loop?
Use indexed for loop instead of for each loop to reduce time complexity.
Indexed for loop has a constant time complexity of O(1) whereas for each loop has a time complexity of O(n).
Indexed for loop is faster when accessing elements in an array.
Example: for (int i = 0; i < array.length; i++) { //access array[i] }
Example: for (String str : stringArray) { //access str }

Asked in Accenture

Q. How do you retrieve the logged-in user details in a form?
Use GlideUser class to get logged in user details in a form
Use GlideUser class to get the current user's details
Access user details like name, email, roles, etc. using GlideUser methods
Example: var user = gs.getUser(); var userName = user.getName();

Asked in Cognizant

Q. How do ACLs work? Do they apply general to specific rules, or vice versa?
ACL works from general to specific
ACL evaluates rules from general to specific based on order of precedence
If a user has multiple roles, the most specific role takes precedence
Explicit rules take precedence over inherited rules
ACL rules can be defined at table, field, and record levels

Asked in DXC Technology

Q. What is the difference between an asset and a CI?
An asset is a physical or virtual item that has financial value, while a CI is any item that needs to be managed for IT purposes.
Assets are typically tangible items, such as hardware or software licenses, that have a monetary value.
CIs are any items that need to be managed for IT purposes, such as servers, applications, or network devices.
Assets are often tracked in financial systems, while CIs are tracked in IT service management systems.
An asset can be a CI, but not all CIs...read more

Asked in Accenture

Q. What is the difference between =, ==, and ===?
The different between =, ==, === is related to assignment, equality, and strict equality in programming.
= is used for assignment in programming languages.
== is used for equality comparison, it checks if two values are equal.
=== is used for strict equality comparison, it checks if two values are equal in both value and data type.

Asked in Ernst & Young

Q. What is a private function in a script include?
Private functions in script include are only accessible within the script include itself.
Private functions are defined using the 'private' keyword.
They are used for encapsulation and to hide implementation details.
Private functions cannot be called from outside the script include.
Example: private function calculateTotal() { // implementation }

Asked in Intersoft Data Labs

Q. What is servicenow and how you will use this?
ServiceNow is a cloud-based platform that provides IT service management, IT operations management, and IT business management solutions.
ServiceNow helps organizations to streamline their IT operations and improve efficiency.
It offers a range of modules such as Incident Management, Change Management, Problem Management, and Service Catalog.
ServiceNow can be customized to meet the specific needs of an organization.
It can also be integrated with other tools and systems to provi...read more

Asked in Infosys

Q. How do we use REST APIs in ServiceNow?
REST APIs in ServiceNow allow users to interact with the platform programmatically.
REST APIs in ServiceNow can be used to create, read, update, and delete records in tables.
Authentication is required to access REST APIs, using basic authentication or OAuth.
REST API endpoints in ServiceNow follow a standard format: https://
.service-now.com/api/now/ REST APIs can be tested using tools like Postman or cURL.

Asked in EPAM Systems

Q. What are triggers in Flow Designer?
Triggers in Flow Designer are events that initiate a flow when a specified condition is met.
Triggers are used to start a flow based on a specific event or condition
They can be configured to listen for events like record creation, updates, or deletions
Triggers can also be set to run on a schedule or at a specific time

Asked in Wipro

Q. What is a scheduled report?
A scheduled report is a report that is automatically generated and sent at a specified time and frequency.
Scheduled reports can be set up to run daily, weekly, monthly, or at a custom interval.
They can be sent via email or saved to a specific location.
Scheduled reports can be used to provide regular updates on key metrics or to automate repetitive reporting tasks.

Asked in Cognizant

Q. What are the stages of HRSD cases?
The stages of HRSD cases include New, In Progress, On Hold, Resolved, Closed
New - when a new case is created
In Progress - when the case is being actively worked on
On Hold - when the case is temporarily paused
Resolved - when the issue is resolved but awaiting confirmation
Closed - when the case is officially closed
Interview Questions of Similar Designations
Interview Experiences of Popular Companies





Top Interview Questions for Servicenow Developer Related Skills

Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary


Reviews
Interviews
Salaries
Users

