Salesforce Notes Jyoti
Salesforce Notes Jyoti
Workflow Rules
Workflow is a Salesforce platform business-logic engine that allows to automatically send email
alerts,assign tasks, or update field values based on rules that you define.
1. Criteria: criteria is the “If” part of the “If/then” statement. In the other words, what must
be true of the record for the workflow rule to execute the associated actions.
2. Actions: actions is the “then”part of the if/then statement. In other words, what to do
when the record meets the criteria.
Set the criteria for Workflow rule
The Object that determines the records on which the workflow rule is implemented. This object
determines the records the workflow evaluates, as well as the fields available for setting the
rule criteria.
Evaluation criteria that determines which changes trigger the workflow rules like only
when accounts are created.
Rule criteria that identify what must be true about the record for Salesforce to execute
the associated actions.
Workflow actions: The automatic action to be performed depending upon the outcome of the
criteria.
Immediate Actions : The workflow actions which are immediately executed after the
criteria is met.
Time Dependent Actions : Time-dependent actions are executed at a specific time,
such as 10 days before a record’s close date.
Workflow process
Immediate Actions :
Tasks: Assign a new task to a user, role, or record owner.
Email Alerts: Send an email to one or more recipients you specify.
Field Updates: Update the value of a field on a record.
Outbound Messages: Send a secure, configurable API message (in XML format) to a
designated listener.
Workflow Actions
Time Dependent Actions :
1. Open a workflow rule.
2. In the Time-Dependent Workflow Actions section, click Add Time Trigger.
3. Specify a number of days or hours before or after a date that’s relevant to the record,
such as the date the record was created.
4. If the workflow rule is still active and valid when this time occurs, the time trigger fires the
workflow action.
5. Save your time trigger.
6. In the section for the time trigger you created, click Add Workflow Action.
7. Select one of the options to create an action or select an existing one.
8. Click Done.
Creating a Workflow rule
Step 1 : Creating new Workflow Rule
a. Navigate to Setup → Build → Create → Workflows and Approvals → Workflow Rules.
b. Click on Continue.
b. Specify Description as Additional 20 Percent Discount for Opportunities generated via Web
to Lead.
b. Select Lead Source field. Specify Lead Source equals Web. Click Save & Next.
Step 4 : Creating Workflow Actions : Email Alert
a. Click on Add Workflow Action drop down button.
c. Specify Description as Email Alert for Additional 20 Percent Discount. Note that Unique Name
gets auto populated.
d. Select Text Email Template created earlier — Alert for Sales Owner.
g. Note that From Email Address is populated as “Current User’s Email address’. Click Save.
Step 5 : Creating Workflow Actions : Field Update
a. Click on Add Workflow Action button and select New Field Update.
b. Specify Name as Additional Discount. Note that Unique Name gets auto populated.
f. Specify new value as Amount — Amount * 0.2. Click Check Syntax to check errors. Click Save.
Step 6 : Activate Workflow
a. Once you are done defining all actions, click done.
You can control which users have access to which data in your whole org, a specific object, a
specific field, or an individual record.
Organization Level
For your whole org, you can maintain a list of authorized users, set password
policies, and limit logins to certain hours and locations.
Objects Level
Access to object-level data is the simplest thing to control.
By setting permissions on a particular type of object, you can prevent a group of users
from creating, viewing, editing, or deleting any records of that object.
For example, you can use object permissions to ensure that interviewers can view positions
and job applications but not edit or delete them.
Fields Level
You can restrict access to certain fields, even if a user has access to the object.
For example, you can make the salary field in a position object invisible to interviewers but
visible to hiring managers and recruiters.
Records Level
You can allow particular users to view an object, but then restrict the individual object
records they’re allowed to see.
For example, an interviewer can see and edit her own reviews, but not the reviews of other
interviewers.
You can manage record-level access in these four ways.
Organization-wide defaults (OWD) specify the default level of access users have to
each others’ records. You use org-wide sharing settings to lock down your data to the
most restrictive level, and then use the other record-level security and sharing tools to
selectively give access to other users.
Role hierarchies give access for users higher in the hierarchy to all records owned by
users below them in the hierarchy. Role hierarchies don’t have to match your organization
chart exactly. Instead, each role in the hierarchy should represent a level of data access
that a user or group of users needs.
Sharing rules are automatic exceptions to organization-wide defaults for particular
groups of users, so they can get to records they don’t own or can’t normally see. Sharing
rules, like role hierarchies, are only used to give additional users access to records. They
can’t be stricter than your organization-wide default settings.
Manual sharing allows owners of particular records to share them with other users.
Although manual sharing isn’t automated like org-wide sharing settings, role hierarchies,
or sharing rules, it can be useful in some situations, such as when a recruiter going on
vacation needs to temporarily assign ownership of a job application to someone else.
Salesforce Process Builder – A Detailed Guide
What is Process Builder in Salesforce?
Process Builder is a powerful point-and-click automation tool in Salesforce that allows users to automate business processes without writing
Apex code. It enables users to define rules and actions that trigger when certain conditions are met.
Specify criteria for executing the action (e.g., if Opportunity Stage = "Closed Won").
Use multiple conditions (Field Value, Formula, Boolean).
3️⃣ Define Actions
Step-by-Step Implementation
Object: Opportunity
Process Starts When a Record is Created or Edited
Click Activate
Process runs whenever an Opportunity is marked Closed Won 🚀
✅ Used for automating approval workflows like Leave Requests, Discounts, Budget Approvals, etc.
✅ Ensures consistency and compliance in business processes
✅ Supports multi-step approvals, escalations, and notifications
A company wants to approve Opportunities above $50,000 before they can be closed.
Click Activate
Test by creating an Opportunity above $50,000
Verify if it routes for approval correctly
💡 Use Flow for complex automation. Use Approval Process for standard approvals.
What Is Salesforce.com?
“A global web-based application and cloud computing company best known for its Customer
Relationship Management (CRM) product. They specialize in Software-as-a-Service (SaaS) to help
users handle all of their business needs.”
Salesforce is a customer success platform, designed to help users to sell, provide services, market
products and services, analyze data, and connect with their customers.
Salesforce has everything required to run a business from anywhere. Using standard products like
sales cloud, service cloud, etc, and features, users can manage relationships with customers,
collaborate and engage with employees and partners, and store their data securely in the different
data centers of the cloud.
But standard products and features are only the beginning. Salesforce Platform allows users to build
new custom products, customize existing and new products and personalize the experience for
customers, partners, and employees and easily extends beyond out-of-the-box functionality.
It is a suite of CRM products that work together to make today’s corporations function more efficiently
and profitably. They touch many functional areas in the company.
What Is CRM?
CRM stands for Customer Relationship Management, which is a process or methodology used to learn
more about customers’ needs and behaviors in order to help them through new solutions which
eventually develop stronger relationships with them.
This technology allows users to manage relationships with their customers and track data related to
all of their interactions. It also helps teams collaborate, both internally and externally, gather insights
from social media, track important metrics, and communicate via email, phone, social, and other
channels.
The more useful way to think about CRM is as a process that will help bring together lots of pieces of
information about customers, sales, marketing effectiveness, responsiveness, and market trends.
Read More:
What is Salesforce? A Comprehensive Guide for 2024
Advantages Of CRM
Discover new customers.
Increase customer revenues.
Provide better customer service.
Sell products more effectively.
Help sales staff close deals faster.
Make call centers more efficient.
Simplify marketing and sales processes
1. Salesforce: Salesforce is a cloud company. Everything they offer resides in the trusted, multi-
tenant cloud.
2. Platform: The Salesforce platform is the foundation of services. It’s powered by metadata and
made up of different parts, like data services, artificial intelligence, and robust APIs for
development.
3. Application: All apps sit on top of the platform. Salesforce prebuilt offerings like Sales Cloud
and Marketing Cloud, along with apps you build using the platform, have consistent, powerful
functionality.
1. Sales Cloud
“Sales Cloud is a specific Salesforce application designed to help organizations sell smarter and faster
by centralizing customer information, logging interactions, and allowing for collaboration across
teams. It puts all of your customer and prospect information in one place, giving sales teams the
ability to be more productive.”
Imagine there is a Sales team in a software company getting new leads(i.e. potential customers) very
frequently from the Marketing team, they need to communicate with every lead, as per their details of
them, and when leads get converted, store their deals-related information and need to generate
invoices of customers orders. Throughout the whole process, the sales cloud helped them to keep
track of the sales-related data, which helped them to improve and work efficiently.
2. Service Cloud
“Service Cloud enables users to automate service processes, streamline workflows and find key
articles, topics, and experts to support customer service agents. The purpose is to foster one-to-one
marketing relationships with every customer across multiple channels and devices.”
Imagine there is a telecommunication company, in which there is a customer support team, which is
helping customers solve their problems. Now using Service Cloud, they were able to keep track of
each problem and solution as well. Whenever the same problems come, automatically the solution will
be assigned to the problem. Through this, the efficiency of the team increased, response time
decreased and customers were able to receive a comparatively quicker solution.
3. Marketing Cloud
“Salesforce Marketing Cloud is a digital marketing platform that automates marketing across email,
social media, mobile apps, SMS, websites, and more.”
Imagine there is a retail company, that wants to do email marketing to their customers. So, they used
the marketing cloud, which enables them to send personalized mail to millions of customers, based on
each and every customer’s previous purchase history. Not only this, they are able to keep track of
open rates, click-through rates, and conversion rates.
4. Commerce Cloud
“Commerce Cloud is a key part of the Salesforce Customer Success Platform and offers e-commerce
solutions for B2C (business to consumer) and B2B (business to business) customers.”
Imagine there is a fashion retailer company that uses the Salesforce commerce cloud to manage its
online store. They are able to suggest similar accessories that their customers are interested in or
based on the customer’s last interaction with the web store. Through the commerce cloud, they were
able to provide a seamless customer experience, which eventually increases sales and builds
customer loyalty.
5. Experience Cloud
“Salesforce Experience Cloud enables enterprises to create and manage communities more
effectively. It allows you to create portals, support centers, forums, websites, and smartphone apps,
and administer your content.”
Think of various portals or forums where users come and interact with each other, and discuss solving
each other problems.
6. Health Cloud
“Salesforce Health Cloud is a platform for managing doctor-patient interaction and recordkeeping. It
brings together a wide range of data from several sources in one location, providing you with a
complete picture of everything about each patient, both clinical and non-clinical.”
It allows automated scheduling of appointments and also helps in conducting virtual health care for
patients so, that they can take care of from the comfort of their homes.
“It provides a user-friendly platform to handle all customer data, build more trusted relationships, and
create more seamless digital experiences at any touchpoint. It is designed to meet the demands of
companies in the financial sector: banks, insurance agents, mortgage and loan companies, and
others.”
Imagine a bank that provides loans and credit card services, which involves customer verification like
financial condition, and all of that can be done using the financial service cloud.
8. Education Cloud
“It allows educational institutions to create solutions for recruitment, admission, and registration while
also improving the student experience in the course of the teaching process and extracurricular
activities.”
It helps educational institutions to provide the right recommendations like tuition, extra class, and
books, to students according to their performance.
The first set of upgrades happens on sandbox instances 4-6 weeks before a release goes into
production. After that, all customers run the same version of Salesforce, complete with all the latest
features.
Salesforce platform offers features such as better efficiency by removing any worries related to
database maintenance. At its core, Salesforce Platform enables organizations to create and customize
applications that cater to their unique needs, making it a versatile solution for various industries. Here
is a little Salesforce platform overview for you guys to remember:
Read More:
50 Salesforce Interview Questions That Will Get You Hired in 2024
Salesforce platform architecture is called multi-tenant, which allows a single instance of software to
serve multiple users or tenants. Each tenant’s data is logically separated and secured, ensuring data
isolation and privacy. It proves to be economical due to the sharing of resources and maintenance.
Also, there can be a single instance of a software server with multiple tenants.
Next, let’s take a look at some major benefits offered by Salesforce Platform.
Salesforce, as a leader in CRM platforms, is known for its robust capabilities and versatility. Hence,
some of the major benefits of Salesforce Platform are as follows:
It enables the creation of a comprehensive view of every customer, including their preferences,
inclinations, and history.
Salesforce itself is highly scalable, thus making it suitable for businesses of various sizes.
It eliminates the need for complex on-premises infrastructure and maintenance due to being a
cloud-based platform.
It offers powerful automation tools such as workflow automation, process builder, and flow.
It seamlessly integrates with various third-party applications and services.
Salesforce offers mobile applications that enable users to access critical data and functionality
on the go.
You must be familiar with Salesforce and its benefits now. In the next part, we will further explore the
key characteristics of Salesforce Environment. So, keep going to know more about it!
There are multiple characteristics connected with the environments of Salesforce. Some important
ones are as follows:
It contains data (Records) and customizations (Custom Database objects and fields).
It is used for development, testing, and production.
Environments are not provisioned with certain advanced features such as multi-currency or
develop preview technology by default. One can request activation of such functionality by
contacting the official site Salesforce.com in the customer support column.
Although it is possible to access all environments through a Web browser, you can also access it
from Force.com IDE, SOAP.
Every environment is based on an edition that contains specific objects, storage, functionality,
and limits.
Environments are designed while keeping data isolation in mind to ensure integrity and security.
Different kinds of environments offer varied levels of resources.
Environments support version control integration, ensuring that changes are tracked, managed,
and documented.
Collectively, Salesforce environment forms a structured development and deployment lifecycle. It also
allows organizations to manage changes effectively, minimize risks, and maintain the stability of their
live Salesforce systems. Next, let’s take a look at the types and uses of the available environments in
Salesforce.
So, here is a brief description of all the main types of Salesforce environments. Different kinds of
people make use of these environments at their convenience. So, let’s dive deeper into the uses of
Salesforce Environments.
Production Environment
This is the live environment where your users interact with Salesforce daily. There are active paying
users in this environment who access business-critical data. Changes made in developer or sandbox
environments are eventually deployed here.
Developer Environment
This environment is used by developers for coding and creating custom functionalities without
affecting the production environment. These are those environments where you can develop,
integrate, and extend on Force.com without affecting your production environments.
Sandbox Environment
Sandboxes are copies of your production environment, used for testing and development purposes.
They allow you to experiment with changes before implementing them in the live environment. More
specific usage includes testing functionality before releasing it to customers or deploying it to
production.
Partners
Partners often work closely with Salesforce, thus requiring multiple development and testing
environments. These environments allow them to build, customize, and test Salesforce solutions for
their clients. They can create fine-tuned custom applications, configurations, and integrations in these
environments before deploying them to the client’s production environment.
Developers
Salesforce developers, whether individual or working with Salesforce partners, use developer editions
to write and test code, develop custom features, and experiment with new Salesforce functionalities.
Do you need clarification on why so many environments are used in Salesforce? Having distinct
environments for various purposes ensures data integrity, minimizes risks, and supports efficient
development and testing of Salesforce solutions. It also allows for different user roles (customers,
developers, partners) to work cohesively in Salesforce while maintaining a clear separation between
live business operations and activities such as development or testing. Further, we will discuss
environment licenses in Salesforce.
Read More:
How To Become a Salesforce Developer in 8 Steps
Group Edition
Professional Edition
Enterprise Edition
Unlimited Edition
The environment of Salesforce itself has changed a lot but in an upward direction. In such a case, one
can start functioning with a group edition and then upgrade it with a professional edition > Enterprise
edition > Unlimited edition.
There is a particular type of license that does not allow for conversion to production and is called a
development license. It is the same for Sandbox. One cannot upgrade Sandbox but can buy additional
or different types of Sandbox if that particular individual has enterprise or unlimited Force.com
edition.
Imagine it as a workshop where you craft your Salesforce solutions, ensuring they meet the highest
standards. Salesforce development environments provide you with a safe and controlled space to
hone your skills, experiment with new features, and innovate without the risk of affecting the live
Salesforce instance used by your organization. Some characteristics of Salesforce development
environment are:
It is a free and fully featured copy of the Enterprise edition with fewer users and storage.
You can sign up for as many development environment organizations as you may need.
It allows for building applications designed for any Salesforce production environment.
Next, let’s discuss the Sandbox development environment as a type of Salesforce development
environment.
It can include data, configurations, or both at the same time. You can create multiple sandboxes in
your production environment for different purposes without compromising data or applications.
Note: Since the Force.com edition runs on top of the Enterprise or Unlimited edition, you can
potentially have the same number of Sandboxes listed in the following table:
Next, let’s discuss some of the best practices and development considerations you need to follow in
the development environment as a Salesforce developer.
Also, you need to identify whether or not the available environment is the best fit or larger is required.
If you need a large development environment as DE is not upgraded to Partner DE in an instant.
Before building a customer editing app for Salesforce CRM, check the supported features for each
edition.
In other words, do not assume that if a feature is present in your developer edition environment, it is
also available to customers with group or professional editions. Additionally, it’s crucial to perform
testing before deployment. Remember to keep your development and testing environment separate.
In essence, for you to do all of this, there will be a need for a development environment that mimics
the production environment and has beta testers use it. Salesforce testing environment is the answer
to all your needs and provides spaces that are specifically set up for testing and quality assurance.
It allows you to thoroughly evaluate and validate changes, configurations, customizations, code, and
integrations before deploying them to a live production environment. The various key characteristics
of this environment are as follows:
The testing environment is separate from the live production environment, ensuring that any
testing activities or changes made do not impact real customer data or processes.
Depending on the type of sandbox used for testing (Partial or Full), the testing environment may
replicate various aspects of the production environment, including data and metadata. This
replication allows for realistic testing scenarios.
Organizations can use the testing environment for various types of testing, including unit testing,
integration testing, load testing, user acceptance testing (UAT), and regression testing.
The primary goal of the testing environment is to ensure the quality, reliability, and functionality
of changes. It helps identify and resolve issues, errors, or unexpected behaviour in a controlled
setting.
Developers, administrators, and quality assurance teams can explore and experiment with
changes, configurations, and new features without the risk of affecting live customer data.
In some cases, the testing environment can also serve as a space for training and onboarding
new users or employees on Salesforce features and processes.
In case you don’t have access to the Salesforce sandbox, you can use a DE environment as your
testing environment. The standard DE environment has limits in terms of storage and license. We will
describe the larger test environment available to partners, customers, and developers in the table
below:
In the next part, we will discuss the differences between the various Salesforce editions.
You are a partner developing a managed package to release commercially, and you need a
sandbox to test your beta-managed package.
You want to make sure that the application will run smoothly in Enterprise and Force.com
editions.
You are a partner looking for a production-like environment with more storage and users to run
tests identical to real usage.
You are a partner developing a managed package for release commercially and require testing
your beta managed package against Professional Edition. Note: This special Professional Edition
test environment will allow the installation of beta managed package.
You want to be sure that your application will run smoothly in the Professional edition.
You are a partner looking for a production-like environment with more storage and users to run
tests identical to real usage.
Sandbox
The Sandbox virtual environment is ideal if:
Having upgraded your understanding of the environments and what’s there for you to take leverage,
let’s take a look at a few scenarios that you, as a customer, partner, and developer, may encounter.
Scenarios
1. You are a Developer looking to get started for free building a Force.com application
2. You are a Customer wanting to build a new Force.com application for your production environment
Get a Sandbox or free Development Edition environment.
4. You are a partner looking to build and sell a composite application that integrates with Force.com
6. You want to develop an application that has a relation with existing customization
Set up a Sandbox
7. You want to make an application or go for an implementation that will only use 200 MB storage and
existing customization
8. You want existing customization with data existing in production, and the same data is sufficient
9. You want existing customization and also need data that exist in production, and if all data is
required
Full Copy Sandbox
Key Responsibilities
2. User Management
Creating & Managing Users
Private – Only owner and higher roles can see the record
Public Read-Only – Everyone can see but not edit
Public Read/Write – Everyone can edit
Controlled by Parent – Follows Parent record's access
Additional Security Features
4. Data Management
Data Import & Export
Duplicate Management
Approval Process
Types of Reports
Type Purpose
Tabular Simple list of records
Summary Grouped by fields (e.g., total sales by region)
Matrix Grouped by both rows & columns
Joined Multiple report types combined
Dashboards
Type Description
Standard Objects Predefined (e.g., Account, Contact, Opportunity)
Custom Objects Created for business-specific needs
Field Types
✔ Text, Number, Date, Picklist
✔ Formula (auto-calculated values)
✔ Lookup & Master-Detail Relationships