Day 10 Process Builder
Day 10 Process Builder
Agenda
1. What is Process Builder?
2. Components of Process Builder
3. Process Types
4. Similarities b/w Process Builder & Workflow
5. Process Builder vs Workflow
6. Version Management
7. Business Use Case
What is Process Builder?
Process Builder is a point-and-click tool that lets you easily automate if/then business processes and see
a graphical representation of your process as you build.
Components of Process Builder
Every process consists of a trigger, at least one criteria node, and at least one action.
The trigger identifies when the process should run. For record change processes, the trigger determines
which object and which of the following changes the process should pay attention to.
While a process gets one trigger, you can add as many criteria nodes as your heart desires. Each criteria
node controls whether or not the process executes the associated actions. If the record doesn’t meet the
criteria, the process skips those actions and moves on to the next criteria node in the process.
When a criteria node evaluates to true, the process executes the associated actions or waits to execute
them at a scheduled time.
Process Builder can automate a few kinds of business processes. The main difference is the trigger:
when the process starts.
Similarities b/w Process Builder & Workflow
You can use the Process Builder to perform more actions than with workflow:
● Create Task
● Update Field
● Email Alert
● Outbound Message
Process Builder vs Workflow
● Process Builder gives admins the ability to set the exact order of
operations, whereas with Workflow we had no control. No more complex
workarounds to be able to ensure things happen in a certain order!
● Since Process Builder also has the ability to configure multiple if-then
conditions in one Process rather than separate Workflow rules, it helps
admins to visualize the business processes with its sleek visual interface.
Complexity Multiple if/then statements Complex A single if/then statement A single if/then statement
Browser support All (Chrome recommended) All (Safari not recommended) All All
Starts when •Record is changed •User clicks button or link Record is changed •User clicks button or link
•Invoked by another process •User accesses custom tab •Process or flow starts that includes a Submit for
•Process starts Approval action
•Apex is called •Apex is called
Supported Actions
Update fields Any related record Any record The record or its parent The record or its parent
Business Use Case
3. Once you are done click on the Save button, it will redirect you to Process
canvas. Click on Object node to add object, Select Quote object, in this case,
and set the evaluation criteria, Please refer to the following screenshot for
more details
Business Use Case
4. The next step is to define Process criteria. For this click on Add Criteria node, enter Criteria
Name, Set filter conditions (Similar to Rule Criteria in WFR),
•For Criteria action select Filter conditions are met
•Enter criteria [Quote].Status= Accepted
•For Filter conditions select All of the conditions are met (AND), Please refer to the following
screenshot for more details
Business Use Case
Business Use Case
5. Next step is to update the related Quotes from the same Opportunity to Denied. For this use, we will
use Immediate action, Update Records. To select the related quotes , lease refer to the following
screenshot for more details
Business Use Case
Then select the fields Status and for value select Denied fields, as shown in the following screenshot.
Business Use Case
6. Once you are done click on the Save button, it will redirect you to Process canvas. Now we have to
add one more Immediate action into the Process to update the accepted Quote Description & Status
field. For this use Update Records action. Use Field Picker to select the field Description and Text
Entry field to enter a comment or sentence. Please refer to the following screenshot for more details.
Business Use Case
7. Finally the Process will look like the following screenshot, don’t forget to active the Process by
clicking on the Activate button.
Assignment
1. Create a workflow to send an email to Account Owner when the contact status is changes
1. Lightning Flow :
https://trailhead.salesforce.com/content/learn/modules/business_process_automation