Add office photos
Engaged Employer

Cognizant

3.8
based on 48.3k Reviews
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

10+ OSI Digital Interview Questions and Answers

Updated 17 Jan 2025
Popular Designations

Q1. How many ways can we call a server side code from Client side?

Ans.

There are multiple ways to call server side code from client side, including AJAX, WebSockets, and REST API calls.

  • AJAX

  • WebSockets

  • REST API calls

Add your answer

Q2. Client script or UI Policy which one will runs first and why?

Ans.

Client script runs before UI Policy due to the order of execution in ServiceNow.

  • Client script runs before UI Policy because it is executed on the client side before the form is submitted.

  • UI Policy runs after Client script as it is applied after the form is submitted.

  • Client script is used for field-level validation and manipulation, while UI Policy is used for controlling field visibility and mandatory fields.

Add your answer

Q3. There is a 'Investment' field in incident table Old value: Standard New Value: SMA Replace the options, instead of standard, SMA option should be updated to all records in the table.

Ans.

Update 'Investment' field in incident table from Standard to SMA for all records

  • Create a script to update the 'Investment' field in incident table for all records

  • Use a loop to iterate through each record and update the 'Investment' field value from Standard to SMA

Add your answer

Q4. Restrict a characters for 'Investment' field in incident table that characters should not exceed 500 characters do this in client script or UI policy?

Ans.

Restrict characters for 'Investment' field in incident table to 500 characters using UI policy.

  • Create a UI policy on the incident table

  • Add a condition to check the length of the 'Investment' field

  • Set the UI policy action to display an error message if the character limit is exceeded

Add your answer
Discover OSI Digital interview dos and don'ts from real experiences

Q5. Using 'IT Service Manager' role description and short description should be visible?

Ans.

Yes, 'IT Service Manager' role description and short description should be visible.

  • Role description should clearly outline the responsibilities and requirements of the IT Service Manager position

  • Short description should provide a brief overview of the role to attract potential candidates

  • Both descriptions should be easily accessible on the job posting or company website

Add your answer

Q6. There are 4 types of Business rule, can we change the order of Business rule?

Ans.

Yes, the order of Business rules can be changed.

  • Yes, the order of Business rules can be changed by adjusting the order in which they are executed in the Business rule list.

  • This can be done by changing the 'Order' field value in the Business rule record.

  • Business rules with lower 'Order' values will be executed before those with higher 'Order' values.

  • Changing the order of Business rules can impact the overall behavior and functionality of the application.

Add your answer
Are these interview questions helpful?

Q7. Types of Business rule, difference between after and Async business rule?

Ans.

Business rules in ServiceNow can be categorized as before, after, async, and synchronous. After business rules run after a record is inserted or updated, while async business rules run in the background.

  • Types of business rules in ServiceNow: before, after, async, synchronous

  • After business rules run after a record is inserted or updated

  • Async business rules run in the background without blocking the user interface

  • Difference: After business rules are executed synchronously, whil...read more

Add your answer

Q8. How to create a new request type in ITSM?

Ans.

To create a new request type in ITSM, follow these steps.

  • Navigate to the Service Catalog in the ITSM module.

  • Click on 'Create New' to start creating a new request type.

  • Fill in the necessary details such as name, description, and category.

  • Define the workflow for the request type, including approval processes and assignment rules.

  • Test the new request type to ensure it functions correctly.

  • Publish the request type for users to access and submit.

  • Regularly review and update the requ...read more

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. What is the use of isolate checkbox?

Ans.

The isolate checkbox is used to prevent a script from running in the global scope.

  • Prevents variables and functions from being accessed globally

  • Helps in avoiding conflicts with other scripts

  • Useful when developing complex applications with multiple scripts

Add your answer

Q10. Can we use previous in Business rule?

Ans.

Yes, we can use 'previous' in Business rule to access the previous value of a field.

  • Use 'previous' keyword in a Business rule to access the previous value of a field

  • Can be helpful in comparing current and previous values for triggering actions

  • Example: gs.info('Previous value: ' + current.previous.value)

Add your answer

Q11. what is the use of get reference?

Ans.

get reference is used to retrieve a reference to a record in another table

  • Used to establish relationships between records in different tables

  • Allows for easy access to related information

  • Can be used in scripts to retrieve data from related records

Add your answer

Q12. What is the use GFST submit?

Ans.

GFST submit is used to submit a GlideFormState object in ServiceNow.

  • GFST submit is used to save the current state of a form in ServiceNow.

  • It is commonly used in client-side scripts to save form data without refreshing the page.

  • GFST submit can be used to trigger business rules and workflows upon form submission.

Add your answer

Q13. xml() and xml() wait difference?

Ans.

xml() and xml() wait are both used in ServiceNow to parse XML data, but xml() wait is used for asynchronous parsing.

  • xml() is used for synchronous parsing of XML data in ServiceNow

  • xml.wait() is used for asynchronous parsing of XML data in ServiceNow

  • xml() is blocking, while xml.wait() allows other operations to continue while parsing XML data

Add your answer

Q14. Types of Client Scripts?

Ans.

Client scripts in ServiceNow are used to automate processes on the client side.

  • onChange

  • onLoad

  • onSubmit

Add your answer

More about working at Cognizant

Top Rated Mega Company - 2024
Top Rated IT/ITES Company - 2024
HQ - Teaneck. New Jersey., United States (USA)
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
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
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

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