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 Job Portal and was interviewed in Dec 2023. There were 2 interview rounds.
I applied via Company Website and was interviewed in Nov 2023. There was 1 interview round.
Flow and automation types are tools in Salesforce used to automate business processes and streamline workflows.
Flows are declarative automation tools that allow users to design and automate business processes by creating visual workflows.
Automation types include Process Builder, Workflow Rules, and Approval Processes, which automate repetitive tasks and streamline processes.
Examples of automation types include automati...
Some new features of Salesforce include Lightning Web Components, Einstein Voice, and Salesforce Blockchain.
Lightning Web Components allow developers to build custom components using modern web standards.
Einstein Voice enables users to interact with Salesforce using natural language processing.
Salesforce Blockchain helps organizations securely share data and processes across multiple parties.
I was interviewed in Oct 2022.
Best practices for writing triggers, execution order, deployment techniques, code coverage, and Azure DevOps.
Use trigger framework to avoid code duplication
Bulkify triggers to handle large data sets
Follow trigger order of execution
Use metadata API or change sets for deployment
Minimum code coverage is 75%
Azure DevOps is a cloud-based tool for managing software development projects
I applied via Referral and was interviewed before Nov 2021. There were 4 interview rounds.
Process builder has some limitations and drawbacks.
Process builder can slow down the system performance.
It has a limit of 10,000 records per hour.
It can be complex to use and maintain.
It cannot handle bulk updates efficiently.
It does not support all types of actions and criteria.
It can cause recursion and infinite loops if not configured properly.
Static block is a block of code that runs only once when the class is loaded.
Static block is enclosed in curly braces and starts with the keyword 'static'.
It is used to initialize static variables or to perform any one-time setup for the class.
Static block is executed before the constructor of the class.
Example: static { System.debug('This is a static block'); }
Best practices for test classes in Salesforce development.
Test all positive and negative scenarios
Use test data factory methods to create test data
Avoid hardcoding IDs and use SOQL queries to retrieve data
Use System.assert methods to validate results
Test governor limits and bulk data scenarios
Use @testSetup to create common test data
Avoid using SeeAllData=true
Test asynchronous code using Test.startTest() and Test.stopT...
posted on 31 May 2022
I applied via Naukri.com and was interviewed in Nov 2022. There were 3 interview rounds.
Based on your work done in the past
posted on 25 Apr 2024
I was interviewed before Apr 2023.
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.5k
salaries
| ₹1.8 L/yr - ₹9 L/yr |
Technical Lead
17.6k
salaries
| ₹5.9 L/yr - ₹24 L/yr |
TCS
Infosys
Wipro
Accenture