i
Cognizant
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Naukri.com and was interviewed in Sep 2020. There were 3 interview rounds.
I applied via Job Portal and was interviewed in May 2024. There were 2 interview rounds.
Promise is an object representing the eventual completion (or failure) of an asynchronous operation, and promiseAll is a method that takes an iterable of promises and returns a single Promise that resolves when all of the promises have resolved.
Promise is used in JavaScript to handle asynchronous operations.
It represents a value that may not be available yet, but will be resolved at some point in the future.
PromiseAll ...
Connection from Mulesoft to Salesforce is done using Salesforce Connector in Mulesoft Anypoint Platform.
Use Salesforce Connector in Mulesoft Anypoint Platform to establish connection
Authenticate using Salesforce credentials (username, password, security token)
Utilize Salesforce APIs to interact with Salesforce data
Connected App, remote site settings, and OAuth are key components in Salesforce for enabling secure external access to Salesforce data and functionality.
Connected App is a framework that enables external applications to securely integrate with Salesforce using APIs.
Remote Site Settings allow Salesforce to make callouts to external services over HTTPS.
OAuth is an open standard for access delegation, commonly used in Sal...
Best practices in Trigger and trigger events
Best practices include bulkifying triggers, using helper classes, and limiting logic in triggers
Trigger events are before insert, before update, after insert, after update, etc.
Examples of trigger events include before insert, after update, etc.
Rollup summary field is a field in Salesforce that calculates values from related records and displays the result on a parent record.
Rollup summary fields are used to perform calculations on child records and display the result on a parent record.
They can be used to calculate the sum, count, minimum, or maximum of a field in related records.
For example, a rollup summary field can be used to calculate the total amount o...
With and without sharing in Salesforce determines whether sharing rules are enforced for a class.
With sharing keyword enforces sharing rules, restricting access to records based on the user's profile and organization-wide defaults.
Without sharing keyword does not enforce sharing rules, allowing full access to all records regardless of the user's profile or organization-wide defaults.
Future is asynchronous and runs in a separate thread, while Queueable Apex runs in the same thread but can be queued for execution.
Future methods are used for executing code asynchronously, while Queueable Apex is used for chaining jobs and running them in a specific order.
Future methods have a limit of 50 per transaction, while Queueable Apex has a limit of 50 jobs in the queue per transaction.
Future methods cannot be...
Future methods in Salesforce can accept primitive data types as parameters.
Primitive data types like Integer, String, Boolean, etc. can be passed as parameters to Future methods.
Non-primitive data types like custom objects or collections cannot be passed as parameters to Future methods.
Example: @future public static void myFutureMethod(Integer param1, String param2) { }
To pass subjects to future methods, use the @future annotation in Apex.
Use the @future annotation before the method declaration to indicate that the method will run asynchronously in the future.
Pass the subject parameters to the @future method as arguments when calling the method.
Ensure that the subject parameters are serializable to be passed to future methods.
Tools for deployment include Salesforce DX, Ant Migration Tool, Change Sets, and Metadata API.
Salesforce DX is a command-line interface for development and deployment
Ant Migration Tool is a Java/Ant-based tool for moving metadata between environments
Change Sets allow for moving configuration changes between orgs
Metadata API is a web service for managing metadata
Create a trigger on Contact to display the number of contacts on the related Account.
Create an after insert, update, delete trigger on Contact object
Query for the count of contacts related to the Account
Update a custom field on the Account with the count of contacts
Create a trigger on Account to prevent deletion if associated with one or more contacts
Create an after delete trigger on Account object
Query for related contacts using SOQL
If contacts are found, add an error message to prevent deletion
Display Accounts with related contacts in a list using LWC code
Create a Lightning web component (LWC) to display the list
Use Apex to query for Accounts and their related Contacts
Iterate over the data to display Accounts and their related Contacts in the list
Create a trigger on Order Products to display the most sold product type on the account
Create a trigger on Order Products object in Salesforce
Use SOQL query to count the number of each product type sold
Update the most_sold_product field on the Account object with the highest sold product type
Batch class syntax in Salesforce
Batch class must implement Database.Batchable interface
Define start, execute, and finish methods
Use Database.executeBatch method to execute the batch class
I applied via LinkedIn and was interviewed in Oct 2024. There was 1 interview round.
Child to parent communication in LWC involves using events to pass data from child components to parent components.
Use custom events to communicate from child to parent components
Dispatch the custom event in the child component and handle it in the parent component
Pass data along with the custom event to send information from child to parent
I applied via Job Portal
Asynchronous apex refers to code that runs in the background without user interaction.
Asynchronous apex is used for long-running processes that do not need to be completed immediately.
It allows for better performance by not blocking the user interface.
Examples include batch apex, future methods, and queueable apex.
I applied via LinkedIn and was interviewed in Aug 2024. There was 1 interview round.
OWDs in SF refer to Organization-Wide Defaults which control the default level of access users have to records in Salesforce.
OWDs determine the baseline level of access for all records in an organization
They can be set to Public Read/Write, Public Read Only, Private, or Controlled by Parent
OWDs can be further refined using sharing rules and manual sharing
Asynchronous Apex is used to run processes in the background without user interaction.
Asynchronous Apex is used for long-running processes that don't require immediate user interaction.
It allows for better performance by running tasks in the background.
Examples include batch Apex, future methods, and queueable Apex.
LWC in omnistudio refers to using Lightning Web Components in Salesforce's OmniStudio for building custom applications.
LWC can be used in OmniStudio to create custom components and pages for applications.
LWC allows for building interactive and responsive user interfaces in OmniStudio.
LWC can be integrated with other Salesforce tools and services within OmniStudio.
Example: Creating a custom LWC component to display data...
I was interviewed in Jun 2024.
Salesforce governor limits are limits enforced by Salesforce to ensure efficient use of resources and prevent abuse.
Governor limits are enforced to prevent long-running or resource-intensive operations.
Examples of governor limits include limits on the number of SOQL queries, CPU time, and DML statements.
Exceeding governor limits can result in exceptions being thrown by Salesforce.
Developers need to be aware of governor...
I applied via LinkedIn and was interviewed in Jul 2024. There was 1 interview round.
Inheritance in Apex class allows a class to inherit properties and methods from another class.
Inheritance is achieved using the 'extends' keyword in Apex.
Child classes can access all non-private members of the parent class.
Child classes can override methods from the parent class.
Example: Class B extends Class A.
Skinny table is a custom table in Salesforce that contains a subset of fields from standard and custom objects for performance optimization.
Skinny tables are used to store frequently accessed fields in a denormalized form to improve query performance.
They are created by Salesforce automatically based on the fields accessed in reports, list views, and SOQL queries.
Skinny tables are read-only and are automatically update...
posted on 7 Jun 2024
I applied via Recruitment Consulltant and was interviewed in May 2024. There were 2 interview rounds.
based on 10 reviews
Rating in categories
Associate
72.5k
salaries
| ₹5.1 L/yr - ₹15.9 L/yr |
Programmer Analyst
55.4k
salaries
| ₹2.4 L/yr - ₹9.7 L/yr |
Senior Associate
48.3k
salaries
| ₹9 L/yr - ₹27 L/yr |
Senior Processing Executive
28.6k
salaries
| ₹1.8 L/yr - ₹9 L/yr |
Technical Lead
17.6k
salaries
| ₹5.9 L/yr - ₹24 L/yr |
TCS
Infosys
Wipro
Accenture