Salesforce is a Customer Relationship Management (CRM) service provider which helps the enterprises to connect better with their customers by using the CRM software with cloud-based solutions. It supports the business to manage their customer's data and track their activities efficiently.
In this article, you can go through the set of Salesforce interview questions most frequently asked in the interview panel. This will help you crack the interview as the topmost industry experts curate these at HKR training.
Let us have a quick review of the Salesforce interview questions.
Ans:
Ans: A workflow in Salesforce is a container or a business logic engine which automates certain actions based on particular criteria. If the criteria will match then it executes the actions else record will get saved but actions are not executed. There are two types of actions in the workflow.
Ans:
1.HTML with letterhead
Only the administrators and users having “Edit HTML Templates” permissions can able to create this template based on a letterhead.
2.Custom HTML
The administrators and users having “Edit HTML Templates” permissions can create this template without the need of a letterhead.
3.Visualforce
Only administrators and developers can able to create this template. Advanced functionalities like merging data from multiple records are available only in this template.
Wish to make a career in the world of salesforce? Start with HKR'S salesforce online training !
Ans:
Ans: The actions in the workflow are.
Ans: The following fields are automatically indexed in salesforce.
Ans: Both are the declarative automation tools used in extending the functionality of Salesforce platforms. Workflow and Process Builder has point and click functionality and various features to automate business process.
Workflow:
It is an automation tool which evaluates an argument. The functions in automation include field update, sending an email message, creating a task, or sending an outbound message. A workflow can evaluate only a single criteria before the automation is triggered or doesn’t.
Process Builder:
It is a new automation tool which has various functions. It includes creating a record, updating child records, posting to chatter, launching a flow and many more. The process builder evaluates multiple criteria and triggers different automation depending on the one met.
Ans: Salesforce is deployed using.
Ans: The triggers in Salesforce are called as Apex Triggers. It is distinct and available for common actions like lead conversions. This code is executed before or after a record is inserted or updated.
A trigger is different from a workflow as the former uses a piece of code; whereas, a workflow is an automated process and will not use any code.
Ans:
Salesforce Object Query Language (SOQL):
It will let to search only for one object. All types of fields can be queried in SOQL. Data Manipulation Language (DML) operations can be performed on the query results.
Salesforce Object Search Language (SOSL):
It will let to search for multiple objects. SOSL can query only for texts, emails, and phone numbers. DML operations cannot be performed on the search results.
Ans: A collection of settings or permissions is called a permission set. It extends the user functional access without changing the actual profiles. Permission sets are used for various types of users to extend access functionality regardless of their roles. It consumes time for creating a profile; instead of this, it is easy to create a permission set.
Ans:
Profile:
A profile controls the access to the records in a Salesforce org. Without assigning a profile, no user can work on the Salesforce org, so it is mandatory for every user.
Role:
Unlike a profile, a role is not mandatory for every user. The main function of the role hierarchy that it allows higher-level users in the hierarchy to get access to records owned by lower-level users in the hierarchy. Sales Manager is the best example who gets access to records owned by Sales Reps while their peers do not get access to it.
Ans: There are five different ways in Salesforce to store various types of records such as images, files, and documents. They are
Ans: The Audit trail tracks the changes that are made in the organization by you and the administrators. The audit trail shows the information of twenty most recent changes which are made in your organization. These things are tracked.
Ans: The templates available in Salesforce are.
Get ahead in your career with our salesforce Tutorial
Ans: There are three types of bindings used in Salesforce.
The Data bindings and Action bindings are most commonly used in every Visualforce page.
Ans: Sandbox is a similar to Salesforce production which is used in testing, development and training. The sandbox content and size varies depending on the type of sandbox and the edition of the production organization that is associated with the sandbox. There are four types of sandboxes available.
Ans:
Page block:
Data table:
Ans: There are many things which cause data loss in Salesforce.
Ans: The Salesforce track the sales details which produce accurate results based on the following factors.
Ans: There are two types of custom settings in Salesforce:
Ans:
There are three main types of collections available in Apex.
1.Lists:
A list is an ordered collection of elements distinguished by indices. The data type of list elements can be of any type such as primitive types, user-defined types, sObjects, collections and built-in Apex types.
2.Sets:
A set is an unordered collection of elements without containing any duplicates in it. The data types of set elements can be of any type such as primitive types, user-defined types, sObjects, collections and built-in Apex types.
3.Maps:
A map is a collection of key-value pairs where each unique key maps to a single value. The keys and values can be any data type such as primitive types, user-defined types, sObjects, collections and built-in Apex types.
Ans: Salesforce has various API which interacts with the system in different ways.
REST: It integrates with Force.com applications by using simple HTTP methods. The methods are in either XML or JSON formats which makes API for developing mobile applications or external clients.
Bulk: It provides programmatic access which loads data quickly into the Salesforce organization.
Streaming: It is used in receiving the notifications to the changes in Salesforce data which match a defined SOQL query. This API is useful when there is a need for notifications that must be pushed from the server to the client based on criteria that are defined.
Ans: The “Database.Batchable” interface contains three methods for implementation:
){}
Ans: There are four types of reports available in Salesforce.
1.Tabular reports
The reports contain simple excel tables which provide a list of items with the grand total
2.Summary reports
The summary reports are similar to tabular reports but have the functionality of grouping rows, viewing subtotals & creating charts.
3.Matrix reports
These are the two-dimensional reports which allow group records both by row and column
4.Joined reports
The multiple blocks represent the data from different reports based on the same or different report types.
The mass deletion of reports is possible and it can be done with an option available under “Data Management” in Setup.
Ans: With the use of APIs, the connected app integrates an application with Salesforce. It uses the standard SAML and OAuth protocols for authentication, providing single sign-on, tokens for usage with Salesforce APIs. In addition to OAuth capabilities, connected apps allow Salesforce admins to set various security policies and have explicit control over who can use the corresponding apps.
Ans: There are many ways of calling an Apex class in Salesforce.
Ans: There are many reasons why Batch Apex is better than Normal Apex.
Ans: When a record uses a unique identifier in a custom field than is known as an external ID. It is mainly used for importing records/ data. While importing records, one field must be marked as an external ID (unique identifier) among many other fields in those records.
Only the custom fields can be used as External IDs. The fields such as Text, Number, E-Mail and Auto-Number can be marked as external IDs.
Ans: Triggers are divided into two types.
Before Triggers: These triggers are used to update or validate values of a record before they are saved to the database.
After Triggers: These triggers are used to access field values of the records that are stored in the database and use this value to make changes in other records.
Syntax:
Trigger trigger_name on Object_Name(trigger_events) { Code_block } WHERE trigger_events can be comma separated list of events.
Ans:Simply the time based workflow action is removed from workflow queue and will not get fired.
Ans:We can clear time based workflow action queue in two ways they are
1.Make the criteria false.
2.Removing scheduled actions from the queue.
Ans:It is not possible to delete the workflow when the workflow is having any pending time dependent actions.
Ans:Even after deactivating the the workflow, its action will not be removed. It’s still active in queue.
Ans:Created, and every time it’s edited.
Ans:Field updates in workflow and approval processes specifies the field that we want updated and inserting the new value for it. Depending on the field type, we can choose the following options. They are apply a specific value, make the value blank, or calculate a value based on a formula you create.
Ans:Email alert is one of the action used in workflow and approval. They are used to generate email template by a workflow rule or approval process and sent to destination recipients. We can send workflow email alerts to users, contacts having an valid email address.
Ans:Workflow tasks in salesforce are used to assigns a task to users. Using tasks we can specify the Subject, Status, Priority, and Due Date of the task. Tasks are workflow & approval actions that are triggered by workflow rules or approval processes.
Ans:In salesforce.com. workflows consists of 5 components they are.
1.Workflow rules.
2.Workflow tasks.
3.Workflow Email alerts.
4.Workflow field updates.
5.Workflow Outbound messages
Ans:Analytical Snapshot in Salesforce are used to create reports on historical data.
Ans:To enable floating report header in salesforce go to Setup=>Customize=>Reports and Dashboards=>User Interface settings=>Click on enable floating report header.
Ans:Floating report headers enables us to display the column header visible on each page when we scroll the report page.
Ans:The user must have “View All Data” permission is required to set the running users.
Ans:User who have permissions in managed dashboard can access drag and drop dashboard.
Ans:Dynamic dashboards in Salesforce displays set of metrics that we want across all levels of your organization.
Dynamic Dashboards in salesforce are Created to provide security settings for the dashboards in salesforce.com. We may have a requirement in an organization to “view all data” by every user in an organization according to their access we have to select Run as Logged-in User. There are two setting option in Dashboards. They are
1.Run as specified User.
2.Run as Logged-in User.
Ans:No, we can not schedule dynamic dashboards for refresh. It must be done manually.
Ans:Salesforce dashboard components are used to represent data. Salesforce dashboards have some visual representation components like graphs, charts, gauges, tables, metrics and visualforce pages. We can use up to 20 components in single dashboard.
Ans:Salesforce Dashboards are the graphical representation and visual presentation of reports data in salesforce.
Ans:No, it is not possible to delete reports using data loaders.
Ans:In salesforce reports, bucket fields are used to categorize reports records. When we use bucket field in reports there is no need of creating formula or a custom field.
Ans:In Salesforce.com, most reports run automatically when we click on the report name. If we want to run a report click on “Run Report” to run automatically.
Ans:Custom report types in salesforce allows us to build framework in the report wizard when creating custom reports. This custom reports can be created between standard and custom objects.
Ans:Trend reports in salesforce are those which displays historical data. Trend reports are used to analyse which fields contains data that we want to leave out.
Ans:Matrix reports is salesforce are those where the data is arranged in grid format having rows and columns. Data is arranged vertically and horizontally in tables like excel format.
[Related articles: Salesforce Career path]
Ans:Custom reports in salesforce are those created by user with specific criteria. These type of report can be deleted, edited and stores in personal folders.
Ans:Standard reports in salesforce are those provided by salesforce.com. These type of reports can not be deleted and used primarily for creating custom reports.
Batch starts on 28th Sep 2023, Weekday batch
Batch starts on 2nd Oct 2023, Weekday batch
Batch starts on 6th Oct 2023, Fast Track batch