CoverPhoto
Infosys logo
Premium Employer

Infosys

Verified
3.6
based on 39.4k Reviews
Filter interviews by
Servicenow Developer
Clear (1)

10+ Infosys Servicenow Developer Interview Questions and Answers

Updated 24 Dec 2024

Q1. Write code to auto-close parent incident when all child incidents are closed ?

Ans.

Code to auto-close parent incident when all child incidents are closed

  • Create a script that runs on child incident closure

  • Check if all child incidents are closed

  • If all child incidents are closed, close the parent incident

View 1 answer
right arrow

Q2. Can we hide the hamburger (Context menu chooser ) for a user ?

Ans.

Yes, the hamburger (Context menu chooser) can be hidden for a user in ServiceNow.

  • The hamburger menu can be hidden by modifying the UI policies and client scripts.

  • You can use CSS to hide the hamburger menu for specific users or roles.

  • Alternatively, you can customize the UI to remove the hamburger menu altogether.

Add your answer
right arrow

Q3. What is the difference between inbound & outbound in ServiceNow ?

Ans.

Inbound refers to data coming into ServiceNow, while outbound refers to data going out of ServiceNow.

  • Inbound data is typically received through integrations, email, web services, etc.

  • Outbound data is usually sent to external systems, APIs, email notifications, etc.

  • Inbound actions can trigger workflows or create records in ServiceNow.

  • Outbound actions can update external systems or send notifications to users.

Add your answer
right arrow

Q4. How do you create a flow for automation of a business process ?

Ans.

To create a flow for automation of a business process, you can use a workflow automation tool like Servicenow Flow Designer.

  • Identify the business process that needs to be automated

  • Map out the steps involved in the process

  • Use Servicenow Flow Designer to create a visual workflow

  • Add conditions, actions, and approvals as needed

  • Test the flow to ensure it functions correctly

  • Deploy the automated flow to streamline the business process

Add your answer
right arrow
Discover Infosys interview dos and don'ts from real experiences

Q5. Write code such that the input field will accept only alphanumeric characters ?

Ans.

Use JavaScript to restrict input field to alphanumeric characters only.

  • Use JavaScript event listeners to detect input in the field.

  • Check each character entered using regular expressions to allow only alphanumeric characters.

  • Display an error message if a non-alphanumeric character is entered.

Add your answer
right arrow

Q6. Write a script to mask a single line text field to mask the value ?

Ans.

Script to mask a single line text field value

  • Use the 'onLoad' client script to mask the value on form load

  • Use the 'onSubmit' client script to mask the value before saving

  • Use the 'getDisplayValue' and 'setDisplayValue' methods to manipulate the field value

Add your answer
right arrow
Are these interview questions helpful?

Q7. Write a program to get the Palindrome sub-string from the given string ?

Ans.

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.

Add your answer
right arrow

Q8. Write a program to separate numbers and alphabets in a given array of elements ?

Ans.

Program to separate numbers and alphabets in a given array of elements.

  • Iterate through each element in the array

  • Check if the element is a number or alphabet using regular expressions

  • Store numbers and alphabets in separate arrays

Add your answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. Explain all (Incident, Problem, Change, Request Management) ITSM life cycles ?

Ans.

ITSM life cycles include Incident, Problem, Change, and Request Management.

  • Incident Management: Focuses on restoring normal service operation as quickly as possible.

  • Problem Management: Focuses on identifying and solving the root cause of recurring incidents.

  • Change Management: Involves controlling changes to the IT infrastructure to minimize impact on services.

  • Request Management: Handles user requests for IT services or information.

Add your answer
right arrow

Q10. How do you make integrations in ServiceNow ?

Ans.

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

Add your answer
right arrow

Q11. How do we use REST APIs in ServiceNow ?

Ans.

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.

Add your answer
right arrow

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

View 1 answer
right arrow

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

Add your answer
right arrow

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

Add your answer
right arrow

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

Add your answer
right arrow

Q16. Type of change and differences

Ans.

Types of changes in Servicenow and their differences

  • Standard Change: pre-approved, low-risk, routine changes

  • Normal Change: requires assessment and approval

  • Emergency Change: implemented immediately to resolve critical issues

  • Major Change: significant impact on services or infrastructure

  • Minor Change: minimal impact on services or infrastructure

Add your answer
right arrow

Q17. what is orderguide

Ans.

Orderguide is a feature in ServiceNow that allows users to create and manage a list of items to order.

  • Orderguide helps users easily select and order items they need.

  • Users can customize their orderguide with specific items and quantities.

  • Orderguide streamlines the ordering process by providing a structured list of items to choose from.

Add your answer
right arrow

Q18. Client scripts usage

Ans.

Client scripts are used in ServiceNow to run scripts on the client side to customize forms and fields.

  • Client scripts are used to perform actions on forms and fields without server interaction

  • They can be used to set field values, show or hide fields, or validate data

  • Client scripts can be written in JavaScript and attached to specific forms or fields

Add your answer
right arrow

Q19. Tasks completed

Ans.

I have completed various tasks related to Servicenow development, including customization, integration, and automation.

  • Customizing forms and workflows to meet specific business requirements

  • Integrating Servicenow with other systems using APIs

  • Automating repetitive tasks using scripts and workflows

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Infosys Servicenow Developer

based on 10 interviews
1 Interview rounds
Technical Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Servicenow Developer Interview Questions from Similar Companies

View all
Recently Viewed
SALARIES
Infosys
REVIEWS
Infosys
No Reviews
REVIEWS
Acuity Knowledge Partners
No Reviews
JOBS
Accenture
No Jobs
JOBS
Accenture
No Jobs
JOBS
Accenture
No Jobs
JOBS
Accenture
No Jobs
REVIEWS
Infosys
No Reviews
DESIGNATION
REVIEWS
EXL Service
No Reviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

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