i
Capgemini
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Job Portal and was interviewed before Feb 2023. There was 1 interview round.
Best practices of Apex
Use bulkification to process large data sets efficiently
Avoid SOQL queries inside loops to optimize performance
Handle exceptions gracefully using try-catch blocks
Use proper naming conventions for variables, classes, and methods
Write test classes to ensure code coverage and functionality
Use governor limits wisely to avoid hitting limits
Implement proper error handling and logging mechanisms
Follow co...
Best practices for writing test classes in Salesforce
Write test classes to cover at least 75% of your Apex code
Use the @isTest annotation to define a class as a test class
Create test data using the @testSetup annotation or by inserting records in the test method
Use System.assert methods to validate expected results
Test both positive and negative scenarios
Avoid hardcoding IDs and use the Test.getStandardPricebookId() me...
I applied via LinkedIn and was interviewed in Nov 2024. There were 2 interview rounds.
Flows can be invoked using other flows and Apex. Apex classes can be invoked from a flow by using invocable methods and passing variables as input parameters.
To invoke a flow from another flow, use the 'Launch Flow' element in the Flow Designer.
To invoke an Apex class from a flow, create an invocable method in the Apex class and annotate it with @InvocableMethod.
Pass variables from a flow to an Apex class by defining i...
Master-detail relationship on Contact as child object is not allowed due to data integrity concerns.
Contact is a standard object and cannot be a child object in a master-detail relationship
Master-detail relationships require the child object to have a lookup to the parent object
Contacts are often used as the primary object in many relationships, making it unsuitable as a child object
Child to parent communication in LWC allows a child component to communicate with its parent component.
Child components can dispatch custom events to communicate with parent components.
Parent components can listen for these custom events and handle them accordingly.
This communication pattern helps in passing data and triggering actions between components.
Write triggers to update user email from contact emails
Create a trigger on the User object
Query for related Contact records
Update User email field with Contact email
LWC ensures data refresh by using Lightning Data Service and @wire decorator.
LWC uses Lightning Data Service to ensure data refresh without needing to write Apex code.
The @wire decorator in LWC allows for declarative data binding and automatic refresh when data changes.
LWC components can also manually refresh data using imperative Apex calls or by calling the refreshApex() method.
Use SOQL query to count number of contacts related to an account and display on account record
Use a SOQL query to count the number of contacts related to the account
Create a formula field on the account object to display the count of contacts
Use a trigger to update the count of contacts on the account whenever a contact is added or removed
Asynchronous apex scenarios involve executing code in the background to improve performance and user experience.
Asynchronous apex can be used for long-running processes, such as batch jobs or callouts to external systems.
It helps in avoiding governor limits by processing tasks in the background.
Examples include sending email notifications, updating records in bulk, and integrating with external APIs.
What people are saying about Capgemini
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Asynchronous Apex allows you to run processes in the background, separate from the main transaction.
Types of Asynchronous Apex include Batch Apex, Queueable Apex, and Scheduled Apex.
Batch Apex is used to process large amounts of data asynchronously.
Queueable Apex allows you to add jobs to the Apex job queue to be processed asynchronously.
Scheduled Apex allows you to schedule Apex to run at a specific time.
Client id and secret can be obtained by registering the external app in the integration platform
Register the external app in the integration platform (e.g. Salesforce)
Navigate to the app's settings or configuration page
Look for the client id and secret provided by the integration platform
Use the client id and secret in the app's authentication process
Capgemini interview questions for designations
I applied via Approached by Company and was interviewed in Aug 2024. There was 1 interview round.
Communication between LWC components can be achieved using events, properties, and methods.
Use events to communicate between unrelated components
Use properties to pass data from parent to child components
Use methods to call functions in child components from parent components
Get interview-ready with Top Capgemini Interview Questions
I applied via Recruitment Consulltant and was interviewed in Feb 2024. There was 1 interview round.
To call child to parents, use the $A.getCallback() method in Salesforce Lightning Component development.
Use $A.getCallback() method to ensure that the child component is called after the parent component.
Pass the child component method as a parameter to $A.getCallback() to call it from the parent component.
Example: $A.getCallback().call(this, function(){ childComponentMethod(); });
You can connect other apps in Salesforce using APIs and integrations.
Use Salesforce Connect to integrate external data sources
Utilize REST or SOAP APIs to connect with other apps
Leverage middleware tools like MuleSoft for seamless integrations
I applied via Naukri.com and was interviewed before Jan 2024. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in Jan 2024. There was 1 interview round.
Salesforce is a cloud-based customer relationship management (CRM) platform that helps businesses manage their sales, customer service, marketing, and more.
Cloud-based CRM platform
Helps businesses manage sales, customer service, marketing, etc.
Offers various tools and features for automation and customization
Used by companies of all sizes across different industries
When an account is deleted, the related contact record may also be deleted due to a cascading delete rule.
Contacts are often related to accounts in a one-to-many relationship
Cascading delete rules can be set up in the database to automatically delete related records
This helps maintain data integrity and prevent orphaned records
1 Interview rounds
based on 52 reviews
Rating in categories
Consultant
55.2k
salaries
| ₹5.2 L/yr - ₹18 L/yr |
Associate Consultant
51.9k
salaries
| ₹2.9 L/yr - ₹11.8 L/yr |
Senior Consultant
45.9k
salaries
| ₹7.5 L/yr - ₹25 L/yr |
Senior Analyst
20.5k
salaries
| ₹2 L/yr - ₹7.5 L/yr |
Senior Software Engineer
19.9k
salaries
| ₹3.5 L/yr - ₹12.5 L/yr |
Wipro
Accenture
Cognizant
TCS