15
FebNew Year Special : Self-Learning Courses: Get any course for just $49! - SCHEDULE CALL
Salesforce process builder is a powerful tool you can use to automate business processes. It has a simple interface that allows you to point and click to select objects and fields while setting up immediate and time-based actions. A Process builder allows you to do more than a simple workflow would. It is a tool that allows you to automate business processes using a graphical representation of your process. It is like a workflow tool that helps you easily automate your business processes by providing a powerful and user-friendly visual representation of your process. The Process Builder’s simple and powerful design allows you to build customize the automated process.
There are several different actions you can trigger the process builder. These actions are:
The process builder is more flexible in comparison to the workflow. In workflow rule can’t update child record, Post to Chatter, auto submits record in the Approval process, invoke an apex or call flows.
Salesforce Training For Administrators & Developers
Read: Salesforce Platform Developer 1 Certification: How to Pass it?
Setup =>Create =>Build=>Process builder=>New
Read: An Ultimate Guide to Salesforce Controllers
public class invokeAppoveExample {
@InvocableMethod
public static void recordInsert(list<id>ids){
list<account>acc= [select id from account where id in:ids];
for(account a :acc){
opportunity op = new opportunity();
op.Name=a.Name;
op.CloseDate=system.today();
op.StageName='closed won';
op.AccountId=a.id;
op.Amount=a.AnnualRevenue;
insert op;
}
}
}
Now go to account update it sees its related contact will be updated, you will also a notification of address update
Learn Salesforce in the Easiest Way
Read: What is Inbound Email Service in Salesforce?
Type | Process Builder | Workflow |
Complexity | Multiple if/then statements | A single if/then statement |
Visual designer | ||
Browser support | All (Chrome recommended) | All |
Starts when | · Record is changed · Invoked by another process | Record is changed |
Supports time-based actions | ||
Call Apex code | ||
Create records | Tasks only | |
Invoke processes | ||
Launch a flow | (Pilot)1 | |
Post to Chatter | ||
Send email | (Email alerts only) | (Email alerts only) |
Send outbound messages without code | ||
Submit for approval | ||
Update fields | Any related record | The record or its parent |
With this blog, you have learned what is a process builder in Salesforce and how it works. Let us summarize the blog in a few points. You can perform the following actions with process builder:-
If you have any queries related to process builder in Salesforce then drop your query in the comment section below. Happy learning!
A dynamic, highly professional, and a global online training course provider committed to propelling the next generation of technology learners with a whole new way of training experience.
Cyber Security
QA
Salesforce
Business Analyst
MS SQL Server
Data Science
DevOps
Hadoop
Python
Artificial Intelligence
Machine Learning
Tableau
Search Posts
Related Posts
How Much Does Salesforce Certification Cost?
842.4k
How to Become a Salesforce Consultant: Salesforce Consultant Career Path
6.4k
How to Create Visualforce Page in Salesforce
808.6k
A Detailed Guide on Salesforce Developer Roles & Responsibilities
12.4k
Salesforce Administrator | Salesforce Admin Skills, Importance & How to Become a Salesforce Admin
7.5k
Receive Latest Materials and Offers on Salesforce Course
Interviews