Accenture
10+ Madurai Institute of Social Sciences Interview Questions and Answers
Q1. What is record producer? How many ways we can call server script in client side? Few servicenow best practices we should follow. Workflow activities.
Record producer is a feature in ServiceNow that allows users to create records in a guided manner.
Record producer provides a user-friendly interface for creating records with predefined templates and fields.
Server scripts can be called in client side using GlideAjax, g_form.getReference, and g_scratchpad.
Some ServiceNow best practices include using naming conventions, documenting changes, and testing in sub-production instances.
Workflow activities in ServiceNow include approv...read more
Q2. 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
Q3. How to get logged in user details in 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();
Q4. Is javascript synchronous language?
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.
Q5. Difference bw catalog item and record producer
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
Q6. What is BR and its type
BR stands for Business Rule. It is a server-side script that runs when a record is displayed, inserted, updated, deleted, or when a table is queried.
BRs are used to automate business processes and enforce business rules
There are two types of BRs: Before Business Rule and After Business Rule
Before Business Rule runs before the database action has occurred, while After Business Rule runs after the database action has occurred
Example: Before Business Rule can be used to validate...read more
Q7. Server side script with examples
Server side scripts are scripts that run on the server side of an application, typically used for automating tasks or processing data.
Server side scripts are written in languages like JavaScript, Python, or Java.
They are used to perform tasks such as data validation, calculations, and database operations.
Examples of server side scripts include business rules, script includes, and server-side UI actions.
Q8. Clinet side scripts with example
Client side scripts are scripts that run on the user's browser, enhancing the user interface and experience.
Client side scripts are written in JavaScript and are executed on the user's browser.
They can be used to validate form inputs, manipulate DOM elements, and make asynchronous requests to the server.
Example: Using client side script to show a confirmation message before submitting a form.
Q9. How to use getreference method
The getReference method is used to retrieve a reference to a record in ServiceNow.
Use getReference method with the field name to retrieve a reference to a record.
The getReference method returns a GlideRecord object representing the referenced record.
You can then use the GlideRecord object to access and manipulate the referenced record.
Q10. What are macros
Macros are automated scripts that can be used to perform repetitive tasks in Servicenow.
Macros in Servicenow are used to automate tasks and reduce manual effort.
They can be used to update multiple records at once, send notifications, or perform calculations.
Macros can be triggered manually or automatically based on certain conditions.
Example: Creating a macro to automatically close all resolved incidents in Servicenow.
Q11. Proejcts you have done
Developed a service portal for IT ticketing system
Created custom widgets for user-friendly interface
Integrated with ServiceNow API for ticket management
Implemented role-based access control for different user types
More about working at Accenture
Interview Process at Madurai Institute of Social Sciences
Top Servicenow Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month