LTIMindtree
Sun Life Financial Interview Questions and Answers
Q1. Write a code to show last 10 incident created in background script
Code to display last 10 incidents in background script
Query incident table to get last 10 records
Use GlideRecord to fetch incident records
Sort records by created date in descending order
Q2. Difference between client side script and server side script.
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.
Q3. How to add approval in flow designers.
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
Q4. Difference between UI policy and data policy
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
Q5. What is Reference Qualifier and types?
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
Q6. Types of business rules with example
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
More about working at LTIMindtree
Interview Process at Sun Life Financial
Top Servicenow Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month