Servicenow Developer

filter-iconFilter interviews by

100+ Servicenow Developer Interview Questions and Answers

Updated 27 Feb 2025

Q51. what is the different between =, ==, ===?

Ans.

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.

Q52. What is a private function in script include ?

Ans.

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 }

Q53. What are triggers in Flow Designer?

Ans.

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

Q54. Difference between client side script and server side script.

Ans.

Client side scripts run on the user's browser, while server side scripts run on the server.

  • Client side scripts are executed on the user's browser, providing immediate feedback without needing to communicate with the server.

  • Server side scripts are executed on the server, allowing for secure processing of sensitive data and operations.

  • Client side scripts are written in languages like JavaScript, while server side scripts are written in languages like Java or Python.

Are these interview questions helpful?

Q55. Can we use current.update() in BR?

Ans.

No, current.update() cannot be used in Business Rules (BR).

  • current.update() is not supported in Business Rules as it can lead to infinite loops.

  • Use current.setValue() or current.setAbortAction(true) instead in Business Rules.

  • Example: current.setValue('state', 2);

Q56. What is ServiceNow ITSM

Ans.

ServiceNow ITSM is a cloud-based IT service management platform that helps organizations manage their IT services efficiently.

  • ServiceNow ITSM includes modules for incident management, problem management, change management, and more.

  • It allows organizations to automate and streamline their IT service delivery processes.

  • ServiceNow ITSM provides a centralized platform for IT teams to collaborate, communicate, and track service requests.

  • It offers reporting and analytics capabiliti...read more

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Q57. What are different types of business rules?

Ans.

Business rules in ServiceNow automate processes and enforce data integrity through various types.

  • Before Business Rule: Executes before the database action (e.g., insert/update). Example: Validate data before saving.

  • After Business Rule: Executes after the database action. Example: Send notifications after a record is updated.

  • Async Business Rule: Executes asynchronously after the database action. Example: Update related records without delaying the user.

  • Display Business Rule: E...read more

Q58. Send email notifications to assigned to of change request as soon as planned end date is crossed.

Ans.

Use business rules to trigger email notifications to assigned to when planned end date is crossed.

  • Create a business rule on the Change Request table

  • Set the condition to check if planned end date is crossed

  • Use script to send email notification to assigned to

Servicenow Developer Jobs

Sr ServiceNow Developer 7-9 years
SAS Research and Developement (India) Pvt Ltd
4.4
Pune
ServiceNow Developer/Software Engineer 0-5 years
HSBC electronic data processing india pvt ltd
3.9
Hyderabad / Secunderabad
Manager, TW4 ServiceNow Developer 4-9 years
MSD Pharmaceuticals Private Limited
4.2
Hyderabad / Secunderabad

Q59. How many types of sorting and searching?

Ans.

There are two types of sorting - ascending and descending. There are various types of searching like linear search, binary search, etc.

  • Sorting: Ascending, Descending

  • Searching: Linear search, Binary search, Hashing, etc.

Q60. How to fetch backend values in servicenow

Ans.

Use GlideRecord to fetch backend values in ServiceNow

  • Use GlideRecord to query records from tables in ServiceNow

  • Use filters and conditions to fetch specific records

  • Access fields and values from the fetched records

Q61. How to add approval in flow designers.

Ans.

To add approval in flow designers, use the 'Approval' activity and configure the approval settings.

  • Drag and drop the 'Approval' activity onto the flow designer canvas

  • Configure the approval settings such as approvers, conditions, and notifications

  • Connect the 'Approval' activity to the relevant steps in the flow

  • Test the flow to ensure the approval process works correctly

Q62. difference between subject to and opened for ?

Ans.

Subject to refers to the person or entity affected by an incident, while opened for refers to the person or entity responsible for resolving the incident.

  • Subject to is the entity that is impacted by an incident, such as a user or a department.

  • Opened for is the entity responsible for resolving the incident, such as a support team or an individual.

  • For example, a ticket may be subject to a specific department but opened for the IT support team.

Q63. what is data police and ui police

Ans.

Data police and UI police are terms used in ServiceNow to refer to the enforcement of data and UI standards.

  • Data police refers to the enforcement of data standards and best practices within ServiceNow instances.

  • UI police refers to the enforcement of UI standards and best practices within ServiceNow instances.

  • Data police ensures data integrity, accuracy, and security.

  • UI police ensures consistent and user-friendly interface design.

  • Examples: Data police may enforce rules for dat...read more

Q64. what is the stages of HRSD cases

Ans.

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

Q65. Types of business rules

Ans.

There are three types of business rules: client, server, and database.

  • Client-side business rules run on the client-side (browser) and are used to validate data before it is submitted to the server.

  • Server-side business rules run on the server-side and are used to enforce business logic and data validation.

  • Database business rules run on the database and are used to enforce data integrity and consistency.

  • Examples of business rules include: mandatory fields, data validation, and ...read more

Q66. Difference between catalg script and business rule

Ans.

Catalog script is used to control the behavior of catalog items, while business rule is used to automate processes and enforce data integrity.

  • Catalog script is specific to catalog items and controls their behavior, such as dynamic variables or field visibility.

  • Business rule is a server-side script that automates processes or enforces data integrity.

  • Catalog script is executed when a catalog item is loaded, while business rule is triggered by database actions or UI actions.

  • Cata...read more

Q67. Difference between Catalog workflow and Request Workflow

Ans.

Catalog workflow is used for ordering items from a catalog, while Request workflow is used for managing the request lifecycle.

  • Catalog workflow is used for ordering predefined items from a catalog, such as hardware or software.

  • Request workflow is used for managing the lifecycle of a request, including approvals, fulfillment, and completion.

  • Catalog workflow typically involves a simpler approval process compared to Request workflow.

  • Examples: Catalog workflow can be used for orde...read more

Q68. signification of cascade variable in order guide

Ans.

Cascade variables in order guide allow for dynamic population of subsequent variables based on previous selections.

  • Cascade variables are used to create a dependency between variables in an order guide.

  • When a user selects a value for a cascade variable, it triggers the population of subsequent variables based on that selection.

  • This helps streamline the ordering process by only showing relevant options based on previous selections.

Q69. what are the types of client script?

Ans.

Types of client script include onLoad, onChange, onSubmit, and onCellEdit.

  • onLoad - runs when the form is loaded

  • onChange - runs when a field value is changed

  • onSubmit - runs when the form is submitted

  • onCellEdit - runs when a cell in a list is edited

Q70. What is turnstile activity in workflow

Ans.

Turnstile activity in workflow refers to the process of allowing only one instance of a workflow to run at a time.

  • Turnstile activity ensures that only one instance of a workflow is active at any given time

  • It prevents multiple instances of the same workflow from running simultaneously

  • This helps in maintaining data integrity and avoiding conflicts in the workflow process

Q71. What is the good practice for client script

Ans.

Good practice for client script in Servicenow Developer

  • Use client scripts sparingly to avoid impacting performance

  • Utilize asynchronous functions to prevent blocking the UI

  • Follow best practices for naming conventions and code organization

  • Leverage Glide API methods for efficient data manipulation

  • Test client scripts thoroughly before deployment

Q72. What is the incident life cycle?

Ans.

The incident life cycle is the process followed from the time an incident is reported to its resolution.

  • 1. Incident is reported by user or detected by monitoring tools

  • 2. Incident is categorized, prioritized, and assigned to a resolver group

  • 3. Resolver group investigates and works on resolving the incident

  • 4. Incident is resolved and closed after verification

  • 5. Post-incident review and analysis for process improvement

Q73. Difference between record producer and Service Catalog

Ans.

Record producer allows users to create new records, while Service Catalog offers predefined services for users to request.

  • Record producer is used to create new records in a specific table

  • Service Catalog offers predefined services for users to request

  • Record producer allows for customization of the form layout and fields

  • Service Catalog provides a user-friendly interface for requesting services

  • Record producer can be used for creating incidents, changes, or any other type of reco...read more

Q74. Is javascript synchronous language?

Ans.

Yes, JavaScript is a synchronous language.

  • JavaScript is single-threaded, meaning it can only execute one piece of code at a time.

  • It follows a top-down execution flow, where each line of code is executed in order.

  • Asynchronous behavior can be achieved using callbacks, promises, and async/await.

  • Example: setTimeout function in JavaScript delays the execution of a function.

  • Example: Fetch API in JavaScript allows making asynchronous HTTP requests.

Q75. what is function and function call

Ans.

A function is a block of code that performs a specific task. A function call is when the function is executed.

  • Functions are reusable blocks of code that can be called multiple times in a program.

  • Function calls involve providing the function name followed by parentheses, which may contain arguments.

  • Functions can return values or perform actions without returning a value.

Q76. what is mrvs in service catalog?

Ans.

MRVS stands for Multi Row Variable Set in Service Catalog.

  • MRVS allows users to group related variables together in a single set

  • It simplifies the process of creating and managing multiple variables

  • Users can define dependencies and conditions within the set

  • Example: A hardware request form may include a MRVS for selecting computer specifications

Q77. what is ui policy and ui policy action?

Ans.

UI policy is used to set mandatory, read-only, or visibility conditions on form fields. UI policy action is used to define the behavior when conditions are met.

  • UI policy is used to control the behavior of form fields on a form.

  • UI policy can make fields mandatory, read-only, or hidden based on conditions.

  • UI policy actions define what happens when conditions are met, such as showing an error message or setting a field value.

  • UI policy actions can be triggered on form load, field...read more

Q78. Difference between UI policy and data policy

Ans.

UI policy controls the behavior of fields on a form, while data policy controls the data that can be entered into fields.

  • UI policy is used to set mandatory, read-only, or visible conditions on form fields

  • Data policy is used to enforce data validation rules on form fields

  • UI policy is client-side, while data policy is server-side

  • Example: UI policy can make a field read-only when a certain condition is met, while data policy can enforce that a field must be a valid email address

Q79. Difference bw catalog item and record producer

Ans.

Catalog item is a predefined item in the service catalog, while record producer allows users to create custom records.

  • Catalog item is predefined and created by admins, while record producer allows users to create custom records

  • Catalog items are used to request services or products, record producers are used to create records in tables

  • Catalog items have predefined variables and workflows, record producers allow users to define variables and workflows

Q80. What is ServiceNow

Ans.

ServiceNow is a cloud-based platform that provides IT service management, automation, and workflow solutions.

  • Cloud-based platform for IT service management

  • Offers automation and workflow solutions

  • Used for streamlining IT operations and improving efficiency

Q81. different triggers in SLA other than Incident

Ans.

Triggers in SLA other than Incident

  • Change Requests

  • Problem Tickets

  • Service Requests

  • Major Incidents

Q82. explain cell edit and on change client script

Ans.

Cell edit allows users to edit fields directly in a list without opening a form. OnChange client script triggers when a field value changes.

  • Cell edit enables inline editing in list views for quick updates

  • OnChange client script is used to perform actions when a field value changes

  • Cell edit can improve user experience by reducing the need to open individual records for editing

Q83. What all change types have you seen

Ans.

Common change types include standard, emergency, normal, and major.

  • Standard change

  • Emergency change

  • Normal change

  • Major change

Q84. What do you mean by SaaS?

Ans.

SaaS stands for Software as a Service, a cloud-based software delivery model where applications are hosted by a third-party provider and accessed over the internet.

  • SaaS allows users to access software applications via the internet without the need for installation or maintenance.

  • Users typically pay a subscription fee to use SaaS applications, which are centrally hosted and managed by the provider.

  • Examples of SaaS include Salesforce, Microsoft Office 365, and Google Workspace.

Q85. How to display top 10 incidents

Ans.

To display top 10 incidents, use a query to retrieve incidents sorted by priority and limit the results to 10.

  • Use a query to retrieve incidents from the database

  • Sort the incidents by priority in descending order

  • Limit the results to 10 incidents

Q86. How to log errors in servicenow

Ans.

Errors in ServiceNow can be logged using gs.error() method

  • Use gs.error() method to log errors in ServiceNow

  • Include a descriptive message along with the error

  • Errors can be viewed in the System Logs

Q87. What is Reference Qualifier and types?

Ans.

Reference Qualifier is a filter condition applied to a reference field to restrict the data that can be selected.

  • Reference Qualifiers are used to limit the choices available in a reference field based on certain conditions.

  • Types of Reference Qualifiers include dynamic, static, and advanced reference qualifiers.

  • Dynamic Reference Qualifiers are based on the current record being viewed.

  • Static Reference Qualifiers are predefined filters that restrict the choices available.

  • Advance...read more

Q88. How to find duplicate in any table

Ans.

To find duplicates in any table, use SQL query with GROUP BY and HAVING clause.

  • Use GROUP BY clause to group records with same values

  • Use HAVING clause to filter out groups with count greater than 1

  • Example: SELECT column_name, COUNT(*) FROM table_name GROUP BY column_name HAVING COUNT(*) > 1

Q89. What are your mechanical skills?

Ans.

I have strong mechanical skills with experience in troubleshooting, maintenance, and repair of various equipment and machinery.

  • Experience in troubleshooting and repairing mechanical systems

  • Knowledge of maintenance procedures for equipment and machinery

  • Ability to read and interpret technical drawings and schematics

  • Familiarity with tools and equipment used in mechanical work

  • Hands-on experience with servicing and maintaining mechanical components

Q90. What is OAuth authentication?

Ans.

OAuth authentication is a secure way to grant access to resources without sharing credentials.

  • OAuth stands for Open Authorization

  • It allows a user to grant a third-party application access to their resources without sharing their credentials

  • OAuth uses tokens for authentication instead of passwords

  • It is commonly used in APIs and web applications for secure authorization

Q91. Types of change? And explain each.

Ans.

Types of change include standard, normal, emergency, and major. Each type has different levels of impact and urgency.

  • Standard change: Pre-approved, low-risk changes that follow a documented process.

  • Normal change: Changes that are not standard but do not require immediate implementation.

  • Emergency change: Changes that must be implemented immediately to resolve a critical issue.

  • Major change: High-impact changes that require significant planning and approval.

Q92. Write code to display choices based on role

Ans.

Display choices based on user role using code

  • Create a function to check user's role

  • Use conditional statements to display choices based on role

  • Assign choices to an array of strings

Q93. Difference between merged and batch update sets

Ans.

Merged update sets combine changes from multiple update sets into one, while batch update sets are used to group multiple changes for deployment.

  • Merged update sets combine changes from multiple update sets into one

  • Batch update sets are used to group multiple changes for deployment

  • Merged update sets are typically used for larger projects with multiple developers

  • Batch update sets are used for grouping changes that need to be deployed together

  • Merged update sets can help in avoid...read more

Q94. What is the purpose of ACL?

Ans.

ACL stands for Access Control List and is used to control access to data and functionality within ServiceNow.

  • ACLs define who can access a particular record or table in ServiceNow

  • They can restrict access based on roles, conditions, scripts, etc.

  • ACLs help in enforcing security policies and ensuring data integrity

  • Examples include restricting access to sensitive HR records to only HR managers

Q95. What is cascading variables?

Ans.

Cascading variables are variables that are dependent on other variables and change dynamically based on the values of those variables.

  • Cascading variables are commonly used in forms to show or hide certain fields based on the selection of other fields.

  • They help in creating dynamic and interactive forms that adapt to user input.

  • For example, in a form for selecting a country, the list of states or provinces available for selection would be a cascading variable that changes based...read more

Q96. How many data types in c

Ans.

C language has 5 basic data types: int, float, double, char, and void.

  • int - used for integer values (e.g. 5, -10)

  • float - used for floating-point values (e.g. 3.14, -0.5)

  • double - used for double-precision floating-point values (e.g. 3.14159, -0.12345)

  • char - used for single characters (e.g. 'a', 'B')

  • void - used to indicate that a function does not return a value

Q97. Use mail script to send incident details.

Ans.

Use mail script to send incident details

  • Create a script that fetches incident details

  • Use a mail script to send the details via email

  • Ensure proper formatting and content in the email

Q98. Business Rules and Types of business Rules

Ans.

Business rules are server-side scripts that run when a record is displayed, inserted, updated, deleted, or when a table is queried.

  • Business rules automate processes and enforce data consistency.

  • There are two types of business rules: client-side and server-side.

  • Client-side business rules run on the browser and server-side business rules run on the server.

  • Business rules can be used to set field values, run scripts, display messages, and more.

Q99. catalog ui runs first client script

Ans.

The catalog UI runs before the client script.

  • Catalog UI policies are evaluated before client scripts.

  • Catalog UI policies can control field visibility, mandatory fields, etc.

  • Client scripts run after the catalog UI policies are evaluated.

Q100. Types of business rules with example

Ans.

There are three types of business rules in ServiceNow: client scripts, server scripts, and UI policies.

  • Client scripts run on the client side and are used to perform actions on form fields or execute scripts when a form is loaded, saved, or deleted.

  • Server scripts run on the server side and are used to perform actions on records when they are inserted, updated, or deleted.

  • UI policies are used to set mandatory, read-only, or visible conditions on form fields based on certain cri...read more

Previous
1
2
3
Next
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

3.7
 • 10.5k Interviews
3.8
 • 8.2k Interviews
3.6
 • 7.6k Interviews
3.7
 • 5.6k Interviews
3.7
 • 5.6k Interviews
3.7
 • 4.8k Interviews
3.5
 • 3.8k Interviews
3.8
 • 2.9k Interviews
3.8
 • 2.8k Interviews
View all

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

Recently Viewed
JOBS
Searchlight Consulting
No Jobs
JOBS
Programmers.io
No Jobs
INTERVIEWS
AVASOFT
No Interviews
JOBS
AGCO Trading India
No Jobs
JOBS
ServiceNow
No Jobs
SALARIES
Thomson Reuters
JOBS
DFCS Technologies
No Jobs
SALARIES
NexGen Tech Solutions
INTERVIEWS
Nokia
No Interviews
DESIGNATION
Servicenow Developer Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter