Wipro Salesforce interview questions
The interview process and the coding questions candidates report from recent Wipro rounds, with working code and what the interviewer is checking.
On this page (6 sections)
How the Wipro Salesforce interview usually runsTrigger coding questionsSOQL, async and integrationConfiguration, security and Service CloudManagerial roundKeep goingWipro hires Salesforce admins, developers, consultants and architects across India and abroad. Candidates who share their experience describe a fairly consistent process, and a set of coding questions that come up again and again, especially triggers written live in the first technical round.
These are questions candidates report from recent Wipro interviews, collected from public interview write-ups and answered in our own words. Wipro does not publish an official question list, and each team and client asks differently, so treat this as the most likely ground to cover, not a script.
How the Wipro Salesforce interview usually runs
- Online assessment for many roles, often on a platform such as iMocha, with multiple-choice questions and sometimes a short coding task.
- Technical round (L1): Apex, triggers, SOQL, LWC and configuration, and usually at least one trigger or query written live.
- Techno-managerial round (L2): scenario questions, your last project in detail, integrations you have built and how you work with a team. For client projects, a client round may be added.
- HR round: notice period, location, salary and joining date.
Experienced candidates say the first round tests whether you can write working code quickly, and the second tests whether you have really owned the work on your CV.
Trigger coding questions
02Write a trigger that keeps a count of Contacts on each Account.
Write a trigger that keeps a count of Contacts on each Account.
What the interviewer is checking: Whether you remember the less obvious events: reparenting on update, and undelete. Most candidates handle only insert and delete.
Update a number field on Account, for example Contact_Count__c, whenever contacts are inserted, deleted, undeleted, or moved to another account. Collect every affected account ID, then recount with one aggregate query.
trigger ContactCount on Contact (after insert, after update, after delete, after undelete) {
Set<Id> accIds = new Set<Id>();
if (Trigger.new != null) for (Contact c : Trigger.new) accIds.add(c.AccountId);
if (Trigger.old != null) for (Contact c : Trigger.old) accIds.add(c.AccountId);
accIds.remove(null);
if (accIds.isEmpty()) return;
Map<Id, Account> updates = new Map<Id, Account>();
for (Id id : accIds) updates.put(id, new Account(Id = id, Contact_Count__c = 0));
for (AggregateResult ar : [SELECT AccountId, COUNT(Id) total FROM Contact
WHERE AccountId IN :accIds GROUP BY AccountId]) {
updates.get((Id) ar.get('AccountId')).Contact_Count__c = (Integer) ar.get('total');
}
update updates.values();
}Recounting from the database is safer than adding and subtracting, because it fixes itself if a count was ever wrong. If the interviewer asks for a no-code option: a roll-up summary field only works on master-detail relationships, and Account to Contact is a lookup, so a record-triggered flow or this trigger is needed.
Common mistake: Forgetting the old account when a contact moves to a new account, so the old account's count stays too high.
03How do you stop a trigger from running again and again (recursion)?
How do you stop a trigger from running again and again (recursion)?
Recursion happens when a trigger updates records that fire the same trigger again. The usual guard is a static set of processed record IDs in a handler class: skip any record already in the set. Avoid a single static Boolean flag, because it also skips the second batch of 200 records in a large load, which silently leaves records unprocessed.
Better still, design so recursion cannot happen: change fields in a before trigger instead of updating the same records in an after trigger, and only act when the relevant field actually changed.
Common mistake: Using one static Boolean that turns off the trigger for the rest of the transaction, including the next chunk of records.
SOQL, async and integration
04Write a SOQL query that returns Accounts with no Contacts, and one with their open Opportunities.
Write a SOQL query that returns Accounts with no Contacts, and one with their open Opportunities.
// Accounts without contacts
SELECT Id, Name FROM Account
WHERE Id NOT IN (SELECT AccountId FROM Contact)
// Accounts with their open opportunities
SELECT Id, Name,
(SELECT Id, Name, StageName, Amount FROM Opportunities WHERE IsClosed = false)
FROM Account
WHERE Industry = 'Banking'Explain that the first uses an anti-join (a semi-join with NOT IN), and the second a parent-to-child subquery using the relationship name Opportunities, not the object name.
05Write a simple Apex class that calls a REST API.
Write a simple Apex class that calls a REST API.
What the interviewer is checking: Named Credentials, error handling and knowing that callouts need async from triggers. A bare endpoint URL in code costs points.
Use a Named Credential, so the URL and authentication are not in the code, and handle failures.
public with sharing class WeatherService {
public class CalloutFailedException extends Exception {}
public static Map<String, Object> getForecast(String city) {
HttpRequest req = new HttpRequest();
req.setEndpoint('callout:Weather_API/forecast?city=' + EncodingUtil.urlEncode(city, 'UTF-8'));
req.setMethod('GET');
req.setTimeout(20000);
HttpResponse res = new Http().send(req);
if (res.getStatusCode() != 200) {
throw new CalloutFailedException('Weather API returned ' + res.getStatusCode());
}
return (Map<String, Object>) JSON.deserializeUntyped(res.getBody());
}
}Then say how you would call it from a trigger (through Queueable with Database.AllowsCallouts, because triggers cannot call out directly) and how you test it (an HttpCalloutMock).
06You need to process 2 million records every night. Which async option do you choose and why?
You need to process 2 million records every night. Which async option do you choose and why?
Batch Apex. It splits the records into chunks (200 by default), and each chunk runs in its own transaction with fresh limits, so it can handle millions of records. I would schedule it with Scheduled Apex, use Database.Stateful only if I need to keep totals across chunks, and send a summary email or log entry from finish().
Queueable suits smaller jobs or chains of steps; @future is for small, simple work; and a scheduled flow is fine for light updates but not for millions of rows.
07What types of integrations have you worked on?
What types of integrations have you worked on?
What the interviewer is checking: That you really built it. Expect follow-up questions on authentication, volumes and what happened when it broke.
This is a project question, so answer with a real example in this order: the systems involved, the direction of data, the pattern you chose and why, and how you handled failures. For example: "We sent closed opportunities to SAP as orders. Salesforce published a Platform Event, MuleSoft subscribed and called SAP, and wrote the SAP order number back through the REST API. Failures went to an error object with a retry button for the support team."
Configuration, security and Service Cloud
08Explain the Salesforce sharing model.
Explain the Salesforce sharing model.
Access is layered, from most restrictive to most open:
- Object and field permissions (profiles and permission sets) decide what a user can do at all.
- Organisation-wide defaults set the baseline record access: Private, Public Read Only or Public Read/Write.
- Role hierarchy opens records up to managers.
- Sharing rules open records to groups, based on owner or criteria.
- Teams, manual sharing and Apex sharing handle exceptions.
Sharing only ever opens access above the defaults; it cannot take access away.
Common mistake: Saying a sharing rule can restrict access. To restrict, make the default stricter and open up from there.
09How does Omni-Channel routing work in Service Cloud?
How does Omni-Channel routing work in Service Cloud?
Omni-Channel pushes work such as cases, chats and messages to available agents instead of agents picking from a queue. You define service channels for the type of work, routing configurations for priority and capacity, and connect them to queues or skills. Agents set a presence status to say they are available, and their capacity limits how much work they get at once. Skills-based routing sends each item to an agent with the right skills, for example language or product.
10Workflow rules and Process Builder came up in older interviews. What do you say about them now?
Workflow rules and Process Builder came up in older interviews. What do you say about them now?
What the interviewer is checking: Whether your knowledge is current. Talking about building new Process Builders is a red flag in 2026.
That they are retired: Salesforce ended support for Workflow Rules and Process Builder on 31 December 2025, and all new automation is built in Flow. If you have migrated old automation, say how: Salesforce's Migrate to Flow tool for simple cases, and redesign for complex ones, combining several rules into one well-ordered record-triggered flow per object.
Managerial round
11Walk me through your last project.
Walk me through your last project.
Keep it to about two minutes: the client's business and problem, the Salesforce clouds involved, your role and team size, two or three things you personally built or decided, one difficult problem and how you solved it, and the result. Have numbers ready: users, record volumes, timelines.
The interviewer picks something from your answer and goes deeper, so only mention work you can explain in detail.
Keep going
- Practise more trigger code with our Apex trigger questions and Apex exercises.
- Other IT services firms: TCS, Infosys, Cognizant and HCLTech, NTT DATA and Genpact.
- Then do a timed mock interview before the real one.