ForceChallenges
ProblemsDailyNotesInterview
Sign in

Practice

All problemsSOQL practiceApex trigger challengesDaily challengeOpportunityTrigger.oldMapBefore UpdateBulkificationContactValidationGROUP BYSemi-JoinAccountBefore Insert

Interview questions

All questionsAdminAdministrationApexApex TriggerAsync ApexDevelopmentField ServiceField ServiceIntegrationLwc

By company

DeloitteSalesforceAccentureInfosysPwCCognizant

Learn

Study notes

ForceChallenges

AboutContact usPrivacy PolicyTerms of ServiceFor AI assistants (llms.txt)
© 2026 ForceChallenges · Salesforce SOQL & Apex trigger practice

Interview questions

Salesforce interview questions with model answers. Pick a topic, filter by the company that asks the question, and open any question for the full answer. Pair it with hands-on SOQL and Apex trigger practice and the study notes.

759 questions
  • AdminMedium

    How do Dynamic Dashboards leverage running user security contexts to personalize dashboard data views?

    Basics: A standard dashboard has a running user: all viewers see data as that person sees it. That is simple but can expose data to people who shouldn't have…

    Read answer
  • AdminMedium

    How do Cross Filters refine report output by evaluating the existence of related child records?

    Basics: Standard filters test fields on the report's own records. Cross filters test other objects related to them, so you can ask "which accounts have open…

    Read answer
  • AdminMedium

    When should administrators select a Matrix report format over a Summary report for data analysis?

    Basics: Report formats in order of complexity: Tabular (a plain list, no grouping), Summary (rows grouped by one to three fields with subtotals), Matrix…

    Read answer
  • AdminMedium

    How do Schedule-Triggered Flows automate periodic batch processing tasks for administrators?

    Basics: Many tasks must happen on a clock rather than when a user edits a record: close stale cases, email owners of expiring contracts, or archive old data…

    Read answer
  • AdminMedium

    What role do standard Reports and Dashboards play in delivering operational visibility to business stakeholders?

    Basics: A report is a filtered, grouped list of records from a report type (Accounts with Opportunities, Cases with Contacts). A dashboard is a page of…

    Read answer
  • AdminMedium

    How do Lookup relationships differ from Master-Detail relationships in terms of record dependency and security?

    Basics: A lookup field is simply a pointer to another record, for example Contact to Account or a custom Project to Account. It models "is related to" rather…

    Read answer
  • AdminMedium

    What is a Hierarchical relationship and what unique object limitation does it possess in Salesforce?

    Basics: When you create a relationship field on the User object, the type list includes Hierarchical. It links a user to another user, forming a tree. The…

    Read answer
  • AdminMedium

    What are Organization-Wide Defaults (OWD) and how do they establish baseline data security in Salesforce?

    Basics: Salesforce record security works by starting locked down and then opening access. OWD is that starting point. If Account OWD is Private, a user can…

    Read answer
  • AdminMedium

    How does the Role Hierarchy interact with OWD settings to grant vertical record visibility?

    Basics: A role describes where a user sits in the reporting structure. When OWD is Private or Public Read Only, a manager in a higher role can still see and…

    Read answer
  • AdminMedium

    What is the operational difference between owner-based and criteria-based sharing rules in Salesforce?

    Basics: Sharing rules extend access beyond OWD and role hierarchy to groups of users, horizontally across the org. They can only grant additional access (Read…

    Read answer
  • AdminMedium

    When should administrators enable manual sharing for user-driven record collaboration?

    Basics: Manual sharing is the Sharing button on a record. It lets an authorized user pick users, groups, roles or roles-and-subordinates and grant Read Only…

    Read answer
  • AdminMedium

    What core administrative settings and user privileges are controlled directly through Profiles?

    Basics: A profile answers "what can this user do and see?" in the platform. Each user must have one profile, tied to a user license. Profiles are not about…

    Read answer
  • AdminMedium

    When should administrators create Custom Objects instead of repurposing standard Salesforce objects?

    Basics: An object is a database table with fields, layouts, security and automation. Standard objects (Account, Contact, Opportunity, Case) arrive with…

    Read answer
  • AdminMedium

    How do Auto-Number fields function in generating unique sequential identifiers for custom objects?

    Basics: People need readable record identifiers: case numbers, invoice numbers, ticket numbers. Salesforce IDs are not human friendly. An auto-number field…

    Read answer
  • AdminMedium

    What aggregate calculations can Roll-Up Summary fields perform across Master-Detail child records?

    Basics: A roll-up lets a parent display totals from its children without code, such as number of Order Lines, total Line Amount or the latest Child Date on…

    Read answer
  • AdminMedium

    How do Permission Sets provide flexible, modular privilege extensions without requiring profile duplication?

    Basics: A permission set is a collection of settings (object permissions, field permissions, system permissions, app/tab visibility, Apex class access, custom…

    Read answer
  • AdminMedium

    How do Permission Set Groups simplify administrative management for complex user privilege assignments?

    Basics: Assigning ten permission sets to every new Sales Rep is error-prone. A group packages them: assign one group, and the user gets the combined…

    Read answer
  • AdminMedium

    How do Queues facilitate collaborative work item distribution across shared team support pools?

    Basics: Instead of assigning a Case or Lead to one person, you assign it to a queue (for example "Tier 1 Support"). Members then pick items up, either…

    Read answer
  • AdminMedium

    When must administrators utilize Data Loader instead of the browser-based Data Import Wizard?

    Basics: Data Import Wizard is a browser tool for simple inserts and updates and is limited to 50,000 records at a time and to certain objects (accounts…

    Read answer
  • AdminMedium

    How do Global Picklists maintain data consistency across multiple objects and fields?

    Basics: Without it, the same list (Region, Industry Segment, Priority) is typed separately on many fields, and they drift apart. A global value set stores…

    Read answer
  • AdminMedium

    What forensic tracking does Identity Verification history provide to administrators reviewing login security?

    Basics: When a user logs in from an unrecognized browser or IP, or any time multi-factor authentication (MFA) is required, Salesforce challenges them to prove…

    Read answer
  • AdminMedium

    Why is Two-Factor Authentication (2FA) mandated as a critical security control for Salesforce administration?

    Basics: Passwords get phished, reused and leaked. MFA adds a second proof, something you have (an authenticator app, security key or built-in biometric) so…

    Read answer
  • AdminMedium

    How does Schema Builder assist administrators in visualizing and designing data models interactively?

    Basics: Reading an object model from many Object Manager screens is slow. Schema Builder draws the entity-relationship diagram for you, so teams can discuss…

    Read answer
  • AdminMedium

    How do administrators configure Custom Notifications to alert users via automated Flow actions?

    Basics: Custom notifications appear in the bell icon in Lightning Experience and as push alerts in the Salesforce mobile app. They are for telling people…

    Read answer
  • AdminMedium

    What are the defining behavioral characteristics and security impacts of a Master-Detail relationship?

    Basics: Use it when the child cannot exist without the parent, such as invoice line items under an invoice. Salesforce enforces the dependency for you, so no…

    Read answer
  • AdminMedium

    How does Web-to-Case integrate external website contact forms directly into Salesforce support queues?

    Basics: Support teams often need a public "Contact us" form that creates a Case without email. Web-to-Case does this with a form you paste onto any web page…

    Read answer
  • AdminMedium

    How does Delegated Administration safely distribute user management tasks without granting full admin rights?

    Basics: A central admin team does not need to handle every password reset or new-hire setup. A delegated group defines what a trusted manager can do and over…

    Read answer
  • IntegrationMedium

    How do external gRPC clients utilize custom headers for authentication and tracing during Pub/Sub API calls?

    Basics: Pub/Sub API (endpoint api.pubsub.salesforce.com:7443) lets external systems publish and subscribe to platform events, change events and real-time…

    Read answer
  • IntegrationMedium

    Why is event schema validation essential for maintaining reliable contract communication between event publishers and subscribers?

    Basics: A platform event is defined by its fields, types, lengths and required flags. Subscribers rely on those fields existing and meaning the same thing. If…

    Read answer
  • IntegrationMedium

    What architectural governance standards ensure maintainability and scalability across enterprise event-driven landscapes?

    Basics: Events make integrations loosely coupled, but without rules an org can end up with duplicate, inconsistent events, unknown subscribers and silent…

    Read answer
  • IntegrationMedium

    How does the JWT Bearer Token Flow secure server-to-server integrations without requiring user credentials?

    Basics: Unattended integrations (nightly jobs, middleware) cannot show a login screen. With JWT bearer, the app signs a short-lived assertion saying "I am…

    Read answer
  • IntegrationMedium

    How do rate limiting and throttling mechanisms protect Salesforce endpoints from excessive traffic spikes?

    Basics: Every org has a rolling 24-hour limit on API requests, based on edition and licenses (for example Enterprise Edition gets a base of 100,000 plus an…

    Read answer
  • IntegrationMedium

    What is the operational difference between Publish After Commit and Publish Immediately settings for Platform Events?

    Basics: Each platform event definition has a Publish Behavior setting. After Commit is the default, and it protects consistency, since subscribers never hear…

    Read answer
  • IntegrationMedium

    How do event-driven data replication patterns streamline data warehousing and analytical data lake synchronization?

    Basics: Traditional replication runs scheduled bulk queries and compares timestamps, which is slow and consumes API calls. With CDC, Salesforce publishes a…

    Read answer
  • IntegrationMedium

    How does Mutual TLS (mTLS) enhance security by enforcing two-way certificate validation for enterprise integrations?

    Basics: In ordinary TLS, only the server proves its identity. With mutual TLS (also called two-way SSL or mutual authentication), the client also proves it…

    Read answer
  • IntegrationMedium

    What architectural role do API Gateways play in managing enterprise traffic entering Salesforce endpoints?

    Basics: Without a gateway, every client app calls Salesforce REST endpoints directly, each with its own credentials and retry behavior. A gateway, such as…

    Read answer
  • IntegrationMedium

    What common integration antipatterns should architects avoid to prevent governor limit exhaustion and system brittleness?

    Basics: An antipattern is a common design that looks reasonable but fails at scale. In Salesforce integrations the failures usually show up as limit errors…

    Read answer
  • IntegrationMedium

    How do multi-org integration topologies coordinate data synchronization across distributed regional Salesforce instances?

    Basics: Large companies often run several Salesforce orgs, for regions, acquisitions or business units. Customers and products can then exist in several…

    Read answer
  • IntegrationMedium

    How do CORS settings permit authorized web applications to perform cross-origin REST requests against Salesforce?

    Basics: Browsers enforce the same-origin policy, so a single-page app on https://app.example.com cannot read responses from https://mydomain.my.salesforce.com…

    Read answer
  • IntegrationMedium

    How do federated identity and SAML single sign-on streamline authentication across enterprise integration landscapes?

    Basics: SSO reduces password sprawl and lets the company enforce MFA, session policy and de-provisioning in one place. Salesforce can be the service provider…

    Read answer
  • IntegrationMedium

    How do webhook security mechanisms verify the authenticity of incoming HTTP notifications from external systems?

    Basics: A webhook is an inbound HTTP call. Anyone who knows the URL can post to it, so the receiver must verify the sender. In an HMAC scheme, the sender…

    Read answer
  • IntegrationMedium

    How do PushTopics combine SOQL query criteria with real-time streaming notifications in Salesforce?

    Basics: Instead of polling for changes, a client subscribes to a PushTopic channel and receives JSON messages for records that meet the criteria, such as…

    Read answer
  • IntegrationMedium

    How do IP restrictions and Login IP Ranges secure Salesforce integration endpoints against unauthorized network access?

    Basics: If an integration's credentials leak, an attacker outside your network could still use them. IP controls add a network condition: the credentials work…

    Read answer
  • IntegrationMedium

    What audit and logging components constitute a robust enterprise integration monitoring framework?

    Basics: Integrations fail silently unless you build visibility. A logging framework captures each inbound and outbound call so support teams can answer "did…

    Read answer
  • IntegrationMedium

    How does Certificate and Key Management protect cryptographic keys used in secure enterprise integrations?

    Basics: A digital certificate binds a public key to an identity; the matching private key proves you own it. Integrations use them to sign tokens, prove…

    Read answer
  • IntegrationMedium

    What data cleansing and transformation practices ensure high data quality during inbound enterprise integrations?

    Basics: External systems send inconsistent data: extra whitespace, different date formats, unknown picklist values, duplicates. Cleansing means fixing or…

    Read answer
  • IntegrationMedium

    How do administrators secure real-time streaming event channels against unauthorized data access and interception?

    Basics: Platform events and Change Data Capture are delivered over the Streaming API (CometD) or Pub/Sub API. Anyone who can subscribe sees the messages, so…

    Read answer
  • IntegrationMedium

    What error handling and idempotency strategies ensure robust processing of replayed streaming event messages?

    Basics: Events can be delivered more than once (retries, reconnects, replay from an older ReplayId). If handling an event twice creates two orders, you have a…

    Read answer
  • IntegrationMedium

    How do streaming client applications handle unexpected network drops and implement automatic reconnection logic?

    Basics: CometD uses long polling: the client holds an HTTP connection open and the server responds when events arrive. Connections get dropped by networks…

    Read answer
  • IntegrationMedium

    How can developers utilize Platform Events and LWC to power real-time dashboard data updates without refreshing?

    Basics: Standard dashboards and reports refresh on a schedule or manual action. For live operations screens (queue depth, order status), the server should…

    Read answer
  • IntegrationMedium

    How do Lightning Web Components integrate with external APIs using native fetch and Apex controllers?

    Basics: LWC runs in the browser, so it can use fetch(), but Salesforce's Content Security Policy only allows connections to approved origins. Apex runs on the…

    Read answer
  • IntegrationMedium

    What role do Connected App security policies play in governing token lifecycles and session invalidation?

    Basics: When an external app uses OAuth, Salesforce issues an access token (short-lived session) and optionally a refresh token (long-lived). Policies set on…

    Read answer
  • IntegrationMedium

    How do asynchronous batch integration patterns prevent synchronous timeout exceptions during large data loads?

    Basics: Synchronous requests must finish quickly and within limits (10,000 ms CPU, 6 MB heap, 100 SOQL queries). Large loads exceed those, so you accept the…

    Read answer
  • IntegrationMedium

    How do developers structure exception handling in custom Apex REST services to return clean error payloads?

    Basics: Apex REST exposes classes annotated @RestResource as endpoints. If an uncaught exception escapes, Salesforce returns HTTP 500 with a generic error…

    Read answer
  • IntegrationMedium

    How do administrators monitor daily API consumption metrics to prevent unexpected organization rate-limiting blocks?

    Basics: Each org has a total API request allowance over a rolling 24-hour period. When it is hit, further API calls fail. Integrations share this pool, so one…

    Read answer
  • IntegrationMedium

    How do mock testing frameworks simulate negative server scenarios during integration unit test executions?

    Basics: Apex tests are not allowed to make real callouts, so any code that calls out fails the test unless a mock is registered. Mocks let you control the…

    Read answer
  • IntegrationMedium

    What disaster recovery and failover architectures ensure high availability for mission-critical enterprise integrations?

    Basics: Salesforce operates multi-site infrastructure and has its own disaster recovery (site switching, status at trust.salesforce.com). Your responsibility…

    Read answer
  • IntegrationMedium

    How do security teams integrate Salesforce Event Monitoring with external SIEM platforms for real-time threat detection?

    Basics: A SIEM such as Splunk, Microsoft Sentinel, Datadog or QRadar collects logs from many systems and raises alerts. Salesforce activity is one of those…

    Read answer
  • IntegrationMedium

    What performance characteristics distinguish high-volume Platform Events from standard volume event channels?

    Basics: Platform events started in two flavors: standard-volume, with a lower throughput, and high-volume, built for streaming scale such as IoT, telemetry…

    Read answer
  • IntegrationMedium

    How do ReplayID values ensure reliable message replaying and fault recovery during event subscriber disconnects?

    Basics: Subscribers disconnect for many reasons: deployments, network issues, outages. ReplayId is the bookmark. When subscribing you choose a replay option…

    Read answer
  • IntegrationMedium

    How does the Streaming API utilize the CometD protocol to deliver real-time notifications to external clients?

    Basics: Instead of polling for changes, the client keeps a long-lived connection and Salesforce pushes updates. Channel types: PushTopic…

    Read answer
  • IntegrationMedium

    What are Platform Events and how do they enable event-driven architecture within Salesforce?

    Basics: Instead of one component calling another directly, a publisher writes an event (for example OrderShippede) and walks away. Subscribers independently…

    Read answer
  • IntegrationMedium

    What core criteria do enterprise architects evaluate during integration pattern selection and design reviews?

    Basics: Salesforce documents a set of integration patterns: Remote Process Invocation (Request and Reply, Fire and Forget), Batch Data Synchronization, Remote…

    Read answer
  • IntegrationMedium

    What security hardening measures protect enterprise Salesforce integrations from unauthorized access and data breaches?

    Basics: Integrations are high-value targets because they run unattended with broad access. Security is layered: who the integration is, what it can do, how…

    Read answer
  • IntegrationMedium

    What governor limits and execution constraints govern remote HTTP callouts originating from Apex code?

    Basics: A callout is an HTTP (or SOAP) request from Apex to an outside endpoint using Http, HttpRequest, HttpResponse. Salesforce protects its multitenant…

    Read answer
  • IntegrationMedium

    How do Apex developers publish Platform Event messages programmatically using the EventBus class?

    Basics: Platform events are messages on a Salesforce event bus. The publisher creates an instance of the event type (an sObject whose API name ends in e) and…

    Read answer
  • IntegrationMedium

    What operational visibility do Event Monitoring log files provide to security teams auditing integration activity?

    Basics: Standard auditing, such as Setup Audit Trail or Field History, shows what changed. Event Monitoring shows how the org was used. It is licensed as part…

    Read answer
  • IntegrationMedium

    How does Heroku Connect bridge Salesforce data with Heroku Postgres databases for enterprise applications?

    Basics: Heroku apps work best with a relational database, while Salesforce data sits behind APIs with call limits. Heroku Connect copies the Salesforce data…

    Read answer
  • IntegrationMedium

    How are organization API rate limits calculated, and what happens when integration volume exceeds thresholds?

    Basics: Salesforce meters calls from external systems (REST, SOAP, Bulk, Connect REST) so one org cannot hurt others. The allocation is roughly: a base per…

    Read answer
  • IntegrationMedium

    How does the Composite API optimize performance by batching multiple REST requests into a single HTTP call?

    Basics: Creating an Account, a Contact and an Opportunity through the plain REST API takes three HTTP calls, each with network latency and API overhead. A…

    Read answer
  • IntegrationMedium

    How do Content Security Policy (CSP) Trusted Sites protect Lightning Web Components during external API communications?

    Basics: Salesforce sends a Content-Security-Policy header with Lightning Experience and Experience Cloud pages. A browser enforcing it refuses to make…

    Read answer
  • IntegrationMedium

    How does the OAuth 2.0 JWT Bearer Token Flow enable unattended server-to-server authentication?

    Basics: Server-to-server integrations (CI/CD, middleware, scheduled jobs) cannot show a login screen. With JWT Bearer you upload the public certificate to a…

    Read answer
  • IntegrationMedium

    How does the declarative outbound message retry mechanism handle temporary external endpoint outages?

    Basics: An outbound message is a declarative SOAP notification Salesforce sends to an external endpoint when a record meets criteria. Historically it was…

    Read answer
  • IntegrationMedium

    How do developers optimize integration payload structures to prevent heap size exhaustion and serialization errors?

    Basics: Heap is the memory your Apex transaction uses. A callout request and response body, plus the parsed objects built from them, all count. A big JSON…

    Read answer
  • IntegrationMedium

    What purpose do dead-letter queues serve in managing failed integration transactions and preventing data loss?

    Basics: In messaging, some messages can never succeed as sent (bad data, a deleted record, a bug), and endless retries just waste capacity. A DLQ isolates…

    Read answer
  • IntegrationMedium

    How does the Fire-And-Forget pattern optimize asynchronous processing during high-volume outbound data transfers?

    Basics: Instead of blocking on the remote system, Salesforce hands off the work: it publishes an event, sends an outbound message, or enqueues an async job…

    Read answer
  • IntegrationMedium

    What is the Remote Process Invocation Request-And-Reply pattern and what operational risks does it introduce in Salesforce?

    Basics: This is one of the standard Salesforce integration patterns (Remote Process Invocation). Examples: validating an address, getting a credit score or a…

    Read answer
  • IntegrationMedium

    Why is API versioning crucial for maintaining stable, long-term compatibility across enterprise integrations?

    Basics: Salesforce ships three releases yearly and each increments the API version by 1.0 (for example v62.0). The version is part of the URL…

    Read answer
  • IntegrationMedium

    How do CORS configurations permit authorized web applications to execute client-side API requests against Salesforce?

    Basics: Browsers block a page at https://app.example.com from reading responses from another origin (https://myorg.my.salesforce.com) unless that server…

    Read answer
  • IntegrationMedium

    How do developers utilize HttpCalloutMock interfaces to test Apex callout logic successfully during unit tests?

    Basics: Apex tests are not allowed to make real HTTP callouts; without a mock the test fails with "Methods defined as TestMethod do not support Web service…

    Read answer
  • IntegrationMedium

    How does Platform Cache enhance integration performance and minimize redundant remote callout latency?

    Basics: There are two caches: Org Cache (shared by all users, for example a token or a currency table) and Session Cache (per user session, for example…

    Read answer
  • IntegrationMedium

    What are the functional trade-offs between data virtualization via Salesforce Connect and traditional ETL data replication?

    Basics: ETL replication copies data from the source system into Salesforce on a schedule or stream. Virtualization leaves the data where it is and fetches…

    Read answer
  • IntegrationMedium

    What architectural role do middleware integration platforms like MuleSoft play in enterprise Salesforce ecosystems?

    Basics: Without middleware every system integrates with every other, producing a brittle web of custom code. A central platform exposes reusable APIs…

    Read answer
  • IntegrationMedium

    How do Apex JSONGenerator classes facilitate the programmatic construction of nested integration request bodies?

    Basics: For most cases you define an Apex class mirroring the JSON and call JSON.serialize(obj). But sometimes the shape is dynamic, field names are Apex…

    Read answer
  • IntegrationMedium

    What architectural components make up a robust integration logging and auditing framework in Salesforce?

    Basics: When an integration fails at 2 a.m., you need to know what was sent, what came back and which record it concerned. Debug logs are short-lived (24…

    Read answer
  • IntegrationMedium

    How do Platform Event triggers execute automated processing upon receiving published event messages?

    Basics: Triggers on platform events let Salesforce itself react to a message, for example to update records or call an external system. Only the after insert…

    Read answer
  • IntegrationMedium

    How do external CometD client applications authenticate and subscribe to real-time Salesforce streaming channels?

    Basics: Streaming API uses the Bayeux protocol with CometD over long polling. It lets external apps get Salesforce changes pushed to them without polling the…

    Read answer
  • IntegrationMedium

    How do Heroku Connect synchronization settings maintain real-time bidirectional data consistency with Salesforce?

    Basics: You choose a sync mode per mapping. The service handles field mapping, deletes, and writing back changes, so you do not write sync code. It is not…

    Read answer
  • IntegrationMedium

    How do developers optimize high-throughput event publishing strategies to prevent governor limit exhaustion?

    Basics: Each EventBus.publish call counts as one DML statement (limit 150 per transaction), and each event counts toward an hourly publishing allocation for…

    Read answer
  • IntegrationMedium

    Why is publish-subscribe architecture superior to tight point-to-point coupling for complex enterprise integrations?

    Basics: In point-to-point, system A calls B, C and D directly. A needs their endpoints, formats and availability, and adding a new consumer means changing A…

    Read answer
  • IntegrationMedium

    How do External Credentials decouple authentication providers from endpoint configurations in modern Salesforce architecture?

    Basics: Before Winter '23, a Named Credential combined URL and auth in one record, so ten endpoints on the same OAuth provider needed ten copies. The new…

    Read answer
  • IntegrationMedium

    How do developers configure and utilize custom HTTP headers during programmatic Apex REST callouts?

    Basics: HTTP headers carry metadata separate from the body: what format you send (Content-Type), what you accept (Accept), authentication (Authorization), and…

    Read answer
  • Service CloudMedium

    How do Knowledge migration tools assist organizations in transitioning legacy documentation into Lightning Knowledge?

    Basics: Lightning Knowledge stores articles in one object (commonly Knowledgekav) and uses record types for what Classic Knowledge handled with separate…

    Read answer
  • IntegrationMedium

    What core architectural best practices govern resilient, scalable enterprise integration design in Salesforce?

    Basics: An integration is a contract between systems that fail independently. Good design asks: Is it real-time or batch? Who is the system of record? What…

    Read answer
  • IntegrationMedium

    How do Batch Data Synchronization processes maintain multi-system data consistency across enterprise architectures?

    Basics: Not all data needs real-time updates. Nightly or hourly ETL (extract, transform, load) between Salesforce and a warehouse, ERP or MDM keeps systems…

    Read answer
  • IntegrationMedium

    What robust error handling and retry strategies should architects implement for mission-critical inbound integrations?

    Basics: Integrations fail: timeouts, 5xx errors, rate limits, record locks, bad data. Without a strategy, data silently disappears or duplicates. Inbound…

    Read answer
  • IntegrationMedium

    How do asynchronous Apex callouts prevent user interface blocking during long-running external web service requests?

    Basics: A synchronous callout holds the user's save or page load open until the remote service answers, up to the callout timeout. Triggers also cannot make…

    Read answer
  • Service CloudMedium

    How do Knowledge feedback analytics help authors identify articles that require content revision?

    Basics: Authors need signals: which articles customers and agents use, whether they helped, and whether agents attach them to cases. Salesforce stores these…

    Read answer
  • IntegrationMedium

    What role do Connected Apps play in establishing secure OAuth authentication frameworks with Salesforce?

    Basics: Without registration, Salesforce cannot know which client is asking for access or what it may do. A Connected App provides the OAuth client ID and…

    Read answer
  • IntegrationMedium

    How does the OAuth 2.0 Web Server Flow secure token exchanges for server-side external applications?

    Basics: It is designed for apps with a secure server side (a web app, an integration portal) that can keep a secret. The user's credentials go only to…

    Read answer
  • IntegrationMedium

    How do developer IDEs leverage the Tooling API to compile code, run tests, and inspect debug logs?

    Basics: The Metadata API is coarse-grained: you retrieve or deploy whole components. IDEs need small, fast, interactive operations such as "compile this one…

    Read answer
  • IntegrationMedium

    How do declarative Outbound Messages transmit event notifications to external listeners without writing Apex code?

    Basics: It is a "push on change" mechanism: when a record meets criteria, Salesforce posts an XML message to a URL you configure. The receiver replies with an…

    Read answer
  • IntegrationMedium

    Why must administrators configure Remote Site Settings before allowing Apex code to perform external HTTP callouts?

    Basics: Salesforce is multi-tenant, so one org's code cannot freely contact any internet host. Admins explicitly approve each destination. This protects…

    Read answer
  • IntegrationMedium

    How do developers expose custom Apex business logic as a SOAP web service for legacy enterprise consumers?

    Basics: Apex SOAP services serve legacy systems that only speak SOAP/WSDL. You write ordinary Apex, add the webservice keyword to a static method, and…

    Read answer
  • IntegrationMedium

    How do Apex developers parse complex XML responses received from legacy SOAP or REST web services?

    Basics: Many legacy systems answer in XML (SOAP envelopes, REST with application/xml). Apex has no one-line XML-to-object converter like JSON.deserialize, so…

    Read answer
  • IntegrationMedium

    How does Salesforce Connect utilize OData adapters to integrate external data without storing it locally?

    Basics: This is data virtualization. Rather than syncing records into Salesforce (using storage and risking staleness), Salesforce makes a live call to the…

    Read answer
  • IntegrationMedium

    When should developers utilize the OAuth 2.0 User-Agent Flow for client-side application integrations?

    Basics: In this flow the client redirects the user to Salesforce to log in, and Salesforce returns the access token in the URL fragment (after #) of the…

    Read answer
  • IntegrationMedium

    Why is idempotency a critical architectural requirement when designing reliable inbound and outbound API integrations?

    Basics: In a distributed integration you cannot know whether a timed-out request was processed. The client must retry, so the server must tolerate repeats…

    Read answer
  • IntegrationMedium

    How do Apex developers parse and map incoming JSON integration payloads into strongly typed objects?

    Basics: Integrations send JSON strings. Apex needs typed objects to work with them safely. You define an Apex class (a wrapper) whose property names match the…

    Read answer
  • IntegrationMedium

    What capabilities does the Metadata API provide for automating continuous integration and deployment pipelines?

    Basics: Metadata is the "configuration and code" of an org, separate from its data. The Metadata API lets tools move that between sandboxes, scratch orgs…

    Read answer
  • Service CloudMedium

    How do real-time supervisor alerts assist contact center managers in mitigating queue bottlenecks?

    Basics: A queue bottleneck happens when work arrives faster than agents with the right capacity and skills can take it. Supervisors who only read end-of-day…

    Read answer
  • Service CloudMedium

    What data governance practices ensure long-term database hygiene across enterprise Service Cloud environments?

    Basics: Data governance is the set of rules for who owns data, what quality is required, how long it is kept and when it is removed. In Service Cloud, cases…

    Read answer
  • Service CloudMedium

    How do dynamic skill rules enhance routing precision for complex multi-product customer inquiries?

    Basics: A Skill (for example "Billing" or "ProductX") is assigned to agents (Service Resources) with an optional level 0 to 10. A work item such as a Case…

    Read answer
  • IntegrationMedium

    What are the primary characteristics and architectural advantages of using the Salesforce REST API for integrations?

    Basics: REST maps operations to URLs and HTTP verbs. A client sends an access token (OAuth) with each call. JSON is compact, human readable and natively…

    Read answer
  • IntegrationMedium

    How does the Bulk API handle high-volume data migrations and asynchronous enterprise synchronization jobs?

    Basics: Standard REST/SOAP calls handle roughly 200 records each and are synchronous, which is slow and expensive for millions of rows. Bulk API is designed…

    Read answer
  • IntegrationMedium

    Why are Named Credentials considered an essential security best practice for managing Apex HTTP callouts?

    Basics: Hardcoding a URL and a password or token in Apex is a security and maintenance problem: secrets leak through source control, differ per sandbox, and…

    Read answer
  • Service CloudMedium

    What role do asynchronous Apex and batch jobs play in handling heavy background processing for support operations?

    Basics: Synchronous transactions limit CPU to 10,000 ms, heap to 6 MB and 100 SOQL queries. Jobs such as nightly reassignments, SLA recalculations, case…

    Read answer
  • IntegrationMedium

    How do developers design custom REST endpoints in Apex using annotations and custom payload structures?

    Basics: Standard REST maps to objects. Sometimes a caller needs one call that runs business logic across multiple objects, returns a tailored payload, or…

    Read answer
  • Service CloudMedium

    How does entitlement process versioning manage rule updates for active customer support contracts?

    Basics: An entitlement process defines milestones, times and actions. Without versioning, changing a process affects active cases or requires deactivating the…

    Read answer
  • IntegrationMedium

    When should architects select the SOAP API over the REST API for enterprise Salesforce integrations?

    Basics: SOAP exchanges XML envelopes over HTTP. A WSDL describes operations and data types, so tools generate client stubs automatically. Salesforce offers…

    Read answer
  • IntegrationMedium

    What roles do consumer keys and consumer secrets play during OAuth authentication handshakes?

    Basics: OAuth separates the user's identity from the client application's identity. When the Connected App is created, Salesforce generates the Consumer Key…

    Read answer
  • Service CloudMedium

    How do milestone recurrence rules handle recurring SLA targets for long-running troubleshooting cases?

    Basics: Entitlement Management tracks support commitments. An entitlement process is a timeline of milestones (First Response, Resolution, and so on), each…

    Read answer
  • Service CloudMedium

    How does Field Service extend core Service Cloud capabilities into on-site field technician operations?

    Basics: Service Cloud manages cases; many problems need a person on site. Field Service models the job (Work Order), the visit (Service Appointment), the…

    Read answer
  • Service CloudMedium

    What is a Work Order in Field Service and how does it organize technician tasks?

    Basics: Think of the Work Order as the job ticket. It links to the Account, Contact, Asset being serviced, Case, and Entitlement. A Work Order Line Item…

    Read answer
  • Service CloudMedium

    How does Service Swarming facilitate collaborative problem-solving for difficult support inquiries?

    Basics: Traditional escalation passes a case up tiers, which is slow. Swarming instead brings experts to the problem at once. In Salesforce this typically…

    Read answer
  • Service CloudMedium

    How does Incident Management help support organizations coordinate responses to widespread system outages?

    Basics: During an outage, hundreds of customers open similar cases. Handling each separately wastes effort and gives inconsistent answers. Incident Management…

    Read answer
  • Service CloudMedium

    How do Problem records integrate with Cases to track root causes and issue resolution?

    Basics: An incident is a symptom; a problem is the cause. Ten customers reporting the same error are ten cases but one problem. Tracking at the problem level…

    Read answer
  • Service CloudMedium

    How does Omni-Channel unify voice call routing alongside digital support channels in Service Cloud Voice?

    Basics: Previously, phone systems routed calls separately from digital work, so an agent could get a call while handling several chats. Voice integration puts…

    Read answer
  • Service CloudMedium

    How does Field Service inventory management track spare parts consumption across mobile work orders?

    Basics: Technicians need the right part on the van. Inventory management tells you what each van and warehouse holds, what a job needs, what was used, and…

    Read answer
  • Service CloudMedium

    What key performance indicators do Service Cloud standard analytics dashboards provide to contact center leaders?

    Basics: Contact center leaders watch how fast issues are resolved, how many are waiting, and how productive agents are. Salesforce provides report types…

    Read answer
  • Service CloudMedium

    How do organization-wide defaults and sharing rules protect sensitive customer case data in Service Cloud?

    Basics: Cases can include sensitive customer information. OWD sets the baseline access for each object; everything else only grants additional access. The…

    Read answer
  • Service CloudMedium

    How do follow-the-sun operational models coordinate global 24/7 support desks across international regions?

    Basics: A global team spans time zones so someone is always working. The challenge is routing new work to the active region, handing off open cases at shift…

    Read answer
  • Service CloudMedium

    How do multi-object custom report types enhance support operations reporting depth in Service Cloud?

    Basics: Standard report types cover common combinations, but support leaders often need relationships that are not predefined, such as Accounts with Cases and…

    Read answer
  • Service CloudMedium

    How do Omni-Channel capacity models prevent agent burnout by balancing simultaneous multi-channel workloads?

    Basics: Without limits, an agent could be pushed five chats and ten cases at once. Omni-Channel lets admins decide how much "room" each type of work consumes…

    Read answer
  • Service CloudMedium

    How do automated case comment notifications maintain communication transparency with customers?

    Basics: CaseComment records are the classic notes on a case. A comment has IsPublished: public comments are visible to customers in portals and Experience…

    Read answer
  • Service CloudMedium

    How do entitlement templates automate SLA assignment upon product sale or asset registration?

    Basics: An Entitlement says what support a customer gets: account or asset, dates, business hours, entitlement process (SLA) and per-incident limits. An…

    Read answer
  • Service CloudMedium

    What offline synchronization features does the Salesforce mobile app offer field support technicians?

    Basics: Without a signal, a technician still needs to see assigned cases, work orders and knowledge, and record results. The free mobile app mostly needs…

    Read answer
  • Service CloudMedium

    How does Shield Platform Encryption secure sensitive customer data stored within Service Cloud records?

    Basics: Standard Salesforce storage is already encrypted at the infrastructure level. Shield adds application-level encryption for specific fields (for…

    Read answer
  • Service CloudMedium

    How does Event Monitoring help security teams audit user access and data activity in Service Cloud?

    Basics: Standard auditing is limited: Login History (about 6 months), Setup Audit Trail (180 days), and field history. Event Monitoring adds granular…

    Read answer
  • Service CloudMedium

    What is Resource Scheduling Optimization (RSO) in Field Service and how does it automate dispatching?

    Basics: Field Service has two jobs: choose a time and resource for one appointment (scheduling) and improve the whole schedule (optimization). Optimization…

    Read answer
  • Service CloudMedium

    How do Omni-Channel Supervisor wallboards assist supervisors in tracking real-time contact center performance?

    Basics: The original answer mixes two things. A wallboard is a big screen showing live KPIs. Salesforce's native supervisor tool is Omni Supervisor, an app…

    Read answer
  • Service CloudMedium

    How do Chatter actions and feed components facilitate internal collaboration on customer support cases?

    Basics: Chatter is Salesforce's internal social feed. On a case, the feed shows posts, field changes (if feed tracking is on), emails and notes in one…

    Read answer
  • Service CloudMedium

    How do real-time voice transcriptions enhance agent guidance and automated knowledge suggestions during calls?

    Basics: Agents cannot type notes and listen at the same time. Live transcripts give them a running record, and AI reads the text as it appears to surface…

    Read answer
  • Service CloudMedium

    How does the Field Service Appointment Assistant improve customer communication and arrival transparency?

    Basics: Salesforce Field Service (formerly Field Service Lightning) schedules Service Appointments for mobile workers. Customers usually only get a vague time…

    Read answer
  • Service CloudMedium

    How do custom branding and domain settings enhance customer trust on Service Cloud portal sites?

    Basics: Experience Cloud sites default to a Salesforce URL (for example yourdomain.my.site.com/support) with default theme. Customers trust familiar URLs and…

    Read answer
  • Service CloudMedium

    How do administrators build and manage conversational dialogue blocks within Einstein Bot builder?

    Basics: A bot conversation is a set of dialogs. Each dialog does one job (check order status, reset password). Admins connect dialogs through menus, rules and…

    Read answer
  • Service CloudMedium

    How do Einstein Next Best Action recommendations guide agents toward optimal resolution strategies?

    Basics: Agents often decide ad hoc what to offer or do. Next Best Action (NBA) centralizes this: recommendations are records, a strategy chooses which to…

    Read answer
  • Service CloudMedium

    How do Incident Communication tools streamline stakeholder updates during critical service disruptions?

    Basics: During an outage hundreds of customers open similar cases. Agents should not write hundreds of replies. Salesforce offers incident management…

    Read answer
  • Service CloudMedium

    How do supervisor skill filters assist managers in overseeing specialized support tiers within Omni-Channel?

    Basics: Skills-based routing assigns work to agents with matching skills (for example "Billing", "Tier 2 Networking") and skill levels. Supervisors need to…

    Read answer
  • Service CloudMedium

    How does Experience Cloud community integration achieve case deflection and promote customer self-service?

    Basics: Case deflection means a customer's issue is solved without a case being created. Tools: a branded help center with Knowledge, Einstein Search…

    Read answer
  • Service CloudMedium

    How do administrators manage high-volume case databases to prevent governor limit bottlenecks and slow queries?

    Basics: Governor limits cap what one transaction may do (for example 50,000 rows returned by SOQL, 100 synchronous SOQL queries), but slowness on millions of…

    Read answer
  • Service CloudMedium

    What API integration patterns connect external ticketing platforms with Salesforce Service Cloud backend systems?

    Basics: An external ticketing system (Jira, ServiceNow, a legacy helpdesk) must create, update and read cases. Integration pattern choice depends on volume…

    Read answer
  • Service CloudMedium

    How do CSAT and NPS surveys measure customer sentiment and service quality after case resolution?

    Basics: CSAT asks how satisfied the customer was with this interaction (rating scale). NPS asks how likely they are to recommend you on a 0-10 scale: 9-10…

    Read answer
  • Service CloudMedium

    What enterprise architecture principles ensure scalability and high availability across complex Service Cloud implementations?

    Basics: Service Cloud runs on shared, multitenant infrastructure with high platform availability, but your design decides whether it performs. Architects…

    Read answer
  • Service CloudMedium

    How do Einstein Bot context variables preserve customer session data during bot-to-agent transfers?

    Basics: Einstein Bots (now alongside the newer Agentforce service agents) use two kinds of variables. Conversation variables are collected or computed during…

    Read answer
  • Service CloudMedium

    How do Support Processes coordinate with Case Record Types to manage multiple service workflows?

    Basics: Cases for hardware repair, billing disputes and technical support do not share the same statuses. A Support Process is a named list of Case Status…

    Read answer
  • Service CloudMedium

    What is the difference between queue-based routing and skills-based routing in Service Cloud?

    Basics: In queue routing you create queues (for example Billing, Tier 1), put agents in them, and either have agents pull work manually or let Omni-Channel…

    Read answer
  • Service CloudMedium

    What role does Quick Text play in standardizing agent communications and response times?

    Basics: Agents repeat greetings, apologies, instructions and closings dozens of times a day. Quick Text lets admins or agents save these once with a name…

    Read answer
  • Service CloudMedium

    How does Knowledge article versioning manage content updates and historical audits?

    Basics: Knowledge keeps one master article (KnowledgeArticleId) with many versions (each a record with its own Id and VersionNumber). Customers always see the…

    Read answer
  • Service CloudMedium

    How does Email-to-Case transform customer email correspondence into structured support cases?

    Basics: Customers prefer emailing support@company.com. Email-to-Case gives each support mailbox a Salesforce routing address; every email creates a case (or…

    Read answer
  • Service CloudMedium

    What are the key performance indicators (KPIs) monitored on standard Service Cloud dashboards?

    Basics: KPIs show whether support is fast, effective and satisfying. Speed: first response time, average resolution time, SLA compliance %. Efficiency: AHT…

    Read answer
  • Service CloudMedium

    Why are pre-chat forms essential for gathering customer context before live chat routing?

    Basics: Without pre-chat data, an agent opens a blank chat and spends the first minutes asking for name, email and topic. A pre-chat form asks those up front…

    Read answer
  • Service CloudMedium

    How does email threading maintain conversation continuity across customer email replies?

    Basics: Without threading, every reply would create a new case. When an agent sends an email from a case, Salesforce embeds identifiers so that when the…

    Read answer
  • Service CloudMedium

    How do Suggested Articles assist support agents in resolving inquiries faster without manual searching?

    Basics: Agents lose time searching. A Knowledge component on the case page automatically runs a search using case text (subject by default) and lists matches…

    Read answer
  • Service CloudMedium

    How do article ratings and feedback loops help maintain high-quality knowledge bases?

    Basics: Content decays: products change, steps stop working. Rather than guess, collect signals from readers: helpful or not-helpful votes, comments or…

    Read answer
  • Service CloudMedium

    How do Data Category Visibility rules enforce secure content segmentation for different user tiers?

    Basics: Data categories are hierarchies (for example Product > Laptops, Region > EMEA) within Data Category Groups. Each article is tagged with categories…

    Read answer
  • Service CloudMedium

    How does Einstein Case Wrap-Up reduce average handle times and after-call work friction?

    Basics: After-call work (ACW) is the time agents spend updating the case once the conversation ends. Wrap-Up uses the conversation transcript and past cases…

    Read answer
  • Service CloudMedium

    What is Omni-Channel routing and how does it optimize support agent workload distribution?

    Basics: Without Omni-Channel, agents pull cases from a queue view, which causes cherry-picking and uneven load. Omni-Channel tracks each agent's status and…

    Read answer
  • Service CloudMedium

    How does On-Demand Email-to-Case differ from traditional email server integration setups?

    Basics: Both features convert inbound email to cases. The difference is where the mail is picked up. With On-Demand, you forward your support mailbox to a…

    Read answer
  • Service CloudMedium

    What are the core architectural benefits of Service Cloud Voice over traditional CTI integrations?

    Basics: Traditional CTI connects a separate phone system through an adapter, so call data lives elsewhere and is synced after the fact. Voice makes the call a…

    Read answer
  • Service CloudMedium

    What enterprise best practices ensure scalable design for Lightning Knowledge implementations?

    Basics: Knowledge works only if people can find trusted content. As article count grows into the tens of thousands, poor taxonomy, duplicates and stale…

    Read answer
  • Service CloudMedium

    How do parent-child case hierarchies assist support teams in managing major system outages?

    Basics: During an outage, hundreds of customers raise cases about the same failure. A parent case represents the underlying incident (or problem); each…

    Read answer
  • Service CloudMedium

    What role did traditional Solution Management play in early service knowledge repositories?

    Basics: Before Knowledge, support teams stored Q&A in the Solution object: a title (SolutionName), a body (SolutionNote), a status and optional categories…

    Read answer
  • Service CloudMedium

    How does intent recognition leverage natural language processing to enhance Einstein Bot conversational flows?

    Basics: An intent is what the customer wants (for example "Track my order"). You give example phrases (utterances) for each intent; the model learns to…

    Read answer
  • Service CloudMedium

    What role do Einstein Bots play in automating customer self-service and triage workflows?

    Basics: Many support contacts are repetitive: order status, password reset, store hours. A bot handles these 24/7 and deflects them from agents, or gathers…

    Read answer
  • Service CloudMedium

    How does Knowledge Translation Management support multi-lingual customer support operations?

    Basics: Global support teams need the same troubleshooting article in several languages. Instead of cloning articles, Knowledge stores each language as a…

    Read answer
  • Service CloudMedium

    What operational insights does Omni-Channel Supervisor provide to contact center managers?

    Basics: Omni-Channel pushes work (cases, chats, leads, voice calls) to agents based on capacity. Managers need to see whether queues are backing up and who is…

    Read answer
  • Service CloudMedium

    How do Omni-Channel secondary routing rules handle unaccepted work items in high-volume queues?

    Basics: In high-volume queues, work is pushed to an agent who has a limited time to accept it. If nobody accepts, backlog grows and SLAs slip. You need a…

    Read answer
  • Service CloudMedium

    How do Contact and Account relationships empower agents with a 360-degree customer view?

    Basics: Account represents the company (or a Person Account for consumers); Contact represents the individual. A case has AccountId and ContactId lookups…

    Read answer
  • Service CloudMedium

    How does Einstein Case Classification automate field population and accelerate case triage?

    Basics: Agents waste time and make inconsistent choices when classifying cases by hand. A model trained on your closed cases learns patterns such as "billing…

    Read answer
  • Service CloudMedium

    How does Knowledge search personalization improve search result relevance for agents and customers?

    Basics: Agents and customers search for articles with a few words. Without tuning, relevant articles can be buried under old or loosely matching ones. Search…

    Read answer
  • Service CloudMedium

    How does Open CTI empower developers to integrate custom telephony solutions into the Service Console?

    Basics: The adapter is just a web page served over HTTPS. Salesforce loads it in the softphone utility; the page includes the Open CTI JavaScript library and…

    Read answer
  • Service CloudMedium

    What is Computer Telephony Integration (CTI) and how does it streamline inbound support calls?

    Basics: Without CTI, agents juggle a separate phone and Salesforce, searching manually for the caller. CTI identifies the caller (by phone number/ANI), opens…

    Read answer
  • Service CloudMedium

    What architectural best practices govern scalable implementation of core Service Cloud solutions?

    Basics: Service orgs run high volumes with strict SLAs, so every customization has performance and maintenance cost. Declarative features are supported…

    Read answer
  • Service CloudMedium

    How do Data Categories structure and secure Salesforce Knowledge articles?

    Basics: A Data Category Group is a taxonomy (for example Product, Region, Audience). Within it, categories form a tree (Product > Laptops > Gaming). Authors…

    Read answer
  • Service CloudMedium

    How does Case Merging eliminate duplicate inquiries and streamline support queues?

    Basics: Customers email twice, call after emailing, or several contacts report the same outage. Duplicate cases double the workload and create conflicting…

    Read answer
  • Service CloudMedium

    How does the Case Feed interface improve agent visibility into ongoing customer support discussions?

    Basics: Traditional case pages split emails, comments and activities into separate related lists, making the story hard to follow. Case Feed unifies them into…

    Read answer
  • Service CloudMedium

    What are Knowledge Article Channels and how do they determine content visibility across platforms?

    Basics: Knowledge serves different audiences. Agents need internal procedures; customers need sanitized help; partners may need technical notes; the public…

    Read answer
  • Sales CloudMedium

    How do contract management and renewal tracking features support recurring subscription revenue streams?

    Basics: A Contract records an agreement with an Account: Start Date, Contract Term in months, End Date (calculated), Status (Draft, In Approval Process…

    Read answer
  • Service CloudMedium

    How do Omni-Channel Presence Statuses control agent availability and work capacity?

    Basics: Omni-Channel pushes work items (cases, chats, messaging sessions, custom objects) to agents. Each presence status is tied to one or more Service…

    Read answer
  • Service CloudMedium

    How do batch publishing capabilities streamline large-scale knowledge base maintenance?

    Basics: Large knowledge bases need regular cleanups: release a product's worth of drafts on launch day, retire an old version set, or expire stale content…

    Read answer
  • Service CloudMedium

    Why are Business Hours and Holiday configurations critical for accurate milestone SLA calculations?

    Basics: An SLA like "first response within 4 business hours" is meaningless if the clock keeps running overnight or on a public holiday. Business Hours define…

    Read answer
  • Service CloudMedium

    How do Utility Bar components enhance accessibility and efficiency in the Service Console?

    Basics: Agents in the Service Console constantly switch between cases, contacts and knowledge. Without a utility bar they must leave the case to take notes…

    Read answer
  • Service CloudMedium

    How do Screen Flows empower support agents to execute guided troubleshooting workflows?

    Basics: A Screen Flow is a Flow Builder flow that includes Screen elements with UI components (inputs, choices, data tables, display text). Support teams…

    Read answer
  • Sales CloudMedium

    How does reCAPTCHA integration prevent spam submissions on public Web-to-Lead forms?

    Basics: Web-to-Lead posts form data straight into Lead records from a public page, so bots can flood your org. reCAPTCHA makes the visitor prove they are…

    Read answer
  • Sales CloudMedium

    How can validation rules enforce data hygiene on opportunity close dates and pipeline milestones?

    Basics: A validation rule evaluates a formula on save. If it returns TRUE, the save fails and shows an error message. They enforce hygiene such as forecast…

    Read answer
  • Sales CloudMedium

    How does calendar integration streamline scheduling and meeting tracking for sales representatives?

    Basics: Reps live in their calendar and inbox. Syncing events and email to Salesforce records builds an activity timeline automatically, which feeds pipeline…

    Read answer
  • Sales CloudMedium

    How are large-scale territory assignment recalculations scheduled and optimized for massive enterprise account bases?

    Basics: Enterprise Territory Management (ETM) assigns accounts to territories (for example "EMEA - Banking") using rules on account fields such as Industry…

    Read answer
  • Sales CloudMedium

    What architectural considerations ensure high availability and performance during end-of-quarter sales spikes?

    Basics: At quarter-end many reps update the same opportunities, accounts and forecasts at once. Salesforce is multitenant, so governor limits and row locking…

    Read answer
  • Service CloudMedium

    What are the primary productivity benefits of the Service Console for customer support agents?

    Basics: A console is a Lightning app whose Navigation Style is "Console" instead of "Standard". Instead of page-to-page navigation, records open as workspace…

    Read answer
  • Service CloudMedium

    What purpose do Queues serve in managing unassigned workloads across support teams?

    Basics: Some work should not belong to one person until someone picks it up. A queue (stored as a Group record with Type = 'Queue') holds unassigned records…

    Read answer
  • Service CloudMedium

    What role do Milestones play in measuring and enforcing Service Level Agreements (SLAs)?

    Basics: An SLA says what support you promise and how fast. In Salesforce, Entitlement Management models this: an Entitlement is attached to a case, an…

    Read answer
  • Sales CloudMedium

    What integration patterns and best practices are recommended for connecting external ERP systems with Sales Cloud?

    Basics: ERP systems own orders, invoices, inventory and pricing; Sales Cloud owns accounts, opportunities and quotes. Integration keeps them aligned. The…

    Read answer
  • Sales CloudMedium

    How do advanced territory model forecasting features optimize complex enterprise sales territories?

    Basics: In Enterprise Territory Management you can design territories in a model that is not yet active, test it, and only then activate it. Separately…

    Read answer
  • Sales CloudMedium

    How do approval processes automate complex discount and deal desk sign-offs in Sales Cloud?

    Basics: An approval process is declarative automation: when a rep submits an Opportunity or Quote, Salesforce evaluates entry criteria, locks the record…

    Read answer
  • Sales CloudMedium

    How can screen flows be utilized to build custom guided selling flows directly on opportunity pages?

    Basics: A screen flow shows a series of screens and runs logic between them. Embedding it on an Opportunity guides reps through qualification questions…

    Read answer
  • Sales CloudMedium

    What are the operational boundaries and best practices for sending mass list emails within Sales Cloud?

    Basics: Salesforce can email groups of contacts, leads or users (mass email from list views, "List Email" in Lightning, Apex mass-email calls). It is meant…

    Read answer
  • Sales CloudMedium

    Why is defining structured lead status lifecycles essential for accurate sales funnel measurement?

    Basics: Lead Status is a picklist that shows where a lead is in your process, for example Open - Not Contacted, Working - Contacted, Nurturing, Closed - Not…

    Read answer
  • Sales CloudMedium

    How does the account merge mechanism consolidate duplicate enterprise accounts and associated child records?

    Basics: Duplicates split activity history and opportunities across records. Merging picks a master, lets you choose the winning value for each conflicting…

    Read answer
  • Sales CloudMedium

    How do custom report types with multi-object relationships enhance sales pipeline reporting depth?

    Basics: Standard report types cover common joins. A custom report type (CRT) lets admins create new ones, choose "with" (inner join) or "with or without"…

    Read answer
  • Service CloudMedium

    What is Salesforce Service Cloud and what role does it play in customer support operations?

    Basics: Customers contact you by email, web form, phone, chat or messaging, or social channels. Each request becomes a Case. Agents work in the Service…

    Read answer
  • Service CloudMedium

    How do Case Assignment Rules automate the initial routing of incoming support requests?

    Basics: Without routing, cases land on whoever created them or on a default owner. An assignment rule says: if Priority = High and Product = Billing, assign…

    Read answer
  • Service CloudMedium

    How do Auto-Response Rules enhance customer communication upon case submission?

    Basics: Customers want confirmation that their request was received. The rule picks a template by criteria (for example language or product) and sends it from…

    Read answer
  • Service CloudMedium

    What is Entitlement Management and how does it verify customer support eligibility?

    Basics: An Entitlement is a record linked to an Account (and optionally a Contact, Asset or Service Contract) with start and end dates, a type (for example…

    Read answer
  • Service CloudMedium

    How does Web-to-Case facilitate inbound support lead capture directly from company websites?

    Basics: Add a form to your public site with fields such as name, email, subject and description. When submitted, Salesforce creates a case with Origin = Web…

    Read answer
  • Service CloudMedium

    What is the purpose of Case Comments in tracking investigation notes and progress?

    Basics: CaseComment is a child of Case with CommentBody (up to 4,000 characters) and IsPublished. Private comments are for agents; published comments appear…

    Read answer
  • Service CloudMedium

    How do Case Teams facilitate collaborative problem solving across multidisciplinary support groups?

    Basics: Hard cases need input from several people: engineering, billing, a manager. A case team member is added with a Case Team Role that sets access to Read…

    Read answer
  • Service CloudMedium

    How do milestone warning actions help support teams avoid Service Level Agreement breaches?

    Basics: In an entitlement process each milestone has Success, Warning and Violation actions. A warning action uses a time trigger, for example 30 minutes…

    Read answer
  • Service CloudMedium

    When should support agents utilize the Case Cloning feature to expedite similar inquiries?

    Basics: The Clone action creates a new case record pre-populated with the source case's cloneable field values. The agent adjusts the subject or details and…

    Read answer
  • Service CloudMedium

    How does Lightning Knowledge object architecture differ from legacy article types?

    Basics: Classic Knowledge had Article Types, each with its own fields and layout. Lightning Knowledge uses one article object, with record types, page layouts…

    Read answer
  • Sales CloudMedium

    What are the primary usability benefits of the Sales Console app for high-velocity sales teams?

    Basics: In Standard navigation every click replaces the page. A console keeps each record open in a tab, and related records open as subtabs under it, so a…

    Read answer
  • Sales CloudMedium

    What pre-built analytical insights do Sales Cloud Analytics templates provide to sales leaders?

    Basics: Standard reports answer one question each. CRM Analytics adds interactive, cross-object dashboards with fast filtering. A template is a packaged app…

    Read answer
  • Sales CloudMedium

    How does the Salesforce recycle bin handle accidental deletions of critical sales records?

    Basics: Delete in Salesforce is a soft delete: the record is flagged IsDeleted and hidden from normal queries and views. Users can restore their own records…

    Read answer
  • Sales CloudMedium

    How do Territory Planning simulations help operations teams design optimal sales territories?

    Basics: A territory model holds territory types, a hierarchy, and account assignment rules. Models have states: Planning, Active, Archived. Only one model is…

    Read answer
  • Sales CloudMedium

    How do Lightning Email Templates and tracking features improve outreach personalization in Sales Cloud?

    Basics: Reps send similar emails all day. A template saves time and keeps messaging approved. Merge fields insert recipient and record data (first name…

    Read answer
  • Sales CloudMedium

    What architectural best practices govern the implementation of complex enterprise Sales Cloud transformations?

    Basics: Large implementations fail from complexity, not missing features. Salesforce Well-Architected frames good solutions as Trusted, Easy and Adaptable. In…

    Read answer
  • Sales CloudMedium

    Why is Deal Registration an essential feature for managing external partner relationships in Sales Cloud?

    Basics: If two resellers chase the same customer, they fight on price and the vendor looks bad. A registered deal says "this customer and opportunity belong…

    Read answer
  • Sales CloudMedium

    How do AI-driven Account Insights assist sales reps in preparing for customer outreach meetings?

    Basics: Before a meeting a rep wants to know about layoffs, funding, leadership changes or product launches. Instead of searching the web, Account Insights…

    Read answer
  • Sales CloudMedium

    How do Sales Engagement cadence branching rules personalize automated outreach based on prospect behavior?

    Basics: A cadence (formerly High Velocity Sales, now Sales Engagement) is an ordered sequence of sales steps (call, email, LinkedIn/custom manual task, wait)…

    Read answer
  • Sales CloudMedium

    How does tracking competitors on opportunities enhance win-loss reporting and sales strategy?

    Basics: Win-loss analysis needs structured data. If reps only mention competitors in notes, you cannot report on it. Each competitor entry on an opportunity…

    Read answer
  • Sales CloudMedium

    What productivity benefits do list view inline editing capabilities offer high-velocity sales teams?

    Basics: Reps often update next step, stage or close date on many records. Inline edit removes navigation to each detail page. It respects field-level…

    Read answer
  • Sales CloudMedium

    How do fuzzy matching algorithms function within Sales Cloud duplicate rules to detect duplicates?

    Basics: Exact matching compares values character for character. Fuzzy matching tolerates typos, nicknames, abbreviations and formatting differences, so "Bob…

    Read answer
  • Sales CloudMedium

    How do multi-currency exchange rate structures operate across global Sales Cloud implementations?

    Basics: A global company sells in EUR, JPY, USD and needs one comparable total. Three currencies matter: the corporate currency (the reporting base), the…

    Read answer
  • Sales CloudMedium

    What is Advanced Currency Management, and why is dated exchange rate tracking critical for global sales?

    Basics: In plain multicurrency, one exchange rate per currency converts everything. When the euro moves, all historical deals change value in reports, which…

    Read answer
  • Sales CloudMedium

    How do custom summary formulas and rollups enhance pipeline analytics on parent accounts?

    Basics: Roll-up summary fields exist only on the master side of a master-detail relationship, supporting COUNT, SUM, MIN and MAX (no average). Opportunity to…

    Read answer
  • Sales CloudMedium

    What governance strategies ensure long-term data quality and hygiene across large Sales Cloud implementations?

    Basics: Bad data (duplicates, stale opportunities, missing fields) wrecks forecasts and trust. Governance defines who owns each object, which fields are…

    Read answer
  • Sales CloudMedium

    How can administrators implement round-robin lead assignment mechanisms in Sales Cloud?

    Basics: Round robin means giving each new lead to the next rep in turn so workload and response time stay even. Salesforce lead assignment rules route by…

    Read answer
  • Sales CloudMedium

    How do sharing rules and role hierarchies protect sensitive customer and deal data in Sales Cloud?

    Basics: Two separate questions are answered: what can a user do with an object and field (profiles, permission sets, field-level security), and which…

    Read answer
  • Sales CloudMedium

    How do custom fiscal years accommodate non-standard corporate accounting schedules in Sales Cloud forecasting?

    Basics: Standard fiscal year is 12 calendar months with a chosen start month. Retail and some enterprises use 4-4-5 or 52/53-week years, where periods have…

    Read answer
  • Sales CloudMedium

    How does Event Monitoring help security teams audit API usage and data access in Sales Cloud?

    Basics: Setup Audit Trail and Login History show limited configuration and login data. Event Monitoring is a paid add-on (part of Shield) that adds detailed…

    Read answer
  • Sales CloudMedium

    What strategies are recommended for archiving historical Sales Cloud data to optimize storage limits?

    Basics: Salesforce data storage is limited per edition (a base amount plus per-user allocation; verify your org's numbers under Setup > Storage Usage). Most…

    Read answer
  • Sales CloudMedium

    How do mass transfer tools facilitate ownership reassignment when sales territories undergo restructuring?

    Basics: When reps leave or territories change, records must move. Ownership drives visibility under Private OWD, forecast roll-up and reporting, so transfers…

    Read answer
  • Sales CloudMedium

    What capabilities does the Sales Cloud Mobile App provide for field sales representatives?

    Basics: Field reps need account and opportunity data at the customer site, often without a good signal. The Salesforce mobile app (iOS and Android) runs your…

    Read answer
  • Sales CloudMedium

    How does the Sales Cloud mobile offline sync queue handle data modifications during disconnected periods?

    Basics: Field and travelling sales reps lose signal. Offline mode lets them open already-downloaded records, edit or create supported records, and keep…

    Read answer
  • Sales CloudMedium

    How does Einstein Conversation Insights leverage voice and video analytics to coach sales teams?

    Basics: Managers cannot listen to every call. ECI ingests call and video-meeting recordings, converts speech to text, and analyzes the text. Reps and managers…

    Read answer
  • Sales CloudMedium

    How do campaign hierarchies aggregate marketing ROI and member engagement across multi-tiered marketing campaigns?

    Basics: Large programs (for example an annual event with webinars and email nurtures beneath it) need totals. Hierarchy lets you view both the individual…

    Read answer
  • Sales CloudMedium

    How do stage-to-probability mappings function when configuring custom opportunity pipelines?

    Basics: Probability expresses likelihood to close, and Expected Revenue equals Amount times Probability. Stage values are a picklist configured with these…

    Read answer
  • Sales CloudMedium

    What role do Opportunity Line Items play in managing product-driven sales deals?

    Basics: An opportunity alone has just an Amount. Line items give detail: what is being sold, how many, at what price. That drives product-level reporting…

    Read answer
  • Sales CloudMedium

    How can administrators use Path key fields to enforce mandatory milestone data collection in sales pipelines?

    Basics: Sales Path is the chevron bar on a record page showing the stages of a picklist (for example Opportunity Stage). For each stage you can show Key…

    Read answer
  • Sales CloudMedium

    How do opportunity team overlays manage collaborative access control for cross-functional deal teams?

    Basics: Large deals involve solution engineers, legal and executives who do not own the record. An Opportunity Team grants them record access without…

    Read answer
  • Sales CloudMedium

    What is email relay, and why is it critical for enterprise security compliance in Sales Cloud?

    Basics: By default Salesforce sends email from its own servers. Some enterprises must route outbound email via their own gateway for data loss prevention…

    Read answer
  • Service CloudMedium

    What is a Case in Service Cloud and how does it represent customer interactions?

    Basics: Every support interaction becomes a Case so work is assigned, measured and resolved. It links to an Account and Contact, holds a Subject and…

    Read answer
  • Sales CloudMedium

    How do Sales Scorecards help sales managers evaluate representative performance and activity levels?

    Basics: A scorecard compares reps against targets on a few leading and lagging indicators: calls made, meetings booked, pipeline created, win rate, and quota…

    Read answer
  • Sales CloudMedium

    How do Sales Cadences enforce structured multichannel outreach for sales representatives?

    Basics: Inside sales reps need a repeatable follow-up pattern: call on day 1, email on day 2, LinkedIn on day 4, and so on. A cadence encodes that pattern…

    Read answer
  • Sales CloudMedium

    What is lead conversion in Salesforce Sales Cloud, and what records are created during this process?

    Basics: A Lead is an unqualified prospect. When sales decides it is real, they click Convert. Salesforce creates or matches a business Account, a Contact…

    Read answer
  • LWCMedium

    How does the LWC reactivity engine manage property observation and virtual DOM updates?

    Basics: Since Spring '20, all class fields are reactive for primitive values: if a field is used in the template (or in a getter the template uses) and its…

    Read answer
  • LWCMedium

    How should developers handle and parse error objects returned by wired data adapters in LWC?

    Basics: A wired property resolves to { data, error }; exactly one is populated. For imperative Apex use try/catch or .catch. The error typically has status…

    Read answer
  • LWCMedium

    How do you integrate third-party JavaScript libraries into LWC using platformResourceLoader?

    Basics: Third-party code (Chart.js, D3, moment, custom CSS) cannot just be -tagged in LWC. You upload it as a static resource, import its URL with…

    Read answer
  • LWCMedium

    What is the role of Jest in unit testing Lightning Web Components, and how does it mock Salesforce modules?

    Basics: A unit test mounts one component in a fake DOM (jsdom), triggers events or data, and asserts output. It is fast, runs in CI, and needs no deployment…

    Read answer
  • LWCMedium

    How do you configure and build custom screen actions or quick actions using Lightning Web Components?

    Basics: Quick actions are buttons on record pages. A screen action opens a modal containing your component; a headless action runs code immediately with no UI…

    Read answer
  • LWCMedium

    What are the top performance optimization best practices for enterprise-grade LWC applications?

    Basics: Slow components usually suffer from too many server calls, huge lists in the DOM, expensive work in render paths, or unnecessary re-renders. Measure…

    Read answer
  • LWCMedium

    How can developers navigate to object home views and record creation pages using NavigationMixin?

    Basics: Hard-coded URLs break across Lightning Experience, Experience Cloud and mobile. A PageReference is a declarative JSON description of a destination…

    Read answer
  • LWCMedium

    How do you subscribe to Platform Events and streaming channels in LWC using lightning/empApi?

    Basics: Instead of polling, a component subscribes to a channel and a callback runs whenever an event is published. Channel names: platform events…

    Read answer
  • Sales CloudMedium

    What are the key performance indicators (KPIs) tracked on standard Sales Cloud executive dashboards?

    Basics: A KPI is one number tied to a business decision. A dashboard is a set of components (charts, gauges, tables, metrics), and each component reads one…

    Read answer
  • LWCMedium

    How do you perform imperative CRUD operations on records using lightning/uiRecordApi functions?

    Basics: Use them for simple create, edit or delete actions in a component, such as a button that creates a Task. They return Promises. createRecord({ apiName…

    Read answer
  • LWCMedium

    How do you create custom modal dialog windows in LWC using LightningModal?

    Basics: Before LightningModal (GA from API 58.0, Spring '23), developers hand-built SLDS modals. Now a modal is itself a component class that you open from…

    Read answer
  • LWCMedium

    How can developers utilize lightning/uiListApi to fetch and display standard list view data?

    Basics: List views already encode filters, columns and sort order. Instead of re-implementing them in SOQL, you can read them: getListInfoByName({…

    Read answer
  • LWCMedium

    How do you implement file upload functionality in LWC using lightning-file-upload?

    Basics: Add . Users pick files; the component uploads them as ContentVersion records, creating a ContentDocument linked to the record by ContentDocumentLink…

    Read answer
  • Sales CloudMedium

    What is Partner Relationship Management (PRM) in Sales Cloud, and how does it empower channel partners?

    Basics: Many companies sell through resellers and distributors. PRM gives those partners a login to your Salesforce data (a partner portal) instead of…

    Read answer
  • Sales CloudMedium

    How does Web-to-Lead generation work, and what security mechanisms protect against spam?

    Basics: Marketing sites need to capture inquiries without staff re-typing them. Web-to-Lead produces a form you paste into any website. When a visitor…

    Read answer
  • Sales CloudMedium

    How do Account Teams facilitate collaborative account management and shared access control?

    Basics: Out of the box, access to an account comes from ownership, role hierarchy, org-wide defaults and sharing rules. Those are broad rules. An account team…

    Read answer
  • LWCMedium

    How do target configurations and design attributes work in the component's .js-meta.xml file?

    Basics: Every LWC bundle has a metadata file. isExposed makes it visible to builders; masterLabel and description name it in App Builder; targets list…

    Read answer
  • Sales CloudMedium

    How does Email-to-Salesforce assist sales reps in tracking communications and customer engagement?

    Basics: Reps live in their mailbox. Email to Salesforce captures email into the CRM without opening it, so the account history shows what was said. How it…

    Read answer
  • Sales CloudMedium

    How do Big Deals alerts function to notify stakeholders of major sales milestones?

    Basics: Leaders want to know immediately when a large deal is created or closes, without watching reports. An alert fires on criteria and sends a…

    Read answer
  • Sales CloudMedium

    How do matching and duplicate rules protect data integrity in Sales Cloud databases?

    Basics: Duplicate leads, contacts and accounts cause double outreach, bad reporting and merge work. Duplicate Management stops them at entry, rather than…

    Read answer
  • Sales CloudMedium

    What features does Pipeline Inspection offer sales managers to review and accelerate deal closures?

    Basics: Managers used to export reports to see what moved. Pipeline Inspection shows the open pipeline by category, highlights deals whose close date was…

    Read answer
  • LWCMedium

    What is the role of the dollar sign prefix ($) when passing reactive parameters to wire adapters?

    Basics: @wire configuration is an object. A plain value (fields: [NAME]) is fixed at setup. A string beginning with $ is a reference to a property on the…

    Read answer
  • Sales CloudMedium

    When and why should administrators configure revenue and quantity schedules for products in opportunities?

    Basics: A normal opportunity product has one amount. A schedule splits a product's revenue and/or quantity into dated installments (daily, weekly, monthly…

    Read answer
  • LWCMedium

    How does client-side caching operate within Lightning Data Service and wired LWC adapters?

    Basics: Caching avoids repeat server calls: two components showing the same account trigger one request and show consistent values. LDS adapters (getRecord…

    Read answer
  • Sales CloudMedium

    How does Sales Cloud Einstein Opportunity Scoring evaluate deals and assist sales representatives?

    Basics: Reps have many deals and limited time. The score is a prediction of likelihood to close, so reps focus on healthy deals and managers spot at-risk…

    Read answer
  • Sales CloudMedium

    How does Einstein Forecasting differ from traditional manual sales forecasting methods?

    Basics: Traditional forecasting in Salesforce is Collaborative Forecasts: reps put opportunities in categories (Pipeline, Best Case, Commit, Closed), forecast…

    Read answer
  • Sales CloudMedium

    Why are Opportunity Contact Roles essential for mapping stakeholder influence during sales cycles?

    Basics: B2B deals involve many people. A contact role is a junction record linking a Contact to an Opportunity with a Role picklist value. Without it, reps…

    Read answer
  • Sales CloudMedium

    How do revenue and quantity schedules support subscription and recurring billing models in Sales Cloud?

    Basics: A subscription or installment deal has timing: 1,000 per month for 12 months, or deliveries each quarter. A revenue schedule records money by date; a…

    Read answer
  • Sales CloudMedium

    What is the function of Lead Assignment Rules in streamlining inbound sales pipelines?

    Basics: They route leads by criteria such as country, state, company size, lead source or any field. Only one lead assignment rule can be active at a time…

    Read answer
  • LWCMedium

    What are the key requirements when iterating over lists of data in LWC templates?

    Basics: Templates cannot run loops in JavaScript expressions, so you declare iteration in markup. Each rendered item needs a key so the engine can match old…

    Read answer
  • LWCMedium

    When should an architect choose Imperative Apex over the @wire service for server-side communication?

    Basics: Both approaches call an @AuraEnabled Apex method. @wire is declarative and automatic. Imperative Apex is a plain function call that returns a Promise…

    Read answer
  • LWCMedium

    How do child-to-parent communication channels work in LWC using Custom Events?

    Basics: A child should not reach into its parent. Instead it announces that something happened ("item selected") with data, and whoever contains it decides…

    Read answer
  • LWCMedium

    What are the primary LWC lifecycle hooks, and in what order do they execute?

    Basics: Lifecycle hooks are methods the platform calls at defined moments so you can initialize, touch the DOM, or clean up. They are standard methods on a…

    Read answer
  • LWCMedium

    What is Lightning Web Security (LWS) and how does it enhance security compared to legacy LockerService?

    Basics: Components from different namespaces run on the same page, so they must not read or tamper with each other's data or the DOM. Locker enforced this by…

    Read answer
  • LWCMedium

    How does the @wire service adapter work for retrieving Salesforce data reactively?

    Basics: Instead of writing "call the server, wait, store result", you declare what you want: @wire(getRecord, { recordId: '$recordId', fields: FIELDS })…

    Read answer
  • LWCMedium

    How do you mock wired Salesforce data adapters when writing Jest unit tests for LWC?

    Basics: Jest tests run in Node without a Salesforce server, so @wire adapters have to be replaced with test doubles. @salesforce/sfdx-lwc-jest supplies stubs…

    Read answer
  • LWCMedium

    How do getFieldValue and getFieldDisplayValue simplify extracting record field data in LWC?

    Basics: getRecord returns a nested structure (record.fields.Name.value, record.fields.Name.displayValue). Reading it manually is verbose and breaks on…

    Read answer
  • LWCMedium

    How does lightning-record-edit-form enable granular field-level customization during record creation and editing?

    Basics: Unlike lightning-record-form (auto layout) and lightning-record-view-form (read-only), the edit form lets you pick exactly which fields to show, in…

    Read answer
  • LWCMedium

    How do you configure and manage data display using the lightning-datatable component?

    Basics: It is a base component for tables of records. You describe each column (label, fieldName, type) and pass rows as plain objects. Common types: text…

    Read answer
  • LWCMedium

    How do developers use template.querySelector to access elements inside a component's Shadow DOM?

    Basics: Each LWC renders into a shadow root (this.template). Elements in it are encapsulated, so document.querySelector cannot find them…

    Read answer
  • LWCMedium

    Why is disconnectedCallback crucial for proper component cleanup and memory leak prevention?

    Basics: JavaScript garbage collection only frees an object when nothing references it. A component that adds a listener to window, starts a setInterval, or…

    Read answer
  • LWCMedium

    How do you navigate between pages and records in LWC using the lightning/navigation service?

    Basics: Hard-coded URLs break across contexts (Lightning Experience, mobile, Experience Cloud). A page reference is a platform-neutral description of where to…

    Read answer
  • LWCMedium

    What is Lightning Data Service (LDS) in LWC, and what are the benefits of using lightning/uiRecordApi?

    Basics: Instead of writing an Apex controller for every read or save, you ask LDS for a record by Id and fields. It handles caching, so two components showing…

    Read answer
  • LWCMedium

    How can asynchronous rendering patterns and performance optimizations be applied in large LWC applications?

    Basics: The original idea of an "async rendering directive" does not exist in LWC. Rendering is synchronous per component and batched by the engine in…

    Read answer
  • Service CloudMedium

    How do Case Escalation Rules ensure that critical customer issues are not overlooked or delayed?

    Basics: Escalation is the safety net for support queues. You define criteria (for example High priority cases) and a time limit (for example 4 hours); if the…

    Read answer
  • LWCMedium

    When should you use lightning-record-form versus lightning-record-edit-form for data entry?

    Basics: Both are Lightning Data Service components, so they need no Apex, enforce field-level security, and respect record types and validation rules. The…

    Read answer
  • LWCMedium

    What are the advantages of leveraging Salesforce Lightning Base Components over native HTML elements?

    Basics: You could build a date picker with raw and CSS. A base component does it for you: correct SLDS styling, keyboard navigation, screen reader support…

    Read answer
  • LWCMedium

    How do error boundaries and errorCallback methods work for handling component exceptions in LWC?

    Basics: Without a boundary, an exception in one child can blank out a large part of the page. A boundary component wraps risky children, catches the error…

    Read answer
  • LWCMedium

    How does renderedCallback function, and what precautions should developers take to avoid infinite loops?

    Basics: The template output is only in the DOM after rendering, so anything that needs actual elements (focus, measuring size, initializing a chart library…

    Read answer
  • LWCMedium

    What is the purpose of the connectedCallback lifecycle hook, and when is it typically utilized?

    Basics: Every LWC has a lifecycle: constructor -> connectedCallback -> render -> renderedCallback (after each render), and disconnectedCallback when removed…

    Read answer
  • LWCMedium

    How does component composition work using slots in Lightning Web Components?

    Basics: Properties pass data; slots pass markup. A c-card component can define a place for a body and a header, and each parent decides what to put there…

    Read answer
  • LWCMedium

    How do getter properties function in LWC JavaScript controllers for dynamic UI binding?

    Basics: LWC templates only allow simple property access such as {contact.Name}. They do not allow {a + b}, {!flag} or function calls. When you need a derived…

    Read answer
  • LWCMedium

    When and how should you use lwc:dom="manual" for programmatic DOM manipulation?

    Basics: LWC owns its DOM and normally forbids manual DOM edits inside the template, because they would conflict with its diffing. When a library such as a…

    Read answer
  • LWCMedium

    How does conditional rendering work in LWC templates using modern directives?

    Basics: Conditional rendering decides which parts of the template appear. For example, show a spinner while loading, an error panel if a call failed, and…

    Read answer
  • LWCMedium

    What is the purpose of refreshApex, and how do you use it with wired data adapters?

    Basics: Wired Apex (cacheable=true) results are cached client-side for performance, so after you save something, the old list can still show. refreshApex…

    Read answer
  • LWCMedium

    What is the Lightning Message Service (LMS), and when should you use it for cross-component communication?

    Basics: When two components are siblings, unrelated, or built with different frameworks, events and properties cannot connect them. LMS gives them a shared…

    Read answer
  • LWCMedium

    What is the significance of extending LightningElement in component JavaScript classes?

    Basics: You import it from 'lwc': import { LightningElement } from 'lwc';. Without extending it, the bundle compiles to a plain class with no rendering…

    Read answer
  • LWCMedium

    How can developers display user notification banners using the ShowToastEvent module?

    Basics: A toast is a temporary banner that confirms an action or reports a problem without navigating away. It is the standard way to give feedback after a…

    Read answer
  • ApexMedium

    What are the performance and memory trade-offs between stateless and stateful Batch Apex implementations?

    Basics: By default, every execute() starts with the instance variables as they were set at construction; changes made in one chunk are lost. Implementing…

    Read answer
  • ApexMedium

    How can developers programmatically monitor and reorder jobs sitting in the Asynchronous Apex Flex Queue?

    Basics: Jobs waiting in the Flex Queue are processed in order. If an urgent job is stuck behind a big one, you can move it forward without aborting anything…

    Read answer
  • ApexMedium

    What are the concurrency and maximum limit constraints associated with Scheduled Apex jobs in an org?

    Basics: Each call to System.schedule or each Schedule Apex entry creates a CronTrigger record. The platform caps the number of active ones at 100 per org…

    Read answer
  • ApexMedium

    What factors determine the optimal batch size parameter when calling Database.executeBatch()?

    Basics: Database.executeBatch(job, size) sets how many records are handed to each execute(). Each chunk is its own transaction, so size trades fewer…

    Read answer
  • ApexMedium

    How can Platform Cache optimize data retrieval within Batch Apex execution chunks?

    Basics: Each execute() is a separate transaction with fresh limits, so a lookup that each chunk needs (for example a mapping table) would be queried again…

    Read answer
  • ApexMedium

    How do you handle partial success and error isolation when performing DML updates in Batch Apex?

    Basics: A plain update fails the entire chunk if one record fails. With allOrNone=false, valid records are saved and each failure is reported per record, so…

    Read answer
  • ApexMedium

    How do you enable and execute external API callouts inside Queueable Apex?

    Basics: Callouts cannot happen in triggers or after uncommitted DML in the same transaction. Queueable Apex gives a clean new transaction where callouts are…

    Read answer
  • ApexMedium

    How does Asynchronous Apex resolve Mixed DML exceptions involving setup and non-setup objects?

    Basics: Setup objects change security and sharing structure, so Salesforce prevents mixing them with business-data DML in one transaction. The fix is to split…

    Read answer
  • ApexMedium

    How can you track the execution identifier returned when enqueueing a Queueable Apex job?

    Basics: Queueable jobs run later, so the Id is your only handle. Saving it on a record or log lets you answer "did it finish, and did it fail?" How it works…

    Read answer
  • ApexMedium

    How do enterprise architects evaluate and choose between Future, Queueable, Batch, and Scheduled Apex for complex integration workflows?

    Basics: All four run outside the user's transaction with higher limits. They differ in volume handling, parameters, monitoring and chaining. How it works /…

    Read answer
  • LWCMedium

    What is Lightning Web Components (LWC), and how does its architecture differ from Aura components?

    Basics: Both build Lightning UI (record pages, apps, utility bar, quick actions, Experience Cloud). Aura came first (2014); LWC arrived in 2019 and relies on…

    Read answer
  • ApexMedium

    How does the Iterable interface work in Batch Apex for custom data collections?

    Basics: When the work list is not a simple SOQL result, such as records parsed from an external API, a merge of two objects, or a filtered subset that SOQL…

    Read answer
  • ApexMedium

    When should you choose Database.getQueryLocator() over an iterable in Batch Apex?

    Basics: Batch Apex start() must return either a QueryLocator or an Iterable. A QueryLocator is a server-side cursor: Salesforce holds the query and feeds…

    Read answer
  • LWCMedium

    What are the mandatory files required to create a standard Lightning Web Component?

    Basics: A component lives in a folder under force-app/main/default/lwc/, for example lwc/accountCard/. The folder name is camelCase and every file inside uses…

    Read answer
  • LWCMedium

    Explain the concept of Shadow DOM in LWC and how it enforces component encapsulation and styling isolation.

    Basics: Without encapsulation, one component's .title { color: red; } could restyle every .title on the page, and global document.querySelector calls could…

    Read answer
  • LWCMedium

    What is the role of the @track decorator, and when is it required in modern LWC development?

    Basics: Reactive means "when this value changes, the template re-renders". Originally all reactive properties needed @track. Now a field like count = 0 is…

    Read answer
  • LWCMedium

    How do you expose public properties and methods to parent components using the @api decorator?

    Basics: Components are black boxes. Anything not decorated with @api is private. Public properties let a parent configure a child ( ), and public methods let…

    Read answer
  • ApexMedium

    How and why would you use System.abortJob() in asynchronous Apex management?

    Basics: Async jobs keep running or waiting after you start them. abortJob is the programmatic equivalent of the Abort link in Setup, Apex Jobs and Scheduled…

    Read answer
  • ApexMedium

    What is the Flex Queue in Salesforce Asynchronous Apex, and how does it manage waiting batch jobs?

    Basics: Batch Apex lets you process large data sets in chunks. Without the Flex Queue, submitting a sixth concurrent batch would fail. Now…

    Read answer
  • ApexMedium

    How does Queueable job chaining work, and what are the platform limits associated with it?

    Basics: Chaining lets you run steps in sequence, each in a fresh transaction with fresh async limits, for example fetch, then transform, then update. How it…

    Read answer
  • ApexMedium

    How do Test.startTest() and Test.stopTest() enforce synchronous execution of asynchronous jobs during unit testing?

    Basics: Async jobs normally run later, which makes them untestable. Test.stopTest() forces all async work started inside the block to complete before the next…

    Read answer
  • Field ServiceMedium

    What role does asynchronous Apex play in managing high-volume SFS data operations?

    Basics: Synchronous Apex has 10,000 ms CPU, 6 MB heap and 100 SOQL; asynchronous gets 60,000 ms CPU, 12 MB heap and 200 SOQL queries per transaction, and…

    Read answer
  • ApexMedium

    How can you trigger subsequent asynchronous jobs inside the finish method of a Batch Apex class?

    Basics: finish() runs once after the last chunk. It is where you send summary emails and start the next stage of a multi-step pipeline (for example load, then…

    Read answer
  • ApexMedium

    How do you prevent recursive asynchronous job enqueuing triggered by recursive database DML updates?

    Basics: A common loop: trigger enqueues a job, the job updates records, the update fires the trigger, which enqueues another job. Static variables reset…

    Read answer
  • ApexMedium

    What are the primary differences in governor limits between synchronous transactions and asynchronous Apex executions?

    Basics: Governor limits protect the multi-tenant platform. Because async work runs in the background, Salesforce lets it use more resources, which is why…

    Read answer
  • ApexMedium

    What are Future Methods in Salesforce Apex, and what are their primary limitations regarding parameter types and chaining?

    Basics: Use it to offload a callout or to avoid mixed DML errors after a trigger runs. Salesforce queues it and runs it when resources allow. How it works…

    Read answer
  • ApexMedium

    How do Cron expressions work in Scheduled Apex, and what are the rules for formatting them correctly?

    Basics: To run an Apex class on a schedule, implement Schedulable, then call System.schedule(name, cronExpression, instance) or use Setup, Apex Classes…

    Read answer
  • ApexMedium

    Explain the structure of the Database.Batchable interface and how governor limits are handled across batch chunks.

    Basics: Batch Apex handles data volumes too big for one transaction, such as millions of records for cleanups or recalculations. How it works…

    Read answer
  • ApexMedium

    How does delayed Queueable job execution work and what are its primary use cases?

    Basics: Previously, queueable jobs started as soon as resources were free. With the delay overload you tell the platform not to start the job before a minimum…

    Read answer
  • ApexMedium

    How does Scheduled Apex work using the Schedulable interface, and what are best practices for cron scheduling?

    Basics: Use it for nightly rollups, cleanups, or periodic syncs. You can also schedule via Setup > Apex Classes > Schedule Apex, which is easy but limited to…

    Read answer
  • ApexMedium

    How do you pass runtime parameters into a Batch Apex class prior to execution?

    Basics: Database.executeBatch takes only the batch instance and the scope size, so everything the job needs (filters, record Ids, flags, a user to notify) has…

    Read answer
  • ApexMedium

    How can developers use the Limits class to inspect asynchronous governor limits at runtime?

    Basics: Governor limits are per transaction. Limits.getQueueableJobs() returns how many queueable jobs you have enqueued so far…

    Read answer
  • ApexMedium

    What specialized testing methods are available in the Test class for verifying asynchronous job queues?

    Basics: The Test class has a small set of async-related helpers. Most async verification is done by running the job inside the start/stop block and asserting…

    Read answer
  • ApexMedium

    How do you prevent heap size limit exceptions when processing large payloads in Batch Apex execute chunks?

    Basics: Heap is the memory your Apex variables occupy in one transaction. Async transactions get 12 MB (sync 6 MB). Large JSON payloads, big lists of sObjects…

    Read answer
  • ApexMedium

    What strategies should architects use to manage and clean up expired or obsolete Scheduled Apex jobs?

    Basics: Every schedule uses a CronTrigger entry. Old test schedules, per-record schedules and forgotten integrations pile up and eventually block new…

    Read answer
  • Field ServiceMedium

    What is the difference between Service Territories and Operating Hours?

    Basics: Territories group resources and work geographically so dispatchers and the scheduling engine can restrict who works where. Operating Hours is a…

    Read answer
  • Field ServiceMedium

    What is the role of the Assigned Resource object in Salesforce Field Service?

    Basics: A Service Appointment is the visit; a Service Resource is a technician (or crew). The Assigned Resource record ties them together. Without an assigned…

    Read answer
  • Field ServiceMedium

    When and why would you use Work Order Line Items (WOLIs) in Salesforce Field Service?

    Basics: A Work Order represents a job for a customer or asset. A Work Order Line Item (WOLI) is a child record representing one task inside it, such as…

    Read answer
  • Field ServiceMedium

    What is the purpose of the Service Territory Member object?

    Basics: A technician is a Service Resource; a territory is a region. The membership record connects them and adds time, type and hours details. How it works…

    Read answer
  • Field ServiceMedium

    What is the exact function of Operating Hours in Salesforce Field Service scheduling?

    Basics: Operating Hours is a standard object with a time zone and child Time Slots. It is attached to Service Territories, Service Territory Members, and…

    Read answer
  • AdminMedium

    What role do Public Groups play in streamlining administrative sharing and queue configurations?

    Basics: Instead of naming individual users in every sharing rule, create a group such as "EMEA Support", then target it. When people join or leave, you update…

    Read answer
  • Field ServiceMedium

    What is the difference between Product Requests and Product Transfers in inventory management?

    Basics: In Salesforce Field Service inventory management, a Location is a warehouse or technician van; a Product Item records quantity of a product at a…

    Read answer
  • Field ServiceMedium

    What purpose do geographic polygons serve in Salesforce Field Service territory management?

    Basics: A territory has an address, but real service areas are irregular: a postcode set, a river boundary, a city district. Polygons capture that shape. How…

    Read answer
  • Field ServiceMedium

    When should an architect implement Service Crews instead of individual service resources?

    Basics: Some work, like installing heavy equipment or utility repair, requires a team. A Service Crew groups multiple Service Resources and is scheduled as a…

    Read answer
  • Field ServiceMedium

    What is the exact role of Service Territory Members in resource allocation?

    Basics: Rather than putting a territory on the technician record, Salesforce uses a junction so one technician can serve several territories over time. How it…

    Read answer
  • Field ServiceMedium

    Why is address geocoding critical for accurate travel time and routing calculations?

    Basics: Computers cannot measure distance between "12 Main St" and "98 Oak Ave" without coordinates. Geocodes supply them. How it works: Salesforce can…

    Read answer
  • Field ServiceMedium

    What is the core purpose of the Service Appointment object in the SFS data model?

    Basics: A Work Order says what needs doing; a Service Appointment says when and where a technician will do it. Its parent record can be a Work Order, Work…

    Read answer
  • Field ServiceMedium

    What is the purpose of Required Resources in complex scheduling scenarios?

    Basics: Sometimes only a certain technician is allowed or contracted: a key account's dedicated engineer, or someone with a site clearance. Resource…

    Read answer
  • Field ServiceMedium

    When should an architect implement Work Order Line Items instead of single work orders?

    Basics: Splitting work into many Work Orders multiplies records, invoices and appointments. WOLIs keep related tasks together under a single Work Order. How…

    Read answer
  • Field ServiceMedium

    What is the difference between Global Optimization and In-Day Optimization in Salesforce Field Service?

    Basics: Salesforce Field Service Optimization (a separate license add-on, Field Service Scheduling and Optimization) automatically improves schedules after…

    Read answer
  • AdminMedium

    How do Password Policies configure organizational compliance for user credential strength and expiration?

    Basics: Weak, reused or never-changed passwords are a main source of account compromise. Salesforce lets admins define how strong passwords must be and what…

    Read answer
  • AdminMedium

    How do Record-Triggered Flows replace legacy workflow rules and process builders for database automation?

    Basics: Workflow Rules (field updates, email alerts, tasks, outbound messages) and Process Builder (processes) were Salesforce's older declarative engines…

    Read answer
  • AdminMedium

    How do Approval Processes coordinate multi-step management sign-offs and automated record updates?

    Basics: It models formal sign-off such as discounts, expenses, contracts or purchase requests. A user clicks Submit for Approval; Salesforce evaluates entry…

    Read answer
  • AdminMedium

    What are the volume limits and primary object capabilities of the native Data Import Wizard?

    Basics: For admins and some end users who need a quick import without installing software. Larger or more complex jobs belong in Data Loader or an ETL tool…

    Read answer
  • AdminMedium

    How do Matching Rules and Duplicate Rules work together to prevent duplicate data entry?

    Basics: Duplicates harm reporting and customer experience. Duplicate Management separates detection (matching rule) from action (duplicate rule), so the same…

    Read answer
  • AdminMedium

    How do Dependent Picklists guide user data entry by filtering options based on controlling field values?

    Basics: It prevents impossible combinations such as Country = India with State = Texas. The controlling field is a standard or custom picklist or checkbox…

    Read answer
  • AdminMedium

    What are the characteristics and best use cases for Tabular report formats in Salesforce?

    Basics: Salesforce has four report formats: Tabular, Summary, Matrix and Joined. Tabular is like a spreadsheet: pick columns, filter rows, sort. It cannot…

    Read answer
  • AdminMedium

    How do Joined reports enable users to display multiple data blocks within a single reporting interface?

    Basics: Standard reports show data from one report type. Joined reports let you place, for example, Opportunities and Cases for the same account side by side…

    Read answer
  • AdminMedium

    What computational benefits do Row-Level Formulas provide directly within report builder interfaces?

    Basics: Sometimes you need a calculation for analysis only, such as days open, discount percent, or a flag for large deals. Creating a permanent formula field…

    Read answer
  • AdminMedium

    How do Case Assignment Rules automate the triage and routing of incoming support tickets?

    Basics: Triage means getting the right case to the right person quickly. Assignment rules do that from criteria such as Origin, Priority, Product or Account…

    Read answer
  • AdminMedium

    How does Email-to-Case process incoming customer email messages to generate and update support cases?

    Basics: Support teams receive mail at addresses like support@company.com. Email-to-Case creates a case for each new email, stores the message on the case, and…

    Read answer
  • AdminMedium

    How does Field History Tracking capture audit trails of user modifications for compliance and review?

    Basics: For compliance and troubleshooting you need to know who changed a field and what it was before. You turn on tracking per object and per field…

    Read answer
  • AdminMedium

    How do Summary reports organize data groupings and subtotal calculations for business users?

    Basics: If a tabular report lists records, a summary report answers "how many and how much per group", such as opportunities by stage or cases by owner…

    Read answer
  • AdminMedium

    Why must administrators build Custom Report Types to report on complex multi-object relationships?

    Basics: Standard report types cover common pairs such as Accounts with Contacts. They cannot cover custom objects, unusual lookup chains, or "records without…

    Read answer
  • AdminMedium

    How do Summary Formulas compute aggregate percentages and ratios across grouped report data?

    Basics: A row-level calculation works per record; a summary formula works on totals. For example, "Won amount divided by total amount per owner" needs both…

    Read answer
  • AdminMedium

    How do Case Escalation Rules ensure service level agreements are met by reassigning stagnant support cases?

    Basics: SLA breaches happen when cases are forgotten. Escalation rules are the simple, declarative safety net: after X hours without closure or update, move…

    Read answer
  • AdminMedium

    What objects are created simultaneously when an administrator processes a Lead Conversion in Sales Cloud?

    Basics: A Lead is an unqualified prospect. When it is qualified, conversion promotes it into the core CRM records: Account (the company), Contact (the person)…

    Read answer
  • Field ServiceMedium

    Why is First-Time Fix Rate considered a vital KPI in field service operations?

    Basics: In field service, the expensive part of a job is getting a person and a vehicle to the site. If the job needs a return trip (missing parts, wrong…

    Read answer
  • Field ServiceMedium

    What is the difference between Work Rules and Service Objectives within a Scheduling Policy in Salesforce Field Service?

    Basics: A Scheduling Policy is the rulebook the Salesforce Field Service (formerly Field Service Lightning) engine uses when it books, reshuffles or optimizes…

    Read answer
  • Field ServiceMedium

    What is the role of Field Service Mobile Flows, and why are they crucial for offline scenarios?

    Basics: Technicians often work without signal. Instead of custom code, admins build a Screen Flow, expose it as a Flow quick action or global action on…

    Read answer
  • Field ServiceMedium

    Why would an organization configure custom Scheduling Policies instead of using the default policy?

    Basics: Default policies suit generic businesses. Different companies value different things: a utility prioritizes emergencies, a retailer prioritizes…

    Read answer
  • Service CloudMedium

    How do Macros increase agent productivity by automating repetitive support tasks?

    Basics: Agents repeat the same multi-step actions many times a day, such as sending a standard reply, setting Status to Waiting on Customer, and adding a…

    Read answer
  • AdminMedium

    What are Screen Flows and how do administrators design interactive user guidance interfaces?

    Basics: Unlike record-triggered or scheduled flows, a screen flow runs only when a person starts it and waits for input. It is used for guided intake (new…

    Read answer
  • AdminMedium

    How does In-App Guidance assist administrators in onboarding users and promoting feature adoption?

    Basics: Instead of emails and training decks, you place guidance exactly where users work. It is created in Setup under In-App Guidance. Prompts can be a…

    Read answer
  • AdminMedium

    How do Validation Rules enforce data quality standards and display custom error messages to users?

    Basics: Required fields and picklists cannot express conditional business rules such as "Close Date cannot be in the past" or "Discount over 20% needs a…

    Read answer
  • Sales CloudMedium

    How do Territory Assignment Rules automate complex enterprise account segmentation?

    Basics: A territory is a segment of accounts (by geography, industry, size) that a set of reps owns, independent of the role hierarchy. Assignment rules…

    Read answer
  • Sales CloudMedium

    How does Salesforce Inbox bridge CRM workflows directly into external email client applications?

    Basics: Reps live in email. Inbox shows the Salesforce record for the sender or recipient in a side panel, lets them insert templates, track opens and clicks…

    Read answer
  • Sales CloudMedium

    How does Sales Dialer integrate voice communication and automatic activity logging into Sales workflows?

    Basics: Reps normally dial a phone, then type notes into Salesforce. Sales Dialer lets them call from the record page using the browser (WebRTC, no desk…

    Read answer
  • Sales CloudMedium

    How does Salesforce Maps empower field sales teams with geographic route planning and territory visualization?

    Basics: Field sales reps lose time driving inefficient routes. Salesforce Maps geocodes Accounts, Leads, Contacts and custom objects, displays them as markers…

    Read answer
  • Sales CloudMedium

    What is the difference between implicit lead scoring and explicit lead grading in qualification pipelines?

    Basics: Sales should call leads that are both interested (score) and appropriate (grade). A highly engaged student who can never buy is high score, low grade…

    Read answer
  • Sales CloudMedium

    How do Pipeline Trend Reports help sales executives analyze historical stage movements and forecast accuracy?

    Basics: A standard opportunity report shows the present. Leaders also want to know what the pipeline looked like last week or last quarter, which deals…

    Read answer
  • Sales CloudMedium

    What is the purpose of setting up Forecast Quotas in Sales Cloud collaborative forecasting?

    Basics: A forecast number is meaningless without a goal. Quotas give each rep and manager a target for a month or quarter. The Forecasts tab then displays…

    Read answer
  • Service CloudMedium

    How do agent skill proficiencies and weights refine skills-based Omni-Channel routing accuracy?

    Basics: Not every agent can handle every case, for example "Spanish speaking" or "Billing, level 7+". Skills model that. Admins define Skills (Setup >…

    Read answer
  • Service CloudMedium

    How do Omni-Channel routing configurations manage push frequency and work item acceptance rules?

    Basics: Omni-Channel pushes work (cases, chats, leads, custom objects) to agents rather than letting them pick. Two configuration objects shape this. The…

    Read answer
  • Service CloudMedium

    What actions can be triggered automatically when a case milestone warning or violation occurs?

    Basics: In Service Cloud, Entitlement Management attaches an Entitlement Process to a Case. The process has Milestones (for example First Response in 1 hour…

    Read answer
  • Service CloudMedium

    What architectural governance principles guarantee enterprise scalability and maintainability across large Service Cloud implementations?

    Basics: Large service orgs fail through sprawl: duplicate flows, conflicting triggers, too many record types and unmanaged changes. Governance means agreed…

    Read answer
  • Service CloudMedium

    What is Salesforce Knowledge and how does it empower support organizations?

    Basics: Agents solve the same problems repeatedly. Knowledge captures the answer once, so it can be searched and attached to cases. Customers can self-serve…

    Read answer
  • IntegrationMedium

    How do developers configure HTTP callout timeouts to prevent transactions from hanging indefinitely on slow external servers?

    Basics: An HTTP callout waits for an external server. Without a limit, a slow server could tie up your transaction. Apex lets you set a per-request timeout…

    Read answer
  • IntegrationMedium

    What architectural strategies govern multi-org integration synchronization and master data management in large enterprises?

    Basics: Companies end up with several orgs (acquisitions, regions, business units) that need to share customers, products or orders. Master Data Management…

    Read answer
  • IntegrationMedium

    How do Bulk API pagination and chunking strategies prevent memory heap exhaustion during large extractions?

    Basics: Heap limits (6 MB sync, 12 MB async) apply to Apex, not to Bulk API clients. The memory problem in large extracts is on the client or middleware side…

    Read answer
  • IntegrationMedium

    How do architects manage transaction boundaries and rollback limitations when combining database DML with external callouts?

    Basics: A Salesforce transaction is all-or-nothing for database changes, but an external system's change is outside that transaction. If you save a record…

    Read answer
  • IntegrationMedium

    What architectural advantages does the gRPC-based Pub/Sub API offer over traditional CometD streaming APIs?

    Basics: Streaming APIs push Salesforce events to external systems. The older approach is Streaming API with CometD (Bayeux protocol, HTTP/1.1, JSON). Pub/Sub…

    Read answer
  • IntegrationMedium

    What best practices ensure high code quality and test robustness for Apex integration unit tests?

    Basics: Apex tests cannot make real HTTP callouts. You supply a mock class implementing HttpCalloutMock (or WebServiceMock for SOAP) and register it with…

    Read answer
  • IntegrationMedium

    How can developers implement custom rate limiting and throttling inside Apex REST web service endpoints?

    Basics: Platform API limits (daily API requests, concurrent long-running requests) protect the org globally, but one noisy client can still exhaust them. Rate…

    Read answer
  • IntegrationMedium

    How does Change Data Capture (CDC) differ from custom Platform Events in tracking database modifications?

    Basics: Both are event streams delivered after commit. CDC answers "what changed in the database?" with no code to publish. Platform events answer "something…

    Read answer
  • IntegrationMedium

    What metrics and testing procedures validate the scalability of enterprise integrations under peak load volumes?

    Basics: Integrations fail at peak, not on average days. Load testing simulates peak concurrent traffic to find bottlenecks before production. Salesforce has a…

    Read answer
  • IntegrationMedium

    How do API version deprecation policies govern the retirement lifecycle of legacy Salesforce integration endpoints?

    Basics: Every release adds an API version (for example Spring, Summer and Winter each increment by 1.0). Clients call endpoints with the version in the URL…

    Read answer
  • IntegrationMedium

    What key architectural components define a comprehensive enterprise integration blueprint in Salesforce?

    Basics: A blueprint is the architecture document that stops integrations being built ad hoc. For each interface it answers: what data and process, which…

    Read answer
  • IntegrationMedium

    How does Salesforce Connect OData facilitate seamless cross-org data visibility without data duplication?

    Basics: Normally, sharing data between orgs means ETL, replication and sync jobs, which create latency, storage cost and duplicates. Salesforce Connect…

    Read answer
  • IntegrationMedium

    What governance frameworks and review standards ensure long-term maintainability across enterprise integration portfolios?

    Basics: Without governance, each team builds point-to-point integrations with different auth methods, hard-coded endpoints and no logging. Over years this…

    Read answer
  • AdminMedium

    What security protections do Session Settings provide against unauthorized session hijacking?

    Basics: After login Salesforce issues a session ID stored in a cookie. Anyone who steals it (sniffing, XSS, shared computer) can act as the user without a…

    Read answer
  • AdminMedium

    How does Flow bulkification manage large record collections to prevent governor limit exhaustion?

    Basics: Governor limits are per transaction and shared with Apex: 100 synchronous SOQL queries, 150 DML statements and 10,000 DML rows. A record-triggered…

    Read answer
  • ApexMedium

    Why are SObjects prohibited as parameters in @future methods, and how should developers work around this?

    Basics: A future method is a static void method annotated @future that runs asynchronously in its own transaction, typically to make callouts after DML or to…

    Read answer
  • Sales CloudMedium

    What is Einstein Activity Capture, and how does it automate activity logging for sales teams?

    Basics: Reps forget to log emails and meetings, so CRM activity data is incomplete. EAC reads each connected user's mailbox and calendar through OAuth…

    Read answer
  • Sales CloudMedium

    How do customizable forecast types accommodate complex organizational hierarchy and currency requirements?

    Basics: Collaborative Forecasts show each rep's pipeline and commit rolled up the management chain. Out of the box this is Opportunity Revenue by Close Date…

    Read answer
  • Sales CloudMedium

    How does Account Hierarchy help sales representatives manage complex enterprise customer accounts?

    Basics: Large customers are structured as groups: global parent, regional subsidiaries, local branches. Setting the Parent Account on each record creates a…

    Read answer
  • Sales CloudMedium

    How do campaign influence models measure marketing ROI and touchpoints on opportunities?

    Basics: Marketing needs to know which campaigns contribute to revenue, not just which created the lead. Campaign influence connects campaigns to opportunities…

    Read answer
  • Sales CloudMedium

    What is the difference between standard price books and custom price books in Sales Cloud?

    Basics: Price books list products with prices. The Standard Price Book exists automatically, cannot be deleted, and contains list prices for all products…

    Read answer
  • Sales CloudMedium

    How does Sales Engagement optimize prospecting workflows for inside sales teams?

    Basics: Inside sales reps run high-volume outreach to many leads and contacts. Sales Engagement automates what to do next and when. Admins or sales ops design…

    Read answer
  • Sales CloudMedium

    How do Opportunity Splits function in Sales Cloud, and why are they vital for team-based selling?

    Basics: On large deals multiple people contribute: an account executive, a solutions engineer, a partner manager. Splits record how credit is shared so quota…

    Read answer
  • Sales CloudMedium

    How does Sales Cloud Einstein Lead Scoring leverage artificial intelligence to prioritize leads?

    Basics: Reps with hundreds of leads cannot tell which will convert. Einstein Lead Scoring (part of Sales Cloud Einstein, and now marketed within Einstein 1…

    Read answer
  • LWCMedium

    What role does lightning/uiObjectInfoApi play in fetching object metadata and picklist values?

    Basics: Instead of hard-coding labels or picklist options, an LWC can ask the platform at runtime. getObjectInfo returns the object's labels, fields (with…

    Read answer
  • LWCMedium

    How does CSS styling encapsulation work in LWC, and how can developers override SLDS design tokens?

    Basics: CSS in a component's .css file applies only to that component's template. Parent styles do not reach into a child's shadow tree and your styles do not…

    Read answer
  • ApexMedium

    How can developers architect a robust dead letter queue or retry pattern for permanently failed asynchronous jobs?

    Basics: Salesforce has no built-in dead letter queue for async Apex. If a job fails, the work is simply lost unless you recorded it. A dead letter queue is a…

    Read answer
  • Sales CloudMedium

    How do Sales Processes coordinate with Opportunity Record Types to support multiple product lines?

    Basics: All Opportunity stages live in one master picklist (StageName). A Sales Process is a named subset of those values. A Record Type then points to a…

    Read answer
  • ApexMedium

    How do you optimize SOQL queries against the AsyncApexJob object to avoid performance bottlenecks?

    Basics: AsyncApexJob can hold many rows in busy orgs (every batch chunk, queueable and future creates entries). A query with no filter or filtering on…

    Read answer
  • ApexMedium

    What are the exact depth limits and execution constraints for chaining Queueable Apex jobs?

    Basics: Chaining means a queueable's execute method enqueues another queueable, so work proceeds in sequential steps (fetch, transform, save), each in a fresh…

    Read answer
  • ApexMedium

    How can you pass non-primitive collections into Queueable Apex jobs for processing?

    Basics: Unlike @future, which allows only primitives or collections of primitives, a Queueable is a normal Apex object. Anything serialisable can be a field…

    Read answer
  • ApexMedium

    What strategies should developers implement for robust error handling and logging in Batch Apex?

    Basics: One uncaught exception fails that chunk and rolls it back, but the job continues with later chunks. If you do nothing you only see an email to the…

    Read answer
  • ApexMedium

    What are the best practices for handling parent-child relationships across Batch Apex chunks?

    Basics: A batch chunk knows nothing about other chunks. If a parent's children are split across chunks, or a parent is processed in one transaction and its…

    Read answer
  • Sales CloudMedium

    How do Path and Assistant features enhance user adoption and process guidance in Sales Cloud?

    Basics: Users often forget what to fill in or do at each stage of a sales process. Path sits at the top of a Lead, Opportunity, Case or custom object record…

    Read answer
  • ApexMedium

    Why is implementing Database.allowsCallouts mandatory when making external web service calls in Batch Apex?

    Basics: By default, Batch Apex is not permitted to make callouts to external web services. Salesforce makes you opt in by adding the marker interface…

    Read answer
  • ApexMedium

    How can developers utilize the AsyncApexJob object to monitor and audit asynchronous job execution?

    Basics: When you call Database.executeBatch, System.enqueueJob, or a future method is invoked, Salesforce creates an AsyncApexJob row you can read. Setup has…

    Read answer
  • ApexMedium

    What is the purpose of the Database.Stateful interface in Batch Apex, and when must it be implemented?

    Basics: Batch Apex processes records in chunks (default scope 200, range 1 to 2000), and every chunk is its own transaction. By default the class instance is…

    Read answer
  • ApexMedium

    What advantages does Queueable Apex provide over traditional @future methods in modern Salesforce development?

    Basics: Asynchronous Apex runs work later, in its own transaction with higher limits. @future was the first tool but is restrictive. Queueable Apex is a class…

    Read answer
  • Field ServiceMedium

    What role do mobile custom actions play in streamlining technician workflows?

    Basics: On a work order or appointment a technician repeatedly does the same things: log parts used, capture meter readings, request inventory, collect a…

    Read answer
  • Field ServiceMedium

    What is the purpose of custom color-coding and filtering on the dispatcher console Gantt?

    Basics: The Gantt in the Salesforce Field Service dispatcher console shows resources as rows and appointments as bars on a timeline. With dozens of resources…

    Read answer
  • Field ServiceMedium

    What is the significance of the Service Resource record in field operations?

    Basics: Salesforce Field Service (formerly Field Service Lightning) separates the login (User) from the schedulable worker (ServiceResource). A Service…

    Read answer
  • ApexMedium

    Write a trigger to automatically create a related Contact whenever a new Account is created.

    Basics: A trigger is Apex code that runs automatically before or after a record is inserted, updated, deleted or undeleted. To create a child Contact you need…

    Read answer
  • Field ServiceMedium

    What is Service Resource Efficiency in Field Service and how does it influence scheduling?

    Efficiency is a number on the Service Resource that describes how fast a technician works compared with the standard duration. The scheduling engine uses it…

    Read answer
  • Field ServiceMedium

    Write a SOQL query to find active Service Resources that have no appointments scheduled tomorrow.

    Use an anti-join: select active resources whose Id is not in the set of resources assigned to appointments tomorrow. Why it works The subquery returns the Ids…

    Read answer
  • Field ServiceMedium

    Write Apex that creates a Service Appointment for a Work Order with a 60-minute duration and a scheduling window.

    A Service Appointment is created against a parent record (such as a Work Order) with a scheduling window and duration. Notes ParentRecordId links the…

    Read answer
  • Field ServiceMedium

    Write a SOQL query that lists tomorrow's scheduled Service Appointments with the technician name for each.

    Query from Assigned Resource, which links appointments and technicians, and read the parent fields through relationships. Why this shape One row per…

    Read answer
  • Field ServiceMedium

    What are Field Service Mobile Settings and how do you give different technician groups different mobile configurations?

    Field Service Mobile Settings define how the mobile app behaves, for example offline data, location tracking, notifications and which actions appear…

    Read answer
  • Field ServiceMedium

    How is the duration of a Service Appointment determined, and why does it matter for scheduling?

    Where duration comes from The Work Type holds an estimated duration and duration type (minutes or hours). The Work Order takes that value when it is created…

    Read answer
  • Field ServiceEasy

    What does the Service Resource Availability work rule check?

    Service Resource Availability is the basic work rule that checks whether a resource can actually take the appointment at that time. It considers The…

    Read answer
  • Field ServiceMedium

    What does the Working Territories work rule enforce in scheduling?

    Working Territories restricts a resource to appointments in territories where it has an active Service Territory Member record at that time. Behaviour A…

    Read answer
  • Field ServiceMedium

    What are Status Categories on Service Appointments and why do they matter when adding custom statuses?

    Service Appointment Status is a customisable picklist, but each value maps to a fixed Status Category, such as None, Scheduled, Dispatched, In Progress…

    Read answer
  • Field ServiceEasy

    What is the difference between Earliest Start Permitted, Due Date, Arrival Window and Scheduled Start on a Service Appointment?

    A Service Appointment has several time fields that serve different purposes. Earliest Start Permitted and Due Date: the scheduling window. The engine must…

    Read answer
  • Field ServiceEasy

    Which permission set licenses and permission sets are needed for admins, dispatchers, agents and technicians in Field Service?

    Field Service uses Permission Set Licenses (to unlock features and objects) and permission sets (to grant access). Licenses (typical) Field Service Standard…

    Read answer
  • Field ServiceMedium

    How do you test and tune a new Scheduling Policy before using it in production?

    Approach Use a full or partial copy sandbox with realistic territories, resources, skills and appointments. Record baseline KPIs: utilization, average travel…

    Read answer
  • Field ServiceHard

    What large data volume problems appear in Field Service orgs, and how do you mitigate them?

    Field Service creates large volumes of Work Orders, Service Appointments, Assigned Resources and Product Item Transactions. Mitigations Write selective…

    Read answer
  • Field ServiceHard

    How would you architect Salesforce Field Service for 5,000 technicians across multiple countries?

    Structure Model territories as a hierarchy (country → region → city), with correct Operating Hours and time zones. Use different Scheduling Policies by region…

    Read answer
  • Field ServiceMedium

    A technician calls in sick halfway through the day. How do you handle their remaining appointments?

    Steps Create a Resource Absence for the technician (type such as Medical), so the engine treats the time as unavailable. The Gantt highlights conflicting…

    Read answer
  • Field ServiceHard

    Dispatchers report that the scheduling engine cannot schedule an appointment. How do you troubleshoot it step by step?

    Work through the causes in order of likelihood. Dates: are Earliest Start Permitted and Due Date valid, and not already in the past? Territory: does the…

    Read answer
  • Field ServiceHard

    How would you integrate Salesforce Field Service with an external ERP for work orders, parts and billing?

    Typical flows ERP → Salesforce: customers, assets, products, locations and sometimes work orders. Salesforce → ERP: completed work, parts consumed, time and…

    Read answer
  • Field ServiceMedium

    How can generative AI and Agentforce help Field Service technicians and dispatchers, and what should be considered?

    Salesforce is adding generative AI to Field Service, including work order summaries, mobile work briefings for technicians, and Agentforce actions for service…

    Read answer
  • Field ServiceHard

    How would you design a customer self-service portal where customers book and reschedule field appointments?

    Architecture An Experience Cloud site for customers (Field Service templates are available). A Flow or LWC where the customer picks an appointment. Apex…

    Read answer
  • Field ServiceMedium

    A technician arrives but the customer is not home. How should Cannot Complete be handled so follow-up and reporting work well?

    Cannot Complete is a Service Appointment status used when the visit happened or was attempted, but the work was not finished. Typical reasons: customer not…

    Read answer
  • Field ServiceMedium

    How does GPS location tracking of technicians work in Field Service, and what is it used for?

    When location tracking is enabled and the technician has granted permission, the mobile app periodically updates the Service Resource's Last Known Location…

    Read answer
  • Field ServiceHard

    How can an LWC in the Field Service mobile app use device features such as the barcode scanner?

    Use the Lightning Mobile Capabilities module, lightning/mobileCapabilities, inside an LWC. It exposes native features such as the barcode scanner, location…

    Read answer
  • Field ServiceMedium

    What is the Products Required object in Field Service, and how does it differ from Products Consumed?

    Products Required (the ProductRequired object) lists the parts that a job is expected to need. It can be linked to a Work Type, Work Order or Work Order Line…

    Read answer
  • Field ServiceHard

    How would you design an automated van stock replenishment process in Salesforce Field Service?

    Data model Locations of type Warehouse and Van (one per technician vehicle). Product Items hold the quantity on hand of each product at each location. A…

    Read answer
  • Field ServiceMedium

    What are Product Item Transactions and how do they give an audit trail for inventory in Field Service?

    A Product Item Transaction (PIT) is an automatic record created whenever the quantity of a Product Item changes. Typical triggers Product consumed on a Work…

    Read answer
  • Field ServiceMedium

    What are Return Orders in Field Service inventory, and how do they differ from Product Transfers?

    A Return Order moves parts back, for example unused stock returned from a van to the warehouse, or a defective part sent to the supplier (RMA). Objects Return…

    Read answer
  • Field ServiceEasy

    How are expenses tracked and approved in Salesforce Field Service?

    Field Service tracks costs a technician incurs on a job with Expense records, which can be grouped into an Expense Report. Typical flow The technician logs an…

    Read answer
  • Field ServiceEasy

    How do Time Sheets and Time Sheet Entries work in Field Service?

    Time tracking uses two objects. Time Sheet: a period record for one Service Resource, such as a week. Time Sheet Entry: a block of time inside it, linked to a…

    Read answer
  • Field ServiceMedium

    What are Optimization Requests and Optimization Insights, and how do they help troubleshoot Resource Schedule Optimization?

    Each time Resource Schedule Optimization (RSO) runs, an Optimization Request record is created. It stores the type of run, its status, timing and the scope…

    Read answer
  • Field ServiceMedium

    How do you deploy Scheduling Policies, Work Rules and Service Objectives between Salesforce orgs?

    In the Field Service managed package, Scheduling Policies, Work Rules and Service Objectives are records (data), not metadata. They do not travel in change…

    Read answer
  • Field ServiceMedium

    How do time zones affect scheduling in Field Service, and what configuration mistakes cause wrong slots?

    Time zone is defined on Operating Hours and used with Service Territories, so availability is calculated in the territory's local time. Common mistakes…

    Read answer
  • Field ServiceHard

    What are Capacity-Based Service Resources and when are they used?

    A capacity-based resource is a Service Resource that is scheduled by how much work it can take in a period, not by exact time slots. Setup Mark the resource…

    Read answer
  • Field ServiceEasy

    What is a Pinned Service Appointment and what are the trade-offs of using it?

    The Pinned checkbox locks a Service Appointment to its current resource and time. Automatic scheduling features, including optimization and Reshuffle, will…

    Read answer
  • Field ServiceMedium

    What does the In Jeopardy flag on a Service Appointment mean and how should it be handled?

    The In Jeopardy flag marks an appointment that is already scheduled but now violates a work rule. An In Jeopardy Reason explains why. Typical causes A…

    Read answer
  • Field ServiceMedium

    What is the difference between Get Slots and Get Candidates in Salesforce Field Service?

    Both use the Scheduling Policy, but they answer different questions. Get Candidates Returns a ranked list of resources who could do a given appointment, with…

    Read answer
  • Field ServiceMedium

    What is Reshuffle in Field Service scheduling, and how does it differ from regular optimization?

    Reshuffle makes room for an important appointment that could not be scheduled. How it works It identifies lower-priority appointments that can be moved…

    Read answer
  • Field ServiceMedium

    What does Fill-In Schedule do in Field Service, and when would a dispatcher run it?

    Fill-In Schedule looks for gaps in technicians' schedules and places unscheduled appointments into them. Key points It only adds appointments. Existing…

    Read answer
  • Field ServiceMedium

    How does the ASAP service objective work, and how do objective weights influence scheduling?

    Service objectives are soft goals. Work rules decide who is allowed, and objectives decide who is best. ASAP Scores slots higher when they are earlier within…

    Read answer
  • Field ServiceEasy

    What does the Max Travel From Home work rule do?

    Max Travel From Home limits how far a technician can be sent from their home base, which comes from the Service Territory Member address. You configure a…

    Read answer
  • Field ServiceMedium

    What is the Extended Match work rule and when would you use it?

    Extended Match is a work rule that compares a field on the Service Appointment (or its related record) with a field on the Service Resource. The resource is…

    Read answer
  • Field ServiceMedium

    How do Preferred, Excluded and Required resources work, and which scheduling policy items enforce them?

    A Resource Preference record connects an Account, Work Order or other record to a Service Resource with a preference type. Required: only this resource may be…

    Read answer
  • Field ServiceMedium

    Explain Primary, Secondary and Relocation Service Territory Members and when each is used.

    A Service Territory Member links a Service Resource to a Service Territory. The membership type changes how the resource is used. Primary: the resource's main…

    Read answer
  • Field ServiceEasy

    What are the Service Resource types in Field Service (Technician, Dispatcher, Crew) and how do they differ?

    Every person or group in Field Service is stored as a Service Resource, and the Resource Type controls how it is used. Technician: a field worker linked to a…

    Read answer
  • Field ServiceMedium

    How do Maintenance Plans decide when to generate Work Orders? Explain frequency, generation timeframe and maintenance windows.

    A Maintenance Plan defines recurring preventive work for one or more Assets (Maintenance Assets). Key settings Frequency and Frequency Type: how often work is…

    Read answer
  • Field ServiceMedium

    How are Warranty Terms and Asset Warranties used in Salesforce Field Service?

    Warranty management lets you decide whether a repair is covered or billable. Warranty Term is the reusable definition of coverage: duration, coverage type and…

    Read answer
  • Field ServiceMedium

    How do Service Contracts and Entitlements work in Field Service, and how do they affect Work Orders?

    Service Contract is the agreement with the customer. Contract Line Items list the covered assets or products, and Entitlements define the support terms, such…

    Read answer
  • Field ServiceMedium

    What is Lightning Scheduler and how does it differ from Salesforce Field Service?

    Both products schedule appointments, but they solve different problems. Lightning Scheduler Customer-facing appointments with employees, for example a bank…

    Read answer
  • Field ServiceMedium

    What are Work Plans, Work Steps and Work Step Templates, and how do they standardize technician procedures?

    Work Plans group ordered Work Steps that tell a technician exactly what to do on a Work Order or WOLI, such as safety check, diagnose, repair and verify…

    Read answer
  • Field ServiceMedium

    What are parent and child Work Orders (Work Order hierarchy), and when would you use them instead of Work Order Line Items?

    A Work Order can point to a parent through ParentWorkOrderId, which builds a hierarchy. Use parent/child Work Orders when The job has separate phases, for…

    Read answer
  • Field ServiceMedium

    How do Work Orders and Cases relate in Salesforce Field Service, and when should you create a Work Order instead of just working the Case?

    A Case records the customer's problem (symptoms, entitlement, SLA, communication). A Work Order records the physical work needed to fix it: where, what, which…

    Read answer
  • AdministrationHard

    What best practices govern effective Release Readiness management across seasonal Salesforce platform upgrades?

    Release Readiness strategies involve reviewing upcoming seasonal release notes, testing new features in sandbox preview environments, and updating…

    AccentureSalesforceSlalomRead answer
  • AdministrationEasy

    How does the Mass Delete tool streamline the removal of outdated data records from an organization?

    Mass Delete records administrative tool enables authorized users to delete batches of accounts, contacts, leads, and custom object records based on filter…

    PwCInfosysIBMRead answer
  • AdministrationMedium

    How do weekly data export services assist administrators in executing regular backup and compliance routines?

    Data Export scheduled services allow administrators to generate and download weekly or monthly comma-separated value (CSV) archives of all organization data…

    SalesforceDeloitte DigitalCognizantRead answer
  • AdministrationMedium

    How does the Translation Workbench manage localized user interface labels for multinational deployments?

    Translation Workbench enables administrators to translate custom field labels, picklist values, and validation messages into multiple localized languages for…

    PwCAccentureWiproRead answer
  • AdministrationMedium

    How does Multi-Currency management handle global exchange rates and foreign currency roll-ups?

    Multi-Currency enablement allows organizations to track opportunities, quotes, and products in multiple foreign currencies using configurable corporate…

    DeloitteCapgeminiSlalomRead answer
  • AdministrationEasy

    Why is configuring My Domain a mandatory prerequisite for enabling Single Sign-On and Lightning features?

    My Domain allows organizations to customize their Salesforce login URL with corporate branding, enforce single sign-on authentication policies, and unlock…

    SalesforceIBMInfosysRead answer
  • AdministrationEasy

    How do Login Access Policies facilitate secure administrative troubleshooting with Salesforce support?

    Login Access Policies allow administrators to grant secure, temporary login access to Salesforce support or partner representatives to troubleshoot…

    AccenturePwCDeloitte DigitalRead answer
  • AdministrationMedium

    What is the operational distinction between Salesforce Data Storage limits and File Storage limits?

    Data storage capacity limits govern the total megabytes occupied by object record rows, while file storage limits govern document attachments, files, content…

    SalesforceSlalomWiproRead answer
  • AdministrationMedium

    How do administrators configure and interpret Debug Logs to diagnose declarative flow and automation errors?

    Debug Logs capture granular transaction execution steps, database queries, and error stacks for specific users or automated processes, helping administrators…

    DeloitteCapgeminiCognizantRead answer
  • AdministrationEasy

    How does the Setup Audit Trail provide forensic accountability for administrative changes in Salesforce?

    Setup Audit Trail records every administrative configuration change made within an organization over the last 180 days, displaying timestamps, user names, and…

    PwCInfosysIBMRead answer
  • AdministrationMedium

    How do custom Fiscal Year configurations impact sales forecasting and pipeline revenue reporting?

    Fiscal Year settings allow administrators to configure standard or custom fiscal calendars, aligning revenue reporting and sales forecasting periods with…

    SalesforceAccentureDeloitte DigitalRead answer
  • AdministrationEasy

    How do Business Hours and Holidays govern SLA calculation accuracy for Service Cloud entitlements?

    Business Hours and Holidays configure the operating schedule of support teams, ensuring accurate calculation of service level agreements, milestones, and case…

    PwCSlalomDeloitteRead answer
  • AdministrationEasy

    What critical organizational parameters and storage metrics are managed within Company Information?

    Company Information settings manage core organization properties including organization ID, default currency, fiscal year start months, language settings, and…

    AccentureCapgeminiWiproRead answer
  • AdministrationMedium

    When should administrators select Custom Settings over Custom Objects or Custom Metadata Types?

    Custom Settings store lightweight, reusable application configuration data in memory caches across transactions, providing fast data retrieval for validation…

    SalesforceInfosysIBMRead answer
  • AdministrationHard

    How do Custom Metadata Types differ from Custom Objects regarding metadata deployment and configuration storage?

    Custom Metadata Types allow administrators to build custom configuration records whose structure and data can be deployed via metadata packages, supporting…

    PwCDeloitte DigitalCognizantRead answer
  • AdministrationHard

    What are the key structural and licensing benefits of deploying Managed Packages from the AppExchange?

    Managed Packages are secure, locked application bundles created by ISV partners that contain proprietary intellectual property and allow seamless upgrades…

    SalesforceAccentureSlalomRead answer
  • AdministrationMedium

    How do Change Sets facilitate declarative metadata deployments between connected Salesforce environments?

    Outbound and Inbound Change Sets allow administrators to securely migrate metadata configurations between related Salesforce environments (such as sandboxes…

    DeloitteCapgeminiWiproRead answer
  • AdministrationHard

    When must organizations utilize Full Sandboxes for comprehensive enterprise release verification?

    Full Sandboxes duplicate the complete production metadata configuration and 100% of production data records, serving as the ultimate environment for load…

    PwCIBMInfosysRead answer
  • AdministrationMedium

    What data storage limits and testing advantages do Partial Copy Sandboxes offer administrators?

    Partial Copy Sandboxes replicate complete metadata configuration along with a sample subset of production data, making them ideal for user acceptance testing…

    AccentureSalesforceDeloitte DigitalRead answer
  • AdministrationEasy

    What is the intended use case and data scope of a standard Developer Sandbox?

    Developer Sandboxes provide isolated environments containing metadata configuration only, designed for developer unit testing and building custom declarative…

    SalesforceSlalomCapgeminiRead answer
  • AdministrationMedium

    How do Dynamic Forms improve page layout flexibility and conditional field visibility in Lightning Experience?

    Dynamic Forms allow administrators to place individual field components anywhere on a Lightning record page layout independently of page layout editor…

    PwCDeloitteCognizantRead answer
  • AdministrationEasy

    What capabilities does the Lightning App Builder provide for customizing record pages declaratively?

    Lightning App Builder empowers administrators to construct custom, responsive record pages and application layouts using drag-and-drop components without…

    AccentureInfosysWiproRead answer
  • AdministrationHard

    How does Enterprise Territory Management automate account assignments and sales team alignment?

    Enterprise Territory Management enables administrators to structure sales territories hierarchically based on account attributes, automatically assigning…

    Deloitte DigitalSalesforceIBMRead answer
  • AdministrationMedium

    How do Products and Price Books organize complex pricing catalogs and multi-currency sales operations?

    Products and Price Books allow administrators to maintain a standardized catalog of sellable items with multi-currency pricing, discount schedules, and…

    PwCCapgeminiSlalomRead answer
  • AdministrationEasy

    How do Opportunity Stages and forecast categories structure revenue pipelines in Sales Cloud?

    Opportunity stages define the progressive milestones of a sales pipeline, mapping directly to revenue forecasting categories, probability percentages, and…

    SalesforceAccentureDeloitteRead answer
  • Sales CloudHard

    How does Salesforce CPQ (Configure, Price, Quote) integrate with Sales Cloud opportunities, products and pricebooks to streamline quoting?

    Salesforce CPQ (Configure, Price, Quote) is a managed package (namespace SBQQ) that sits on top of Sales Cloud. It makes quoting faster, more accurate and…

    PwCCapgeminiSlalomRead answer
  • Sales CloudMedium

    How do Opportunity Contact Roles streamline quote creation and document generation in Salesforce Sales Cloud?

    Opportunity Contact Roles link people (contacts) to a deal and describe what part each plays: Decision Maker, Economic Buyer, Influencer, Technical Evaluator…

    SalesforceDeloitte DigitalCognizantRead answer
  • Sales CloudMedium

    How do standard Quotes integrate with Opportunities in Salesforce Sales Cloud to support quote-to-cash workflows (syncing, line items and orders)?

    In Sales Cloud, the standard Quote object connects an opportunity to a priced, shareable offer, and it feeds the quote-to-cash process: opportunity \u2192…

    SalesforceInfosysIBMRead answer
  • Sales CloudHard

    What is Enterprise Territory Management in Salesforce Sales Cloud, and how do territory models and assignment rules automate account assignments?

    Enterprise Territory Management (ETM) is Salesforce's feature for organising accounts into territories, usually by geography, industry, account size or…

    PwCDeloitte DigitalCognizantRead answer
  • Sales CloudMedium

    What are the core capabilities of Collaborative Forecasts in Salesforce Sales Cloud (forecast types, categories, hierarchy, adjustments and quotas)?

    Collaborative Forecasts let sales teams predict revenue, roll the numbers up through a hierarchy, and adjust them together, all inside Salesforce. Core…

    PwCIBMInfosysRead answer
  • Sales CloudEasy

    What role do opportunity stages and forecast categories play in Salesforce Sales Cloud pipeline management and forecasting?

    Opportunity stages describe where a deal is in the sales process. Forecast categories describe how confident the company is that the deal will close, and they…

    PwCCapgeminiSlalomRead answer
  • Field ServiceMedium

    How are Custom Metadata Types used in advanced Salesforce Field Service implementations, and why are they better than hardcoding values?

    Custom Metadata Types store configuration as deployable metadata, so behaviour can change without code edits. Why they suit Field Service Scheduling Policies…

    SalesforceSlalomWiproRead answer
  • Field ServiceMedium

    How does Salesforce Field Service support a hybrid workforce of internal technicians and external contractors (scheduling, capacity and security)?

    A hybrid workforce mixes employees with external contractors. Field Service handles both as Service Resources, with differences in how they are scheduled…

    Deloitte DigitalAccenturePwCRead answer
  • Field ServiceHard

    What are multi-day activities and when should an architect configure them?

    Architectural Overview & Core Concepts Multi-Day Activities in Salesforce Field Service allow a single Service Appointment to span across multiple days or…

    PwCSlalomSalesforceRead answer
  • Field ServiceMedium

    How do you secure record visibility for external contractor technicians in Salesforce Field Service using sharing, permission sets and territories?

    External contractors should see only the records they need, so security is built on least privilege. Approach Set organization-wide defaults for Work Order…

    AccentureCognizantDeloitteRead answer
  • Field ServiceHard

    How does emergency dispatching work in Salesforce Field Service, and how does it affect technicians' existing daily schedules?

    Emergency dispatching is the process of finding the best technician for an urgent job right now, even if that means disrupting a planned day. How it works The…

    SalesforceDeloitte DigitalPwCRead answer
  • Field ServiceMedium

    How would you build a Flow that escalates overdue or at-risk Service Appointments in Salesforce Field Service?

    An escalation Flow finds appointments that are late or about to be late, and makes sure someone acts. Option 1: record-triggered Flow with a scheduled path…

    CapgeminiInfosysWiproRead answer
  • Field ServiceHard

    What are work dependencies (time dependencies) in Salesforce Field Service, and how do they enforce the order of related appointments?

    Work dependencies (time dependencies) tie two appointments together so they happen in a required order or at a required time. The scheduling engine respects…

    PwCSlalomIBMRead answer
  • Field ServiceMedium

    How do permission sets, custom permissions and sharing control who can use Dispatcher Console tools in Salesforce Field Service?

    Access to the Dispatcher Console is controlled by licenses and permission sets, not by profile alone. Layers Permission Set Licenses (for example Field…

    SalesforceAccentureDeloitteRead answer
  • Field ServiceEasy

    How does Asset tracking connect to Work Orders in Salesforce Field Service to give maintenance history, and how do you query repeat failures?

    Work Orders are linked to Assets, so every visit becomes part of that equipment's history. How it works The Work Order has an Asset lookup (and Work Order…

    DeloittePwCWiproRead answer
  • Field ServiceMedium

    How does data priming prepare the Salesforce Field Service mobile app for offline use, and how do you keep it fast and reliable?

    Data priming is the step where the mobile app downloads the records a technician needs and stores them on the device. Offline work is only possible for data…

    CapgeminiDeloitte DigitalIBMRead answer
  • Field ServiceMedium

    What collaboration tools and notifications connect dispatchers and field technicians in Salesforce Field Service?

    Good collaboration keeps dispatchers and technicians in sync during the day. Tools Chatter on Service Appointments and Work Orders: a shared conversation…

    SalesforceDeloitteSlalomRead answer
  • Field ServiceHard

    Explain how the Salesforce Field Service scheduling engine works internally, from work rule filtering to service objective scoring and booking.

    The scheduling engine works in stages. Hard constraints decide who is allowed, and soft goals decide who is best. Candidate selection (work rules) For a…

    SalesforceSlalomPwCRead answer
  • Field ServiceEasy

    How do Work Types improve efficiency and scheduling accuracy in Salesforce Field Service?

    A Work Type is a reusable template for a kind of job, such as "Boiler Installation" or "Annual Inspection". Defining it once makes every job of that type…

    CapgeminiInfosysIBMRead answer
  • Field ServiceMedium

    How do Product Consumed records keep van inventory accurate in real time in Salesforce Field Service?

    A Product Consumed record states that a technician used some quantity of a part on a Work Order or Work Order Line Item. It links the Product Item (stock at a…

    SalesforceAccentureSlalomRead answer
  • Field ServiceMedium

    How does Salesforce Field Service calculate travel time between jobs, and how do you handle technicians who do not drive (transit, bike, walking)?

    Salesforce Field Service estimates driving-style travel between jobs. It does not plan public transit routes natively. What it supports Default estimate…

    CapgeminiInfosysWiproRead answer
  • Field ServiceMedium

    How does Appointment Assistant improve the customer experience before and during a Salesforce Field Service visit?

    Appointment Assistant improves the customer experience around the visit, so the customer is informed instead of waiting and calling. During the service…

    SalesforceAccentureDeloitteRead answer
  • Field ServiceEasy

    What business value do Service Report Templates provide in the Field Service mobile workflow (proof of work, billing and compliance)?

    A signed Service Report turns the visit into a clear record that both the customer and the company can trust. Business value Proof of work: a PDF with details…

    SalesforceSlalomPwCRead answer
  • Field ServiceEasy

    How do Time Slots and Operating Hours help Salesforce Field Service meet customer SLAs and arrival window promises?

    Time Slots are the bookable windows defined inside Operating Hours, such as Monday 08:00 to 12:00 and 12:00 to 17:00. They shape what customers can book, and…

    CapgeminiInfosysIBMRead answer
  • Field ServiceEasy

    How does the Field Service scheduling engine and optimization respect Resource Absences, and what happens to appointments already scheduled in that period?

    The automated engine treats a Resource Absence as a hard block, and it does so in every scheduling feature. Where it applies Scheduling and Get Candidates/Get…

    SalesforceSlalomIBMRead answer
  • Field ServiceHard

    What architectural limitations of the legacy Field Service scheduling engine does Enhanced Scheduling and Optimization (often called EFS) resolve in enterprise deployments?

    The name "Enhanced Field Service (EFS)" is used informally in some material. The feature Salesforce documents for a newer scheduling approach is Enhanced…

    SalesforceDeloitte DigitalPwCRead answer
  • Field ServiceMedium

    How do Maintenance Plans help a company move from reactive to proactive field service, and what business benefits and KPIs result?

    Maintenance plans move a business from fixing things after they break (reactive) to servicing them before they fail (proactive). What changes Planned, not…

    CapgeminiInfosysIBMRead answer
  • Field ServiceMedium

    How does the Service Appointment status lifecycle (Scheduled, Dispatched, In Progress, Completed) affect scheduling and automation in Field Service?

    The Service Appointment status shows where a visit is in its life, and both the scheduling engine and automations react to it. Status categories (typical…

    SalesforceAccentureSlalomRead answer
  • Field ServiceMedium

    How does offline data synchronization work under the hood in the Salesforce Field Service mobile app, including the upload queue and sync errors?

    The mobile app works from a local database on the device, so technicians can keep working with no signal. Mechanism Priming: at login (and periodically) the…

    CapgeminiInfosysDeloitteRead answer
  • Field ServiceEasy

    What are the core features and daily use cases of the Dispatcher Console in Salesforce Field Service?

    The Dispatcher Console is the dispatcher's control centre for planning and managing the day. Core features Gantt chart: a timeline of each resource's…

    SalesforceSlalomPwCRead answer
  • Field ServiceEasy

    How does the Match Skills work rule function during automated appointment scheduling in Salesforce Field Service?

    The Match Skills work rule makes sure an appointment is only given to a technician who has every skill the job needs, at the right level. How the check works…

    Deloitte DigitalPwCAccentureRead answer
  • Field ServiceMedium

    When should you utilize Work Order Line Items (WOLIs) instead of a single Work Order?

    Architectural Overview & Core Concepts Work Order Line Items (WOLIs) break down a complex parent Work Order into distinct sub-tasks, parts, or service…

    Deloitte DigitalPwCAccentureRead answer
  • Field ServiceEasy

    What is the role of Time Slots in customer scheduling?

    Architectural Overview & Core Concepts Time Slots in Salesforce Field Service define specific windows of time when a customer is available to receive a…

    CapgeminiInfosysIBMRead answer
  • Field ServiceHard

    What is Enhanced Field Service (EFS) and what architectural advantages does it offer?

    Architectural Overview & Core Concepts Enhanced Field Service (EFS) is an upgraded architectural framework in Salesforce Field Service that shifts critical…

    SalesforceDeloitte DigitalPwCRead answer
  • Field ServiceEasy

    How are Service Report Templates utilized in the Field Service mobile app?

    Architectural Overview & Core Concepts Service Report Templates in Salesforce Field Service generate professional, branded PDF documents summarizing the work…

    SalesforceSlalomPwCRead answer
  • Field ServiceMedium

    What is Appointment Assistant and what business benefits does it deliver?

    Architectural Overview & Core Concepts Appointment Assistant is an advanced Salesforce Field Service feature that enhances customer experience during service…

    SalesforceAccentureDeloitteRead answer
  • Field ServiceMedium

    What are Service Crews in Salesforce Field Service, and when should you implement them instead of individual resources?

    A Service Crew is a group of technicians that is scheduled as one unit for jobs that need several people with different skills. Structure A Service Resource…

    AccentureDeloitteCognizantRead answer
  • Field ServiceEasy

    How do Resource Absences (vacation, training, breaks) affect technician scheduling in Salesforce Field Service?

    A Resource Absence records time when a technician is not available to work, so the schedule stays realistic. Fields and types Resource, Start and End, and a…

    SalesforceSlalomIBMRead answer
  • Field ServiceMedium

    What is the difference between Product Transfers and Product Consumed in Salesforce Field Service inventory management?

    Both change inventory, but for different reasons. Product Transfer Product Consumed --------- Meaning Stock moves between locations Stock is used on a job…

    AccentureInfosysWiproRead answer
  • Field ServiceMedium

    How do Maintenance Plans automate preventative maintenance in Field Service?

    Architectural Overview & Core Concepts Maintenance Plans in Salesforce Field Service (SFS) transition organizations from reactive break-fix operations to…

    CapgeminiInfosysIBMRead answer
  • Field ServiceHard

    What is Resource Schedule Optimization (RSO) and how does it differ from manual scheduling?

    Architectural Overview & Core Concepts Resource Schedule Optimization (RSO) is an automated, cloud-based scheduling engine that continuously analyzes…

    AccentureDeloitte DigitalPwCRead answer
  • Field ServiceHard

    Explain the difference between Global Optimization and In-Day Optimization in SFS.

    Architectural Overview & Core Concepts Global Optimization and In-Day Optimization serve distinct phases of dispatch operations. Global Optimization runs…

    PwCSlalomSalesforceRead answer
  • Field ServiceMedium

    Why are Field Service Mobile Flows essential for offline execution compared to Apex triggers?

    Architectural Overview & Core Concepts Field Service Mobile Flows bridge the gap between offline technician execution and enterprise automation. Unlike…

    DeloitteCapgeminiPwCRead answer
  • Field ServiceMedium

    What are Briefcase Rules in Salesforce Field Service, and how do they control what technicians can access offline?

    Briefcase Rules decide which records are downloaded to a technician's device for offline use. How they work A rule names an object, optional filters, an…

    CapgeminiInfosysDeloitteRead answer
  • Field ServiceMedium

    What is a Product Consumed record in Salesforce Field Service, and how does it affect inventory tracking and billing?

    A Product Consumed record says that a technician used a quantity of a part on a Work Order or Work Order Line Item. Fields that matter Product Item: the stock…

    SalesforceAccentureSlalomRead answer
  • Field ServiceHard

    How do you model labor laws, union rules and mandatory technician breaks in Salesforce Field Service scheduling?

    Field Service has no single "labour law" switch. Compliance is built from several settings that you combine, and then checked with reports. Building blocks…

    SalesforceDeloitte DigitalPwCRead answer
  • Field ServiceMedium

    What are Required Resources in Salesforce Field Service, and how do they influence scheduling?

    A Required Resource is a technician a customer or job must be served by. It is set with a Resource Preference record of type Required, and the Required…

    SalesforceSlalomIBMRead answer
  • Field ServiceMedium

    How does Salesforce Field Service calculate travel time and routing between appointments, and what settings affect accuracy?

    Travel time is calculated between consecutive appointments and from the technician's home base, so schedules stay realistic. Inputs Geocoded addresses…

    CapgeminiInfosysWiproRead answer
  • Field ServiceMedium

    What is Appointment Assistant in Salesforce Field Service, and what business value does it provide?

    Appointment Assistant is a customer-facing part of Field Service that keeps the customer informed about their service visit, and lets them make simple…

    SalesforceAccentureDeloitteRead answer
  • Field ServiceEasy

    What are Service Report Templates in Salesforce Field Service, and how do technicians use them in the mobile app?

    A Service Report Template defines the layout of the PDF that a technician generates at the end of a job, and that the customer can sign. What a template…

    SalesforceSlalomPwCRead answer
  • Field ServiceEasy

    How do Time Slots inside Operating Hours work when customers book Field Service appointments, and how do you create them in Apex?

    Time Slots define when a territory is open for work. They are the building blocks of Operating Hours. Structure Operating Hours: a named calendar with a time…

    CapgeminiInfosysIBMRead answer
  • Field ServiceHard

    How can developers call the Salesforce Field Service scheduling engine from Apex (FSL.ScheduleService), and what should they watch out for?

    The Field Service managed package (namespace FSL) exposes global Apex classes to schedule and book appointments from code. Common APIs…

    SalesforceAccentureSlalomRead answer
  • Field ServiceHard

    What is Enhanced Field Service (EFS), also described as Enhanced Scheduling and Optimization, and what architectural benefits does it provide?

    "Enhanced Field Service (EFS)" is an informal name, so first check what your source means. The newer approach Salesforce documents for scheduling is Enhanced…

    SalesforceDeloitte DigitalPwCRead answer
  • Field ServiceEasy

    What is a Resource Absence in Salesforce Field Service, and how does it affect scheduling and existing appointments?

    A Resource Absence is a period when a Service Resource is not available for work, such as vacation, sickness, training, a meeting or a break. Key fields…

    SalesforceSlalomIBMRead answer
  • Field ServiceEasy

    How do Skills, Service Resource Skills and Skill Requirements work together when Salesforce Field Service schedules an appointment?

    Skills make sure a job is only given to someone qualified to do it. Objects Skill: a setup record such as "HVAC Certified". Service Resource Skill: links a…

    Deloitte DigitalPwCAccentureRead answer
  • Field ServiceMedium

    Service Crews vs multiple Service Appointments: when would you use a Service Crew in Salesforce Field Service?

    Service Crews are one of two ways to send several technicians to one job. The other is to create separate appointments for individual resources and link them…

    AccentureDeloitteCognizantRead answer
  • Field ServiceEasy

    What is the Dispatcher Console in Salesforce Field Service, and what are its primary features (Gantt, appointment list, map, scheduling actions)?

    The Dispatcher Console is the main workspace for dispatchers. It combines scheduling, monitoring and dispatch tools on one screen. Primary features Gantt…

    SalesforceSlalomPwCRead answer
  • Field ServiceHard

    Explain how Inventory Management and Product Transfers work in Salesforce Field Service.

    Architectural Overview & Core Concepts Inventory Management in Salesforce Field Service tracks physical spare parts and equipment across warehouses, mobile…

    Deloitte DigitalPwCAccentureRead answer
  • Field ServiceMedium

    How do Maintenance Plans in Salesforce Field Service generate preventive maintenance Work Orders for assets?

    Maintenance Plans automate recurring preventive visits for assets, so work is planned before equipment fails. Setup A Maintenance Plan defines the start date…

    CapgeminiInfosysIBMRead answer
  • Field ServiceMedium

    What are the key performance metrics (KPIs) tracked in Salesforce Field Service to measure operational success?

    KPIs show whether the field operation is efficient, reliable and profitable. The most common ones are: KPI What it tells you ------ First-Time Fix Rate Share…

    Deloitte DigitalPwCAccentureRead answer
  • Field ServiceMedium

    How do you build and deploy a custom LWC for the Salesforce Field Service mobile app so it works offline?

    Custom LWCs can run inside the Field Service mobile app as quick actions or on record pages. Build steps Create the LWC and expose it for the right target in…

    AccentureCognizantTech MahindraRead answer
  • Field ServiceMedium

    What are the best practices for Apex triggers on Salesforce Field Service objects (Service Appointment, Work Order) so they do not break scheduling or mobile sync?

    Triggers on Field Service objects, such as Service Appointment, Work Order and Assigned Resource, run alongside the scheduling engine and mobile sync. Poorly…

    AccentureDeloitte DigitalPwCRead answer
  • Field ServiceEasy

    How does offline data sync work in the Salesforce Field Service mobile app, and what are common sync problems?

    Offline sync lets technicians keep working without signal and sends their changes to Salesforce when the connection returns. In simple steps Download: when…

    CapgeminiInfosysDeloitteRead answer
  • Field ServiceEasy

    Explain the Salesforce Field Service data model and how Work Type, Work Order, Service Appointment, Assigned Resource and Service Resource relate to each other.

    The core of Field Service is a chain of objects from the customer request to the person doing the work. Relationships Work Type: a template with estimated…

    AccentureDeloittePwCRead answer
  • DevelopmentEasy

    What is reactivity in LWC and when does a field trigger a re-render?

    A component re-renders when a reactive field used in the template changes. Since Spring '20, all class fields are reactive, but only on reassignment…

    Read answer
  • LwcMedium

    How do you handle errors when calling Apex from LWC and display them to the user?

    Server side: throw an AuraHandledException so the client gets a clean message. Client side: the error object has shape error.body.message (or error.body as an…

    Read answer
  • DevelopmentMedium

    What are the best practices to improve LWC performance?

    Prefer Lightning Data Service and cacheable @wire calls to avoid redundant server trips. Fetch only needed fields and records; paginate large lists. Use…

    Read answer
  • DevelopmentMedium

    How do you unit test an LWC with Jest?

    Use the @salesforce/sfdx-lwc-jest package; tests live in a tests folder next to the component. Mock Apex with jest.mock('@salesforce/apex/...', ..., {…

    Read answer
  • LwcMedium

    What is Lightning Web Security (LWS) and how does it differ from Locker Service?

    Both isolate components from each other for security, but they work differently. Locker Service wraps objects in secure proxies (SecureElement, SecureWindow)…

    Read answer
  • DevelopmentMedium

    How do you use a third-party JavaScript library or static resource in LWC?

    Upload the library as a Static Resource (e.g. chartjs). Import the resource and loaders: loadScript/loadStyle return promises; load once, guard with a flag…

    Read answer
  • DevelopmentMedium

    Why can renderedCallback run multiple times and how do you prevent repeated execution?

    renderedCallback fires after every render, and any change to a reactive property used in the template triggers a re-render. Also, it runs for each component…

    Read answer
  • LwcMedium

    How do you make an LWC available in Lightning App Builder, Record pages or Experience Builder, and expose configurable properties?

    Configure the component's js-meta.xml: Set isExposed to true, list targets, and declare each admin-configurable property in targetConfigs; the JS must expose…

    Read answer
  • DevelopmentEasy

    How do you show a toast message in LWC?

    Import ShowToastEvent and dispatch it: Toasts work in Lightning Experience and the Salesforce mobile app, and in Experience Cloud sites that support them.

    Read answer
  • DevelopmentEasy

    How do you navigate to a record page or another page from an LWC?

    Use NavigationMixin from lightning/navigation: Common type values: standardrecordPage, standardobjectPage, standardwebPage, standardnavItemPage, commnamedPage…

    Read answer
  • LwcEasy

    How do you do conditional rendering and list iteration in LWC templates?

    Conditional rendering (The older if:true / if:false directives still work but lwc:if, lwc:elseif, lwc:else are the current recommendation.) Iteration Also…

    Read answer
  • DevelopmentMedium

    What is Shadow DOM in LWC and how do you query elements inside a component?

    Shadow DOM encapsulates a component's markup and CSS so outside code and styles can't accidentally affect it. Salesforce uses synthetic shadow (a polyfill) in…

    Read answer
  • DevelopmentEasy

    What are slots in LWC and what is the difference between default and named slots?

    Slots let a parent pass markup into a child's template, making components reusable containers. Child: Parent: Default (unnamed) slot receives all content…

    Read answer
  • LwcMedium

    How do you fetch a record's fields in LWC without writing Apex?

    Use Lightning Data Service wire adapters from lightning/uiRecordApi: Importing fields via @salesforce/schema gives compile-time validation and handles…

    Read answer
  • DevelopmentEasy

    What is the difference between lightning-record-form, lightning-record-edit-form and lightning-record-view-form?

    All use Lightning Data Service, so no Apex is needed and FLS/sharing are respected. lightning-record-form – quickest option; auto-generates a full form (view…

    Read answer
  • DevelopmentMedium

    What is refreshApex and how do you use it in an LWC?

    refreshApex (from @salesforce/apex) forces a wired Apex method to re-fetch data and update the cache, so the UI shows fresh results after a change. You must…

    Read answer
  • LwcMedium

    Why must an Apex method be cacheable=true to be used with @wire, and what are the restrictions?

    @wire may call the method many times (reactive re-provisioning), so Salesforce requires it to be side-effect free and caches the result on the client…

    Read answer
  • DevelopmentMedium

    What is the difference between calling Apex with @wire and calling it imperatively in LWC?

    @wire Declarative and reactive: re-runs automatically when $ parameters change. Requires the Apex method to be @AuraEnabled(cacheable=true). Results are…

    Read answer
  • DevelopmentMedium

    What is Lightning Message Service (LMS) and how do you use it to communicate between components?

    LMS lets components on the same Lightning page communicate regardless of DOM hierarchy, and works across LWC, Aura and Visualforce. Steps: Create a Lightning…

    Read answer
  • LwcMedium

    What do the bubbles and composed flags mean on a CustomEvent in LWC?

    By default a CustomEvent is non-bubbling and non-composed, so only a direct parent listener on the child element receives it. bubbles: true – the event…

    Read answer
  • LwcMedium

    How do components communicate in LWC: parent to child, child to parent, and between unrelated components?

    Parent → Child: pass data through @api public properties, or call an @api method via this.template.querySelector('c-child').method(). Child → Parent: dispatch…

    Read answer
  • LwcEasy

    What are the @api, @track and @wire decorators in LWC and when do you use each?

    @api makes a field or method public so a parent can set it (or call the method). Public properties are reactive but should be treated as read-only inside the…

    Read answer
  • LwcMedium

    Explain the LWC lifecycle hooks and the order in which they fire for a parent and child component.

    Hooks: constructor(), connectedCallback(), render(), renderedCallback(), disconnectedCallback(), errorCallback(error, stack). Order when a parent contains a…

    Read answer
  • LwcEasy

    What is a Lightning Web Component (LWC) and how does it differ from an Aura component?

    LWC is Salesforce's component framework built on modern web standards (ES6+ JavaScript, Web Components, Shadow DOM, custom elements). Key differences from…

    Read answer
  • DevelopmentHard

    Write a SOQL query to retrieve Accounts ordered by Name in ascending order, locked for editing in Apex (FOR UPDATE), while enforcing User Mode permissions (WITH USER_MODE).

    Place WITH USERMODE after the WHERE clause and before ORDER BY, then add FOR UPDATE at the end. This enforces the running user's object, field and sharing…

    SalesforceDeloitteSlalomRead answer
  • DevelopmentMedium

    Write a SOQL query to fetch ProcessInstance and ProcessInstanceWorkitem records to find all pending Approval requests assigned to the current user (UserInfo.getUserId()).

    Pending approvals are ProcessInstanceWorkitem records linked to a ProcessInstance. Filter by the actor and pending status. ProcessInstance.TargetObjectId is…

    DeloitteAccenturePwC+1Read answer
  • DevelopmentHard

    Write a SOQL query to fetch all active ValidationRule or CustomField metadata records using the Tooling API query structure.

    Metadata objects such as ValidationRule and CustomField are queried through the Tooling API (/services/data/vXX.0/tooling/query/?q=...), not the standard…

    SalesforceDeloittePersistentRead answer
  • DevelopmentMedium

    Write a SOSL query to search for the string 'Universal' across Account, Contact, and Lead returning specific fields from each object (FIND 'Universal*' IN ALL FIELDS RETURNING Account(Id, Name), Contact(Id, LastName, Email), Lead(Id, Company)).

    SOSL searches text across multiple objects and returns a list of lists, one per object in the RETURNING clause. The is a wildcard; use IN NAME FIELDS to limit…

    InfosysWiproTCS+1Read answer
  • DevelopmentHard

    Write a SOQL query to fetch all Case records that have been escalated and have at least one CaseComment created by a Customer Community User.

    Use a semi-join on CaseComment restricted to comments created by Experience Cloud (community) users, combined with the escalation flag. The UserType values…

    CognizantCapgeminiHCLRead answer
  • DevelopmentHard

    Write a SOQL query to find all Contacts where the Contact's OwnerId is different from its Parent Account's OwnerId (Explain why SOQL cannot directly compare two fields like WHERE OwnerId != Account.OwnerId and how to solve it via a Formula checkbox field).

    SOQL cannot compare two fields in a WHERE clause (e.g. WHERE OwnerId != Account.OwnerId is invalid); filters compare a field with a literal or bind variable…

    SalesforceDeloitteInfosys+1Read answer
  • DevelopmentMedium

    Write a SOQL query to fetch all OpportunityLineItem records along with the Product Name (Product2.Name), Pricebook Name (PricebookEntry.Pricebook2.Name), and Account Name (Opportunity.Account.Name).

    Traverse from the line item to each related record through relationship names. This is a multi-level child-to-parent query, well within the 5-level limit.

    AccentureDeloitteCognizantRead answer
  • DevelopmentMedium

    Write a SOQL query to find all LoginHistory records for a specific User in the last 24 hours where the login status failed.

    Filter LoginHistory by user, time window and non-success status. Using a datetime bind variable is the reliable way to express "last 24 hours", since date…

    PwCEYKPMGRead answer
  • DevelopmentHard

    Write a SOQL query using DISTANCE and GEOLOCATION to find all Warehouse Accounts within 25 miles of a given latitude and longitude.

    Use DISTANCE() with GEOLOCATION() against a geolocation field (e.g. a custom Locationc on Account) in the WHERE clause and optionally ORDER BY. Units are 'mi'…

    SalesforceUberDeloitteRead answer
  • DevelopmentMedium

    Write a SOQL query using FORMAT() to return localized formatted dates and currency values for UI display.

    FORMAT() returns values formatted for the user's locale (dates, datetimes, numbers, currency), which is handy for display without Apex formatting code. The…

    SlalomPersistentNagarroRead answer
  • DevelopmentMedium

    Write a SOQL query to convert Currency fields into the user's personal currency in a Multi-Currency org (SELECT Id, convertCurrency(Amount) FROM Opportunity).

    In a multi-currency org, convertCurrency() returns the amount converted to the running user's personal currency. You can also filter in a specific currency…

    DeloitteSalesforcePwCRead answer
  • DevelopmentMedium

    Write a SOQL query on CronTrigger and CronJobDetail to find all currently scheduled Apex jobs and their next fire time.

    Scheduled jobs live in CronTrigger, with the job name in the related CronJobDetail. Scheduled Apex jobs have CronJobDetail.JobType = '7'.

    InfosysWiproLTIMindtreeRead answer
  • DevelopmentMedium

    Write a SOQL query on AsyncApexJob to monitor the status and number of errors of currently running Batch Apex jobs.

    Query AsyncApexJob for batch jobs that haven't finished and read progress and error counts. Remove the status filter and add ExtendedStatus to investigate…

    SalesforceCognizantCapgeminiRead answer
  • DevelopmentMedium

    Write a SOQL query on SetupAuditTrail to fetch the last 20 configuration changes made by System Administrators.

    SetupAuditTrail records setup changes (kept for 180 days). Order by date and limit to 20. To restrict to administrators, filter on the creator's profile, for…

    PwCDeloitteAccentureRead answer
  • DevelopmentMedium

    Write a SOQL query on FieldHistory (AccountHistory or OpportunityFieldHistory) to see who changed a specific field in the last 7 days.

    Query the history object with a date literal filter and read who changed the field via CreatedBy. For Opportunities use OpportunityFieldHistory (with…

    KPMGDeloitteInfosysRead answer
  • DevelopmentMedium

    Write a SOQL query to find all AccountShare records for a specific Account to inspect manual and Apex sharing reasons (RowCause).

    Each sharing-enabled object has a Share object (e.g. AccountShare) holding the sharing grants. Filter by AccountId and inspect RowCause to see why access…

    DeloittePwCEYRead answer
  • DevelopmentMedium

    Write a SOQL query to fetch Accounts along with only their Closed Won Opportunities in a subquery (SELECT Id, Name, (SELECT Id, Amount FROM Opportunities WHERE StageName = 'Closed Won') FROM Account).

    Filter the child records inside the subquery's own WHERE clause. The parent Accounts are all returned, but each Account's Opportunities list contains only…

    AccentureDeloitteTCSRead answer
  • DevelopmentMedium

    How would you list Contact-only Accounts, meaning Accounts with Contacts but zero Opportunities, using one SOQL query?

    Pair a semi-join on Contact with an anti-join on Opportunity in the same WHERE clause. This finds Contact-only Accounts: those with at least one Contact and…

    CognizantDeloitteEYRead answer
  • DevelopmentEasy

    Write a SOQL query to count the number of unique Industry values across all Accounts (SELECT COUNT_DISTINCT(Industry) FROM Account).

    Use COUNTDISTINCT() on the field. It counts unique non-null values. In Apex, the result is an AggregateResult and you read it with (Integer) ar.get('expr0').

    CognizantInfosysMindtreeRead answer
  • DevelopmentMedium

    Write a SOQL query to fetch all child Accounts, parent Accounts, and grandparent Accounts up to 4 levels up (Parent.Parent.Parent.Name).

    Walk up the hierarchy through the self-lookup ParentId using chained Parent relationships (up to 5 levels allowed in one path). Each row shows the Account and…

    TCSWiproTech MahindraRead answer
  • DevelopmentMedium

    Write a SOQL query on a Multi-Select Picklist Skills__c to find Candidates who have either 'Apex' OR 'Java' selected (INCLUDES ('Apex', 'Java')).

    Separate values with a comma inside INCLUDES to mean OR. This returns Candidates who have Apex or Java (or both) selected.

    InfosysCapgeminiLTIMindtreeRead answer
  • DevelopmentMedium

    Write a SOQL query on a Multi-Select Picklist Skills__c to find Candidates who have both 'Apex' AND 'LWC' selected (INCLUDES ('Apex;LWC')).

    In INCLUDES, a semicolon inside one string means AND (both values must be selected). This returns Candidates who have both Apex and LWC selected.

    CognizantAccentureWiproRead answer
  • DevelopmentMedium

    Write a SOQL query to group Opportunities by the Year and Month of their CloseDate (CALENDAR_YEAR(CloseDate), CALENDAR_MONTH(CloseDate)).

    Group by the date functions CALENDARYEAR() and CALENDARMONTH(), and alias them so they can be read from the AggregateResult.

    DeloittePwCZS AssociatesRead answer
  • DevelopmentMedium

    Write a SOQL query to fetch all Contacts whose Birthdate is in the Current Calendar Month (WHERE CALENDAR_MONTH(Birthdate) = 10).

    Use the CALENDARMONTH() date function in the WHERE clause. In Apex, bind the current month instead of hardcoding it.

    InfosysPersistentNagarroRead answer
  • DevelopmentEasy

    Write a SOQL query to find all Opportunities where CloseDate falls in the Current Fiscal Quarter (THIS_FISCAL_QUARTER).

    Use the THISFISCALQUARTER date literal, which follows the org's fiscal year settings (standard or custom). For calendar quarters use THISQUARTER instead.

    DeloitteCapgeminiHCLRead answer
  • DevelopmentMedium

    Write a SOQL query to retrieve the Record Type ID and DeveloperName for the Account object without using a RecordType SOQL query (compare SOQL on RecordType vs Schema.SObjectType.Account.getRecordTypeInfosByDeveloperName()).

    SOQL on RecordType costs a query against the governor limit: Schema describe returns record type info without using any SOQL query: Prefer describe calls in…

    AccentureInfosysCognizantRead answer
  • DevelopmentHard

    Write a SOQL query using TYPEOF on Task to select Lead.Company if Who is a Lead, and Contact.Department if Who is a Contact.

    TYPEOF Who returns different fields depending on whether the related record is a Lead or a Contact. In Apex, check the type with task.Who instanceof Lead and…

    SalesforceDeloittePwCRead answer
  • DevelopmentMedium

    Write a SOQL query to fetch Tasks where the WhoId (Polymorphic lookup) points only to a Lead and not a Contact (WHERE Who.Type = 'Lead').

    WhoId is polymorphic (Lead or Contact). Filter on the related type with Who.Type. This returns only Tasks whose Who is a Lead and excludes those pointing to…

    SalesforceDeloitteSlalomRead answer
  • DevelopmentEasy

    Write a SOQL query to fetch all deleted Accounts currently sitting in the Recycle Bin (WHERE IsDeleted = true ALL ROWS).

    Filter on IsDeleted = true and add ALL ROWS so the query includes Recycle Bin records. In Apex only (not Query Editor) use this syntax. You can pass the…

    InfosysTCSWiproRead answer
  • DevelopmentMedium

    Write a SOQL query to fetch all files (ContentDocument / ContentVersion) linked to a specific Account record via ContentDocumentLink.

    Files connect to records through ContentDocumentLink (LinkedEntityId is the record Id). Query the link and traverse to the ContentDocument for the file…

    DeloitteAccenturePersistentRead answer
  • DevelopmentEasy

    Write a SOQL query to fetch all Queues in the org that support the Case object (QueueSobject where SobjectType = 'Case').

    QueueSobject links Queues (Group records of Type Queue) to the objects they support. Filter by SobjectType and read the queue through Queue.

    CognizantCapgeminiWiproRead answer
  • DevelopmentMedium

    Write a SOQL query to find all Users belonging to a specific Public Group (GroupMember where Group.DeveloperName = 'Deal_Desk').

    Query GroupMember filtered by the group's DeveloperName. UserOrGroupId can be a User or another Group, so filter by user Id prefix (005) if you only want…

    PwCEYInfosysRead answer
  • DevelopmentMedium

    Write a SOQL query to fetch all Users who are assigned a specific Permission Set (PermissionSetAssignment where PermissionSet.Name = 'Sales_Ops').

    Query PermissionSetAssignment and filter on the permission set name, selecting the assigned user details through the Assignee relationship. The API name goes…

    DeloitteSalesforceAccentureRead answer
  • DevelopmentMedium

    Write a Parent-to-Child SOQL query from a Master object (Position__c) to get all related Candidate__c names via the Junction Object (Job_Applications__r).

    From the master Positionc, use a subquery on the junction's child relationship name (JobApplicationsr) and traverse to the Candidate from inside it. This…

    DeloittePwCCognizantRead answer
  • DevelopmentMedium

    Write a SOQL query on a Junction Object (Job_Application__c) to fetch details from both Master objects (Candidate__r.Name and Position__r.Title__c).

    The junction object has two master-detail (or lookup) fields, so query from the junction and traverse both parents with r. This is child-to-parent traversal…

    InfosysAccentureCapgeminiRead answer
  • DevelopmentMedium

    Write a SOQL query to fetch Accounts that have both related Contacts AND related Opportunities.

    Use two semi-joins combined with AND, one against Contact and one against Opportunity. Both subqueries return Account Ids, so only Accounts present in both…

    DeloitteAccenturePersistentRead answer
  • DevelopmentEasy

    Write a SOQL query to find all Contacts whose LastName starts with 'S' and ends with 'a'.

    Use LIKE with a prefix and suffix pattern. % matches any number of characters, matches exactly one. Note that LIKE in SOQL is case-insensitive, and a leading…

    TCSInfosysMphasisRead answer
  • DevelopmentEasy

    Write a SOQL query to fetch all Cases created Today (WHERE CreatedDate = TODAY).

    Compare CreatedDate with the TODAY date literal. It handles the datetime-to-date comparison using the user's time zone.

    Tech MahindraHCLBirlasoftRead answer
  • DevelopmentEasy

    Write a SOQL query to fetch all Opportunities created in the Last 30 Days whose StageName is not Closed Lost.

    Combine the LASTNDAYS date literal with a stage filter. Date literals avoid hardcoded dates, so the query stays valid every day.

    TCSWiproCognizantRead answer
  • DevelopmentEasy

    Write a SOQL query to get the sum, average, minimum, and maximum Opportunity Amount grouped by StageName.

    Group Opportunities by StageName and apply all four aggregate functions. Each row is an AggregateResult; read values with ar.get('total') and so on.

    InfosysCapgeminiPwCRead answer
  • DevelopmentMedium

    Write a SOQL query to fetch Accounts that have more than 5 Contacts (SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId HAVING COUNT(Id) > 5).

    Group Contacts by AccountId and use HAVING to keep only groups with more than five Contacts. To return the Account details too, put this in a semi-join…

    DeloitteAccentureWiproRead answer
  • DevelopmentEasy

    Write a SOQL query on Contact to fetch the Contact's Name and its parent Account's Name and Industry (Child-to-Parent).

    Use dot notation from the Contact to its parent Account to read parent fields in the same query, with no join needed. Contacts without an Account still…

    TCSCognizantTech MahindraRead answer
  • DevelopmentEasy

    Write a SOQL query to count the number of Contacts associated with each Account (SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId).

    Aggregate Contacts grouped by AccountId. In Apex: (Id) ar.get('AccountId') and (Integer) ar.get('total').

    TCSInfosysCognizantRead answer
  • DevelopmentEasy

    Write a SOQL query to retrieve the top 5 Accounts based on AnnualRevenue excluding null values (NULLS LAST).

    Order descending with NULLS LAST (or filter nulls) and limit to 5.

    CapgeminiMindtreeHexawareRead answer
  • DevelopmentMedium

    Write a SOQL query to find the Nth Highest Salary on an Employee__c object.

    Use ORDER BY ... DESC LIMIT 1 OFFSET N-1. For the 3rd highest salary: In Apex, use a variable: LIMIT 1 OFFSET :n where n = N - 1. OFFSET max is 2,000. For…

    InfosysLTIMindtreeTech MahindraRead answer
  • DevelopmentMedium

    Write a SOQL query to find the 2nd Highest Amount among all Opportunities (ORDER BY Amount DESC NULLS LAST LIMIT 1 OFFSET 1).

    Sort descending, skip the first row, and take one. This returns the record with the 2nd highest Amount (ties return the next row, not the next distinct value…

    TCSCognizantWipro+1Read answer
  • DevelopmentMedium

    Write a SOQL query to find duplicate Contacts based on the Email field (SELECT Email, COUNT(Id) FROM Contact GROUP BY Email HAVING COUNT(Id) > 1).

    Group by Email and keep groups with more than one row. Each result row is an AggregateResult giving the duplicate email and how many times it appears.

    AccentureInfosysPwC+1Read answer
  • DevelopmentEasy

    Write a SOQL query to fetch Accounts that have NO related Contacts (Anti-Join using WHERE Id NOT IN (SELECT AccountId FROM Contact)).

    Use an anti-join: WHERE Id NOT IN (SELECT AccountId FROM Contact). Returns Accounts with no Contacts. Note the subquery results are limited by the platform…

    DeloitteCognizantCapgemini+1Read answer
  • DevelopmentEasy

    Write a SOQL query to fetch Accounts that have at least one related Contact (Inner Join / Semi-Join using WHERE Id IN (SELECT AccountId FROM Contact)).

    Use a semi-join: WHERE Id IN (SELECT AccountId FROM Contact). Only Accounts having at least one Contact are returned. The subquery must select a single…

    DeloitteAccentureInfosysRead answer
  • DevelopmentEasy

    Write a SOQL query to fetch all Accounts along with their related Contacts (Parent-to-Child).

    Use a parent-to-child subquery with the child relationship name. Accounts with no Contacts are still returned (with an empty child list), unlike an inner join.

    TCSWiproInfosysRead answer
  • SoqlMedium

    How do you query Custom Metadata Types (getAll(), getInstance()) without consuming SOQL governor limits?

    Custom metadata type records can be read with Apex methods that do not count against SOQL limits: getAll()/getInstance() return cached records but not all…

    AccentureInfosysCapgeminiRead answer
  • SoqlHard

    How do you query Big Objects using SOQL vs Async SOQL, and why must you query indexed fields in exact order?

    Standard SOQL on a Big Object (MyDatab) works but only on its index fields, and filters must follow the index order: you can filter on the first field, then…

    SalesforceDeloitteKPMGRead answer
  • SoqlMedium

    What is the governor limit for Aggregate queries and how do rows counted in AggregateResult contribute to the 50,000-row limit?

    Aggregate queries still count toward the shared 50,000 total retrieved rows limit: the rows returned as AggregateResult objects (one per group) are counted…

    DeloittePwCCognizantRead answer
  • SoqlEasy

    What are the Governor Limits for SOQL (100 synchronous queries, 200 asynchronous queries, 50,000 total rows retrieved)?

    Per transaction: SOQL queries synchronous, 200 asynchronous (batch, future, queueable) ,000 total rows retrieved by SOQL queries SOSL queries; SOSL returns…

    TCSInfosysAccentureRead answer
  • SoqlHard

    Which fields are indexed by default in Salesforce, and what makes a SOQL filter non-selective (e.g., !=, NOT LIKE '%abc', leading wildcards, formula fields)?

    Indexed by default: Id, Name, OwnerId, CreatedDate, SystemModstamp, RecordTypeId, lookup and master-detail fields, unique fields, external Id fields (and…

    SalesforceDeloittePersistentRead answer
  • SoqlHard

    What is a Selective SOQL Query, how does the Query Plan Tool work, and what are the indexing thresholds (30% of first 1M records, 15% after)?

    A query is selective when its filter uses an indexed field and returns less than a threshold of the object's records, so the optimizer can use the index…

    SalesforceAmazonDeloitte+1Read answer
  • SoqlHard

    What is the difference between WITH SECURITY_ENFORCED and Security.stripInaccessible()?

    WITH SECURITYENFORCED: checks FLS/CRUD for fields in the SELECT (and some parents) and throws a System.QueryException if any are inaccessible. It does not…

    DeloitteAccenturePwCRead answer
  • SoqlMedium

    How do you enforce Object and Field-Level Security (FLS) in SOQL using WITH USER_MODE, WITH SYSTEM_MODE, or WITH SECURITY_ENFORCED?

    Apex runs in system mode by default, so enforce user permissions explicitly: WITH USERMODE: enforces the user's object permissions, FLS and sharing rules…

    SalesforceDeloitteEY+1Read answer
  • SoqlMedium

    What is SOQL Injection, and how do you prevent it using bind variables or String.escapeSingleQuotes()?

    SOQL injection happens when user input is concatenated into a dynamic query, letting an attacker change its logic (e.g. input ' OR Name != '). Prevention: Use…

    SalesforceDeloittePwC+1Read answer
  • SoqlMedium

    What is Dynamic SOQL (Database.query() and Database.queryWithBinds()) and when do you need it?

    Dynamic SOQL builds the query as a string at runtime and runs it with Database.query() or Database.queryWithBinds(). Use it when the object, fields, filters…

    CognizantWiproLTIMindtreeRead answer
  • SoqlMedium

    What is a SOQL For Loop (for (List<Account> accList : [SELECT ...])) and how does it help avoid Heap Size limits?

    A SOQL for loop iterates directly over a query result. Salesforce retrieves records in chunks of 200 instead of loading everything into one list, which keeps…

    SalesforceDeloitteAccenture+1Read answer
  • SoqlMedium

    How does FIELDS(ALL), FIELDS(STANDARD), and FIELDS(CUSTOM) work in SOQL, and what are their limitations in Apex?

    FIELDS() avoids listing every field: FIELDS(STANDARD): all standard fields FIELDS(CUSTOM): all custom fields FIELDS(ALL): all fields Limitations: FIELDS(ALL)…

    DeloittePwCCapgeminiRead answer
  • SoqlHard

    How do you query Polymorphic lookup fields like What and Who on Task/Event or Owner using TYPEOF in SOQL?

    TYPEOF lets you select different fields depending on the actual object type of a polymorphic relationship (What, Who on Task/Event, Owner, etc.). You can also…

    SalesforceDeloitteSlalomRead answer
  • SoqlMedium

    How do INCLUDES and EXCLUDES operators work when querying Multi-Select Picklist fields in SOQL?

    Multi-select picklist values are stored as a semicolon-separated string. Use INCLUDES and EXCLUDES rather than = / LIKE. INCLUDES ('A;B', 'C') = (A and B) or…

    AccentureInfosysTech MahindraRead answer
  • SoqlEasy

    What does the ALL ROWS keyword do in SOQL, and how do you query records currently in the Recycle Bin (IsDeleted = true ALL ROWS)?

    ALL ROWS includes deleted records (Recycle Bin) and archived activities in the results. Combine with IsDeleted = true to get only deleted records. Used to…

    CognizantWiproTCSRead answer
  • SoqlMedium

    How does FOR UPDATE work in SOQL, and how does it lock records to prevent race conditions?

    FOR UPDATE places a pessimistic lock on the returned records for the rest of the transaction. Other transactions attempting to update them wait (up to 10…

    SalesforceDeloittePwC+1Read answer
  • SoqlMedium

    How does the FOR VIEW and FOR REFERENCE clause work in SOQL?

    FOR VIEW updates the LastViewedDate of the returned records so they show up in the user's Recently Viewed list. FOR REFERENCE updates LastReferencedDate (the…

    InfosysPersistentEYRead answer
  • SoqlEasy

    What are SOQL Date Literals (e.g., TODAY, LAST_N_DAYS:30, THIS_FISCAL_YEAR, NEXT_MONTH) and why are they preferred over hardcoded dates?

    Date literals are keywords that represent relative date ranges computed at run time, e.g. TODAY, YESTERDAY, LASTNDAYS:30, THISMONTH, NEXTMONTH…

    AccentureCapgeminiHCLRead answer
  • SoqlHard

    Explain the difference between GROUP BY, GROUP BY ROLLUP, and GROUP BY CUBE in SOQL.

    GROUP BY groups rows by field values and gives one row per group. GROUP BY ROLLUP(f1, f2) adds subtotal rows for each level plus a grand total. Use…

    DeloittePwCSalesforceRead answer
  • SoqlEasy

    What is the difference between WHERE and HAVING clauses in SOQL?

    WHERE filters individual rows before grouping and cannot use aggregate functions. HAVING filters groups after GROUP BY and works with aggregate functions.

    InfosysWiproMindtreeRead answer
  • SoqlMedium

    What is the return type of an Aggregate SOQL query in Apex (List<AggregateResult>) and how do you extract field values using ar.get('alias')?

    Aggregate queries (with GROUP BY or aggregate functions) return List . Access values with get('alias'); unaliased aggregate columns are named expr0, expr1…

    DeloitteAccentureCognizantRead answer
  • SoqlEasy

    What are all the Aggregate Functions available in SOQL (COUNT(), COUNT(Id), COUNT_DISTINCT(), SUM(), AVG(), MIN(), MAX())?

    COUNT(): number of rows (no field, returns an integer directly) COUNT(fieldName): count of non-null values COUNTDISTINCT(fieldName): count of unique non-null…

    TCSInfosysLTIMindtreeRead answer
  • SoqlEasy

    What is the difference between LIMIT and OFFSET in SOQL, and what is the maximum value of OFFSET (2,000)?

    LIMIT n caps the number of rows returned. OFFSET n skips the first n rows, useful for pagination (LIMIT 20 OFFSET 40 = page 3). The maximum OFFSET is 2,000…

    CognizantWiproCapgeminiRead answer
  • SoqlEasy

    How do you directly populate a Map<Id, SObject> from a SOQL query without using a for loop? (new Map<Id, Account>([SELECT Id, Name FROM Account])).

    Pass the query directly into the Map constructor. Salesforce uses each record's Id as the key. This avoids manual loops, is concise, and counts as one SOQL…

    DeloitteAccentureInfosysRead answer
  • SoqlHard

    How many levels deep can you traverse in a Parent-to-Child subquery? (Standard 1 level vs up to 5 levels in API v58.0+ via REST/Apex limits).

    Traditionally a parent-to-child subquery supports only one level (parent with its children, no grandchildren) in Apex. In API v58.0 and later, REST/SOAP…

    SalesforceDeloitteSlalomRead answer
  • SoqlMedium

    How many levels deep can you traverse in a Child-to-Parent relationship query in SOQL? (Up to 5 levels, or 55 in newer API versions—explain both).

    Child-to-parent traversal can go up to 5 levels deep using dot notation in a single path, e.g. Contact.Account.Parent.Owner.Manager.Name. Separately, a query…

    SalesforceDeloittePwCRead answer
  • SoqlEasy

    How do you write a Parent-to-Child subquery on Standard Objects (Contacts) vs Custom Objects (Employees__r)?

    Use a subquery in the SELECT list with the child relationship name (plural for standard objects, r for custom). Results are nested lists: in Apex use…

    InfosysCognizantHCLRead answer
  • SoqlEasy

    How do you write a Child-to-Parent query on Standard Objects vs Custom Objects (__r)?

    Use dot notation on the relationship name. Standard lookup: relationship name is the field name without Id, e.g. Account for AccountId. Custom…

    TCSWiproTech MahindraRead answer
  • SoqlEasy

    What are the key differences between SOQL and SOSL, and when do you choose one over the other?

    SOQL SOSL --------- Purpose Query records of one object (plus related) Text search across many objects and fields Returns List of sObjects List of lists of…

    AccentureCognizantCapgeminiRead answer
  • SoqlEasy

    What is SOQL and how does it differ from standard SQL (e.g., no SELECT *, no arbitrary table joins)?

    SOQL (Salesforce Object Query Language) queries records from Salesforce objects, similar to SQL SELECT but object-oriented. Differences from SQL: No SELECT…

    TCSInfosysWiproRead answer
  • DevelopmentMedium

    Write a trigger on Task so that only the Account Owner or a System Administrator can delete a Task related to an Account (WhatId).

    Use before delete on Task. For Tasks whose WhatId is an Account, allow only the Account Owner or a System Administrator.

    AccentureDeloitteCapgeminiRead answer
  • DevelopmentMedium

    Write a trigger that calculates the average Rating_Score__c from Feedback__c child records and updates the parent Product2 record using AggregateResult.

    Trigger on Feedbackc (after insert, update, delete, undelete), then recompute AVG(RatingScorec) per Product2 with AggregateResult.

    CognizantInfosysPwCRead answer
  • DevelopmentMedium

    Write a trigger on a custom junction object Project_Resource__c to prevent linking the same Contact to the same Project__c more than once.

    Use before insert, before update on the junction object. Compare against existing junction records and others in the same batch using a Contact+Project key. A…

    DeloittePersistentZS AssociatesRead answer
  • DevelopmentMedium

    When an Account is restored from the Recycle Bin (after undelete), append " - Restored" to its Name and send a notification to the System Admin.

    In after undelete, Trigger.new is read-only, so create new SObject instances with the Id (or re-query) and update them. Then notify an admin. Use a custom…

    InfosysAccentureBirlasoftRead answer
  • DevelopmentMedium

    Write a trigger to send an email notification to the Account Owner whenever a high-value Opportunity (> $50,000) is deleted, including details of who deleted it.

    Use after delete, read from Trigger.old, query the Owner emails, and send one batched email call. Call sendEmail once with a list, since single-email calls…

    CognizantCapgeminiMindtreeRead answer
  • DevelopmentEasy

    Write a trigger to automatically populate Account shipping address fields with billing address fields if Copy_Billing_To_Shipping__c checkbox is checked.

    Use before insert, before update so values are saved without extra DML.

    WiproTech MahindraHexawareRead answer
  • DevelopmentMedium

    When a Case status is updated to Closed, check if there are any open child WorkOrder or Task records; if yes, throw a validation error using addError().

    Use before update on Case. When Status becomes Closed, check open WorkOrders and Tasks via aggregate/subqueries.

    TCSInfosysHCLRead answer
  • DevelopmentHard

    Write a trigger to track field history on a custom object into a custom Audit_Log__c object dynamically using a Field Set.

    Define a Field Set (e.g. AuditFields) on the object, loop over its fields with Schema describe, compare old and new, and insert AuditLogc records. Admins can…

    DeloitteSalesforceKPMGRead answer
  • DevelopmentMedium

    When an Opportunity amount exceeds $100,000, automatically submit the record to an Approval Process using Approval.ProcessSubmitRequest from a trigger.

    Use after insert/update (the record needs an Id) and Approval.ProcessSubmitRequest. Ensure the process isn't already pending to avoid ALREADYINPROCESS errors.

    AccentureWiproLTIMindtreeRead answer
  • DevelopmentHard

    Write a trigger to prevent users from deleting a file (ContentDocument) if it is attached to an approved Contract.

    Write a before delete trigger on ContentDocument, find its links to Contracts, and block deletion if the Contract is approved (e.g. Status = 'Activated' or a…

    PwCEYInfosysRead answer
  • DevelopmentMedium

    Write a trigger on ContentDocumentLink (File upload) to check if a file is uploaded to a Case and update Has_Attachment__c = true on the Case.

    Files are linked to records through ContentDocumentLink (the LinkedEntityId is the Case Id). Use after insert and check the Case key prefix (500). You can't…

    DeloitteCognizantCapgeminiRead answer
  • DevelopmentHard

    When an OpportunityLineItem is inserted or deleted, update a custom field on the parent Account (Total_Products_Purchased__c).

    OpportunityLineItem has no AccountId, so query the parent Opportunities to find Accounts, then aggregate line items per Account.

    AccentureInfosysPwCRead answer
  • DevelopmentHard

    Write a trigger to prevent creating two Booking__c records for the same Room__c with overlapping Start_Date__c and End_Date__c.

    Two bookings overlap when newStart existingStart for the same Room. Check the database and also bookings in the same batch. For large data, group existing…

    AmazonSalesforceDeloitte+1Read answer
  • DevelopmentHard

    When a new Contact is inserted without an AccountId, check if an Account exists whose Domain__c matches the Contact's email domain (e.g., @acme.com). If found, link it; if not, create a new Account and link the Contact.

    Use before insert on Contact. Extract the email domain, match Account Domainc, and create missing Accounts in bulk.

    SalesforceDeloittePersistent+1Read answer
  • DevelopmentMedium

    Write a trigger to concatenate the names of all child Contact records (comma-separated) onto a custom field All_Contact_Names__c on the parent Account.

    Use triggers on Contact (after insert, update, delete, undelete) and rebuild the string for each affected Account from all its Contacts. Make sure the field…

    CognizantWiproTech MahindraRead answer
  • DevelopmentHard

    When a User is deactivated (IsActive changed from true to false), transfer all their open Opportunities and Accounts to their Manager (ManagerId).

    Use after update on User, detect IsActive true to false, and reassign open Opportunities and owned Accounts to ManagerId. Because User is a setup object, run…

    AccentureEYKPMGRead answer
  • DevelopmentHard

    Write a trigger on User: whenever a new active User is created in a specific role, automatically assign them a specific PermissionSet and add them to a Public Group (handling Mixed DML via @future).

    User is a setup object, so assigning a PermissionSet (PermissionSetAssignment) or public group membership (GroupMember) in the same transaction as non-setup…

    DeloittePwCSalesforceRead answer
  • DevelopmentMedium

    Write a trigger to prevent an Employee__c record from being inserted if the parent Department__c already has 10 active employees.

    Use before insert (and optionally before update for reparenting). Count active employees per Department in the DB plus new ones in the batch.

    InfosysCapgeminiMindtreeRead answer
  • DevelopmentMedium

    When an Account is marked Inactive__c = true, automatically close all related open Cases and mark open Opportunities as Closed Lost.

    Use after update on Account, detect Inactivec changing to true, and update related Cases and Opportunities in bulk. For large volumes, hand off to Queueable…

    AccentureDeloitteTCSRead answer
  • DevelopmentMedium

    Write a trigger to find the Maximum and Minimum Salary among all Employee__c child records and populate Max_Salary__c and Min_Salary__c on Department__c.

    Use triggers on Employeec (after insert, update, delete, undelete) and aggregate with MAX/MIN. If the relationship is master-detail, a native Roll-Up Summary…

    CognizantLTIMindtreePersistentRead answer
  • DevelopmentMedium

    When a Case is created with Origin = 'Email' and Priority = 'High', automatically assign it to a specific SLA Queue and create an Entitlement task.

    Use before insert to set the owner to a Queue and after insert to create the Task. Query the Queue once. Case Assignment Rules or Flow can also route to…

    InfosysWiproHCLRead answer
  • DevelopmentHard

    Write a trigger to share a custom object record (Project__c) using Apex Managed Sharing (Project__Share) when a Manager__c lookup field is populated or updated.

    Create ProjectShare records with a custom Apex sharing reason. Requires the object's OWD to be Private or Public Read Only. Only Apex Sharing Reasons (not…

    DeloitteSalesforcePwC+1Read answer
  • DevelopmentMedium

    When an Account's OwnerId changes, change the OwnerId of all its related open Opportunities and Contacts.

    Use after update on Account, detect OwnerId changes, then update related open Opportunities and Contacts. Note: updating a mixed List works when records are…

    AccentureCapgeminiCognizantRead answer
  • DevelopmentMedium

    When a Lead is created with an Email that already exists on an existing Contact, block the Lead creation or automatically link/merge it.

    Use before insert on Lead, query Contacts with matching emails, and either block or link via a custom lookup (e.g. ExistingContactc). Standard Duplicate Rules…

    DeloitteZS AssociatesPwCRead answer
  • DevelopmentHard

    Write a trigger on Lead to prevent conversion if certain custom fields or a related checklist task is incomplete.

    Use before update on Lead and detect the conversion (IsConverted going false to true). Block with addError if the requirement isn't met.

    InfosysTech MahindraKPMGRead answer
  • DevelopmentEasy

    Prevent deletion of an Opportunity if its stage is Closed Won.

    Use before delete and addError on Trigger.old records. A simpler declarative route is not available for delete, since validation rules don't run on delete, so…

    TCSWiproCognizantRead answer
  • DevelopmentEasy

    When a Contact's Primary_Phone__c is updated on the primary Contact, sync that phone number up to the parent Account's Phone field.

    Use after insert, after update on Contact. When a primary Contact's PrimaryPhonec changes, copy it to the parent Account. Using a Map keyed by AccountId…

    AccentureHCLBirlasoftRead answer
  • DevelopmentMedium

    If a Contact is marked as Is_Primary__c = true, automatically uncheck Is_Primary__c on all other sibling Contacts under the same Account.

    Use after insert, after update, find sibling primaries on the same Accounts (excluding the triggering records), uncheck them, and guard against recursion…

    DeloitteSalesforceSlalomRead answer
  • DevelopmentMedium

    Write a trigger on Contact to ensure a single Account cannot have more than one "Primary Contact" (Is_Primary__c = true).

    Use before insert, before update. Count primaries within the incoming batch and against existing primaries in the database. Adding to the set also catches…

    CognizantInfosysEYRead answer
  • DevelopmentMedium

    Prevent a user from changing an Opportunity's StageName backwards (e.g., from Negotiation/Review back to Prospecting) unless their Profile is System Administrator.

    Use before update, define stage order, and bypass for System Administrators. A custom permission or validation rule with PRIORVALUE is a more declarative…

    DeloittePwCCapgeminiRead answer
  • DevelopmentEasy

    Whenever an Opportunity StageName is changed to Closed Won, automatically create a Contract or Follow-Up Task for the Opportunity Owner.

    Use after update (and compare old vs new StageName so it fires only on the transition). Create a Task for the Opportunity Owner. For a Contract, insert…

    AccentureWiproInfosysRead answer
  • DevelopmentHard

    Update the child Contacts count if Number_of_Locations__c on Account increases or decreases on update.

    On after update, compare new and old NumberofLocationsc. If it increased, insert the difference; if it decreased, delete that many Contacts.

    DeloittePersistentNagarroRead answer
  • DevelopmentMedium

    Write a trigger to create N number of child Contact records based on the value specified in the Number_of_Locations__c field on Account.

    Use after insert (Ids needed for the parent link) and create N child Contacts per Account. Watch the 10,000 DML row limit if the number is large.

    CognizantTCSMindtreeRead answer
  • DevelopmentEasy

    When an Account Phone is updated, put the old phone number and new phone number into the Account Description field.

    Use before update so the Description is saved without an extra DML.

    InfosysMphasisHexawareRead answer
  • DevelopmentEasy

    When an Account's BillingCity is updated, update the MailingCity on all its related Contacts.

    Use after update on Account, filter accounts whose BillingCity changed, then query and update their Contacts.

    TCSWiproCapgeminiRead answer
  • DevelopmentMedium

    Write a trigger to calculate the sum of Amount of all Closed Won Opportunities and store it on the parent Account.

    Use triggers on Opportunity (after insert, update, delete, undelete), gather parent Account Ids (old and new on update), aggregate Closed Won amounts, and…

    AccentureEYLTIMindtreeRead answer
  • DevelopmentHard

    Write a custom Roll-Up Summary trigger to count the total number of Contacts on an Account (handling Insert, Update, Delete, Undelete, and Account Reparenting).

    Handle all events, collect affected Account Ids (including the old AccountId when reparenting), and recompute with an aggregate query. Accounts with no…

    DeloittePwCInfosys+1Read answer
  • DevelopmentMedium

    Write a trigger to prevent duplicate Contacts based on Email and Phone when inserting or updating a Contact.

    Use before insert, before update. Compare against existing Contacts in the database and within the same batch. In production, prefer Duplicate/Matching Rules…

    AccentureDeloitteHCLRead answer
  • DevelopmentEasy

    Write a trigger to prevent Account deletion if it has one or more related Contacts.

    Use before delete and check for child Contacts with a subquery. Use Trigger.old records for addError in delete triggers. Note that a Contact-Account…

    InfosysCognizantCapgeminiRead answer
  • Apex TriggerMedium

    How do you write a test class to achieve 100% code coverage and meaningful assertions for bulk triggers (testing with 200+ records)?

    Cover the trigger by inserting/updating/deleting 200+ records in one DML so the bulk path and chunking are exercised, and assert outcomes, not just coverage…

    TCSInfosysCognizant+1Read answer
  • Async ApexMedium

    When should you use Queueable Apex instead of @future methods inside a trigger handler?

    Prefer Queueable over @future in almost all cases: Accepts SObjects and complex types (future allows only primitives) Returns a job Id for monitoring Supports…

    AccenturePwCPersistentRead answer
  • Apex TriggerHard

    How do you handle UNABLE_TO_LOCK_ROW errors triggered during high-volume updates on parent records?

    UNABLETOLOCKROW occurs when concurrent transactions try to update the same record (often a parent that is locked by child inserts/roll-ups). Mitigations…

    SalesforceAmazonUber+1Read answer
  • Apex TriggerHard

    Does with sharing or without sharing on a Trigger Handler class affect SOQL and DML executed from the trigger?

    Yes, for record sharing. with sharing makes SOQL return only records the running user can access and DML respect the user's edit access to records. without…

    SalesforceDeloitteEYRead answer
  • Apex TriggerMedium

    Under what user context do Apex Triggers run (System Mode vs User Mode)?

    Apex triggers run in system mode: object permissions (CRUD) and field-level security of the current user are not enforced, so the trigger can read and write…

    InfosysCapgeminiWiproRead answer
  • Apex TriggerHard

    How do Platform Events and Change Data Capture (CDC) triggers differ from standard SObject triggers?

    Standard SObject triggers fire synchronously on DML, support before and after events and all operations, run in the user's transaction. Platform Event…

    SalesforceSlalomDeloitteRead answer
  • Apex TriggerMedium

    How do Mixed DML Errors happen in triggers (e.g., creating a User and an Account in the same transaction) and how do you resolve them?

    Mixed DML error (MIXEDDMLOPERATION) occurs when setup objects (User, Group, GroupMember, PermissionSetAssignment, UserRole, etc.) and non-setup objects…

    DeloittePwCAccentureRead answer
  • Apex TriggerHard

    What happens if an unhandled exception occurs inside a trigger during a bulk DML operation (insert list vs Database.insert(list, false))?

    insert list; (all-or-none): if any record fails or an uncaught exception occurs, the whole DML rolls back and a DmlException is thrown. Database.insert(list…

    SalesforceCognizantLTIMindtreeRead answer
  • Apex TriggerHard

    If a batch of 250 records is inserted via Data Loader, how many times does the trigger execute and how are governor limits shared?

    Triggers always process records in chunks of up to 200, so 250 records means two trigger invocations (200 + 50). In a single Apex transaction (e.g. insert…

    DeloitteAccentureHCLRead answer
  • Apex TriggerMedium

    How do Governor Limits impact Apex Triggers (specifically the 100 SOQL and 150 DML limits)?

    Governor limits apply per transaction, and all triggers, flows and classes firing in that transaction share them. Key synchronous limits: 100 SOQL queries…

    TCSWiproInfosys+1Read answer
  • Apex TriggerMedium

    How do you implement a Trigger Bypass mechanism using Custom Metadata Types or Hierarchy Custom Settings?

    Create a config record with a checkbox such as BypassAccountTriggerc, and check it at the start of the trigger/handler. Hierarchy Custom Setting: value can be…

    PwCEYSlalom+1Read answer
  • Apex TriggerMedium

    Why does Trigger.new.size() throw a NullPointerException in a delete trigger while Trigger.size works?

    Trigger.size returns the number of records in the current invocation and works in every event. Trigger.new.size() fails with a NullPointerException in delete…

    CognizantWiproMphasisRead answer
  • Apex TriggerMedium

    How do you prevent trigger recursion properly using a Set<Id> of processed record IDs?

    Keep a static Set in the handler. Each time the trigger runs, filter Trigger.new to records whose Id is not yet in the set, process only those, and add them…

    SalesforceDeloittePersistentRead answer
  • Apex TriggerMedium

    What is a Trigger Handler pattern and what are its benefits?

    The trigger contains no logic; it only routes events to a handler class with methods like beforeInsert, afterUpdate. Benefits: reusable and unit-testable…

    AccentureInfosysCognizantRead answer
  • Apex TriggerMedium

    Why should you maintain a "One Trigger Per Object" design pattern?

    Salesforce does not guarantee the execution order of multiple triggers on the same object and event. With several triggers, behavior becomes unpredictable and…

    DeloittePwCSalesforce+1Read answer
  • Apex TriggerEasy

    What does it mean to "Bulkify" an Apex Trigger?

    Bulkifying means writing the trigger to handle up to 200 records per invocation (and more through chained chunks) efficiently, without hitting governor…

    TCSAccentureDeloitteRead answer
  • Apex TriggerHard

    Why is using a simple static Boolean flag to prevent recursion dangerous when processing more than 200 records?

    Triggers process records in chunks of 200. A static variable lives for the whole transaction, so after the first chunk sets hasRun = true, chunks 2, 3... in…

    SalesforceDeloitteSlalom+1Read answer
  • Apex TriggerMedium

    What is a Recursive Trigger and how does it cause the Maximum trigger depth exceeded (limit: 16) error?

    A recursive trigger is one whose logic performs DML that causes the same trigger (or another trigger that updates back) to fire again, repeatedly. Example: an…

    AccentureWiproEYRead answer
  • Async ApexMedium

    How do you make an asynchronous callout from a trigger (@future(callout=true) vs Queueable)?

    @future(callout=true): static void method, only primitive/collection-of-primitive parameters (pass Ids and re-query), no chaining, cannot be called from…

    DeloitteSalesforcePwCRead answer
  • Apex TriggerMedium

    Can we make a synchronous web service callout directly from a trigger? Why or why not?

    No. Salesforce does not allow synchronous callouts from a trigger: the transaction holds database locks while uncommitted, and a slow external call would keep…

    InfosysCognizantTech MahindraRead answer
  • Apex TriggerMedium

    How do addError() methods work inside triggers, and can they be applied to specific fields?

    addError(String msg) marks a record (or a field) as failed with a custom message and blocks that record's save. Record level: acc.addError('Cannot save')…

    TCSDeloitteCapgeminiRead answer
  • Apex TriggerMedium

    Why do we use after undelete triggers, and why doesn't before undelete exist?

    After undelete triggers run when records are restored from the Recycle Bin. Use them to rebuild related data, e.g. recalculate roll-ups, restore related child…

    AccenturePwCBirlasoftRead answer
  • Apex TriggerMedium

    How does System.TriggerOperation enum work in switch on Trigger.operationType?

    Trigger.operationType returns a System.TriggerOperation enum value: BEFOREINSERT, BEFOREUPDATE, BEFOREDELETE, AFTERINSERT, AFTERUPDATE, AFTERDELETE…

    InfosysPersistentNagarroRead answer
  • Apex TriggerHard

    What is the exact Order of Execution in Salesforce when a record is saved?

    Simplified order for a record save: Load original record (or initialize for insert) Overwrite with new values; run system validation Run before-save…

    SalesforceGoogleAmazon+1Read answer
  • Async ApexMedium

    Can you call a batch class from an Apex trigger? If yes, what are the precautions?

    Yes, via Database.executeBatch(), but with care: Limits: only 5 batch jobs can be queued or active at once (extra jobs go to the Flex Queue, up to 100…

    DeloitteAccentureZS AssociatesRead answer
  • Apex TriggerEasy

    What happens if you try to modify Trigger.old in any trigger event?

    Trigger.old and Trigger.oldMap are always read-only. Attempting to change a field on them throws a runtime error: Record is read-only. Use them only for…

    TCSHCLHexawareRead answer
  • Apex TriggerMedium

    Why are records in Trigger.new read-only in after triggers?

    In after triggers the records have already been written to the database (not yet committed), so the save operation is complete. Modifying Trigger.new fields…

    WiproCapgeminiKPMGRead answer
  • Apex TriggerMedium

    Why can't we perform DML operations on records in Trigger.new inside a before trigger?

    You don't need to, and you shouldn't. In a before trigger, changes you make directly to fields of Trigger.new records are automatically saved as part of the…

    CognizantInfosysEYRead answer
  • Apex TriggerEasy

    Why is Trigger.newMap not available in before insert?

    Trigger.newMap is a Map . In a before insert trigger, the records have not been saved yet, so no Id has been assigned. A map keyed by Id cannot be built, so…

    SalesforceDeloittePersistentRead answer
  • Apex TriggerEasy

    In which trigger events are Trigger.old and Trigger.oldMap available?

    Trigger.old and Trigger.oldMap are available in before update, after update, before delete, and after delete triggers. They are not available in insert or…

    AccentureDeloittePwCRead answer
  • Apex TriggerEasy

    In which trigger events are Trigger.new and Trigger.newMap available?

    Trigger.new: before insert, after insert, before update, after update, after undelete. Trigger.newMap: before update, after insert, after update, after…

    InfosysCognizantLTIMindtreeRead answer
  • Apex TriggerEasy

    What is the difference between Trigger.new and Trigger.old?

    Trigger.new is a list of the new versions of records (the values being saved). Trigger.old is a list of the old versions (values before the change). Insert…

    TCSWiproMindtreeRead answer
  • Apex TriggerEasy

    Explain all Trigger context variables (isInsert, isUpdate, isDelete, isUndelete, isBefore, isAfter, isExecuting, size, operationType).

    Trigger.isInsert / isUpdate / isDelete / isUndelete: true if the trigger fired for that DML event. Trigger.isBefore / isAfter: true for the before or after…

    CapgeminiTech MahindraHCLRead answer
  • Apex TriggerEasy

    What is the difference between before triggers and after triggers?

    Before triggers run before the record is saved to the database. Use them to validate or modify field values on the records in Trigger.new without an extra…

    DeloitteAccentureWiproRead answer
  • Apex TriggerEasy

    What is an Apex Trigger in Salesforce and when should you use it over Flows?

    An Apex Trigger is Apex code that runs automatically before or after DML events (insert, update, delete, undelete) on an object. Use a trigger over Flow when…

    TCSInfosysCognizantRead answer

Browse by topic

  • Field Service108
  • Apex Trigger32
  • Integration100
  • Async Apex3
  • Development102
  • Soql30
  • Lwc11
  • Admin50
  • Service Cloud

Browse by company

  • Deloitte90
  • Salesforce76
  • Accenture75
  • Infosys73
  • PwC72
  • Cognizant51
  • Capgemini50
  • Wipro43
  • Slalom
100
  • Apex41
  • Field Service22
  • LWC50
  • Sales Cloud79
  • Sales Cloud6
  • Administration25
  • 39
  • TCS27
  • Deloitte Digital22
  • IBM21
  • EY17
  • Persistent15
  • HCL13
  • Tech Mahindra12
  • LTIMindtree10
  • KPMG9
  • Mindtree7
  • Amazon5
  • Nagarro5
  • Birlasoft4
  • Hexaware4
  • ZS Associates4