SlideShare una empresa de Scribd logo
1 de 30
Descargar para leer sin conexión
KT Sessions
Sharing the awesome!
14-08-2015
Process Builder vs Triggers
YOU DECIDE
Process Builder Overview
ü  Release as Beta in the Winter 15 Salesforce release
ü  Enables Admins to be less reliant on development resources
ü  And be utilized to automate all workflow actions (with the exception of
outbound messages)
Process Builder Benefits (1)
Here are a few of the bigger features of Process Builder that weren’t possible with
configuration before:
Workflow was limited to just field updates, creating tasks and email alerts. With Process
Builder we can:
Create Records – in addition to updating a record you
can create a record and set the field values within the
record.
Process Builder Benefits (1)
Here are a few of the bigger features of Process Builder that weren’t possible with
configuration before:
Workflow was limited to just field updates, creating tasks and email alerts. With Process
Builder we can:
Create Chatter Posts – push a Chatter update into
a Group or Feed.
Process Builder Benefits (1)
Here are a few of the bigger features of Process Builder that weren’t possible with
configuration before:
Workflow was limited to just field updates, creating tasks and email alerts. With Process
Builder we can:
Create an Approval – traditionally you needed a trigger
to automatically push a record into an approval process.
With Process Builder you can do this automatically based
on the criteria of the Process.
Process Builder Benefits (1)
Here are a few of the bigger features of Process Builder that weren’t possible with
configuration before:
Workflow was limited to just field updates, creating tasks and email alerts. With Process
Builder we can:
Easily Consolidate Workflow – consolidate multiple
workflow rules that into one process.
Process Builder Benefits (2)
And more:
Launch a Flow – Right from a Process, you can launch an
automated flow process.
Call an Apex Class – you can now call an Apex class.
Be extremely careful when doing this!
Process Builder Benefits (2)
And more:
Simple triggers like populating a lookup field based on certain
criteria, can now be automated in process builder without any
code required.
Complicated business processes, such as renewal
automation, can be automated in conjunction with Flow.
Round 1 – Process Builder VS Trigger
Populate a lookup
field on record update
SCENARIO
Process Builder
Trigger
OPTIONS
Traditionally been
something that requires
a trigger, Process Builder
allows administrator
can do this without the
use of code.
REASON
Round 1 – Process Builder VS Trigger
Set an Account
Owner based on
Record Criteria
SCENARIO
Process Builder
Trigger
OPTIONS
Process builder can be
used to assign
ownership on records
based on criteria in
the object.
REASON
Round 1 – Process Builder VS Trigger
Post a Chatter
message based on
record criteria
SCENARIO
Process Builder
Trigger
OPTIONS
Process builder can be
used to post to
Chatter based on
record criteria.
REASON
Round 1 – Process Builder VS Trigger
Submit a Quote
for Approval when
Opportunity Stage
= Proposal
SCENARIO
Process Builder
Trigger
OPTIONS
Requires two Processes, One
to update the Quote based
on the Opportunity stage
and another to Submit the
Quote for approval when the
criteria on the quote had
been met.
REASON
Round 1 – Process Builder VS Trigger
Launch a Flow via
record criteria vs. a
button or link
SCENARIO
Process Builder
Trigger
OPTIONS
Process Builder can be
used to set record
criteria and then launch
a trigger ready flow. NB.
Only ‘trigger-ready’
flows can be selected.
REASON
Round 1 – Process Builder VS Trigger
Populate a text
field with object ID
SCENARIO
Process Builder
Trigger
Workflow
OPTIONS
If it is a cross object and
can’t be done with workflow
use process builder. If it is
part of a complex trigger
leave the field set within the
trigger due to conflicts with
the order of operations
REASON
Round 1
Process Builder Trigger
6	
  	
  	
  	
  	
  	
  	
  	
  	
  0	
  
Round 2 – Process Builder VS Trigger
Assign Ownership to a Custom
Object based on criteria
SCENARIO
Process Builder
Trigger
Depends on complexity
OPTIONS
Round 2 – Process Builder VS Trigger
Process builder can assign ownership based on object criteria and
set an order of actions.
However, processes require a user to create a new process each
time a change is needed. It can become a burden to administer
these rules via Process Builder as the more rules you have, the
more unwieldy it will become. Once you get too complex a custom
option may be required.
REASON
Round 2 – Process Builder VS Trigger
Clone an opportunity and change
field values
SCENARIO
Process Builder
Trigger
OPTIONS
Round 2 – Process Builder VS Trigger
Although Process Builder can create a new record it cannot
reference any of the values from the cloned opportunity without
the use of a Flow to capture the opportunity values (NB this can
probably be done with Flow and Process Builder but the quickest
approach right now is to use a trigger).
REASON
Round 2
Process Builder Trigger
0	
  	
  	
  	
  	
  	
  	
  	
  	
  1	
  
The Champion is…
Process Builder x Trigger
Process Builder Limitations
ü  Editing – Users cannot edit a process once it has been activated.
Therefore much like with flow a new process needs to be created by
cloning the initial process and making modifications to that cloned record.
ü  Autosave – Won’t allow a user to cancel out of a process when they have
made unwanted changes (Autosave + Undo = Perfection).
ü  Troubleshooting - UI does not allow an Admin to tell who created a
Process, when it was created, or the ID for that Process. Also all trouble
shooting must be done in the debug log.
Process Builder Limitations
ü  Validation – Processes DO NOT trigger Validation rules and can therefore
invalidate data.
	
  
ü  Deletion – Inactive Processes cannot be deleted for at least 12 hours after
inactivation and do not appear in the Recycle Bin.
ü  Error messages – You cannot specify error messages when creating a
process that doesn’t trigger like you can with flow or validation rules.
ü  Formula Help – When utilizing a formula in criteria there is no function
help preview next to the Syntax.
Process Builder Limitations
ü  Order – You can’t change the order of criteria nodes or actions, after you
add them the only way to reorder is to delete them and start over.
ü  Syntax – Picklist fields are evaluated as text fields in process builder so
they won’t support any picklist formulas like ISCHANGED or ISNEW. Note
– with Spring 15 the formula ISCHANGED is now a function vs. a formula
and will work with picklists.
ü  Setting field values - You cannot populate a field with a formula in
process builder. You can only manually enter a literal or select another
variable (i.e. field). To populate a text field with a formula create a
separate formula field and then reference that in your process
Process Builder Best Practices
Check– to see if there are any workflows on the object doing the same
thing as the process. Also verify no active Apex triggers.
Avoid– interweaving Apex, Workflow, and Processes together for the
same process. As Workflows and Triggers don’t always place nice
together so holds true for Processes.
Even if you do get them to work, it’s a bad practice to spread logic over
multiple methods. Keep it all together in one place so you can see what’s
happening down the entire flow.
Process Builder Best Practices
Document – Use the description field to populate information such as
when it was created by who and what the process does. In addition, if
processes work in conjunction with each other, reference the other(s)
process names in the description field.
Test – And then test some more. Especially when you’re first starting to
use this please practice in a sandbox first and really test out what you’re
trying to do. There’s a lot of ability to impact users and data here if you
do something wrong.
Process Builder Screenshots
Questions?
Process Builder vs Trigger
By Chris Franklin and Egor Cole
THANKS!

Más contenido relacionado

La actualidad más candente

Performance Testing in Oracle Apps
Performance Testing in Oracle AppsPerformance Testing in Oracle Apps
Performance Testing in Oracle AppsBiswajit Pratihari
 
Batchable vs @future vs Queueable
Batchable vs @future vs QueueableBatchable vs @future vs Queueable
Batchable vs @future vs QueueableBoris Bachovski
 
Introduction to ibm cloud paks concept license and minimum config public
Introduction to ibm cloud paks concept license and minimum config publicIntroduction to ibm cloud paks concept license and minimum config public
Introduction to ibm cloud paks concept license and minimum config publicPetchpaitoon Krungwong
 
Oracle使用者安全設定
Oracle使用者安全設定Oracle使用者安全設定
Oracle使用者安全設定Chien Chung Shen
 
10 Tips for Successful 12.2 Upgrade
10 Tips for Successful 12.2 Upgrade10 Tips for Successful 12.2 Upgrade
10 Tips for Successful 12.2 UpgradeOAUGNJ
 
Oracle Time and Labor (OTL) Setup for Project
Oracle Time and Labor (OTL) Setup for ProjectOracle Time and Labor (OTL) Setup for Project
Oracle Time and Labor (OTL) Setup for Projectiavinashpatel
 
Tối ưu-cau-lệnh-oracle-sql
Tối ưu-cau-lệnh-oracle-sqlTối ưu-cau-lệnh-oracle-sql
Tối ưu-cau-lệnh-oracle-sqlViet Tran
 
Performance Management in Oracle 12c
Performance Management in Oracle 12cPerformance Management in Oracle 12c
Performance Management in Oracle 12cAlfredo Krieg
 
Keynote Oracle Fusion Middleware Summit_2020
Keynote Oracle Fusion Middleware Summit_2020Keynote Oracle Fusion Middleware Summit_2020
Keynote Oracle Fusion Middleware Summit_2020Michel Schildmeijer
 
Oracle cash management_Anne
Oracle cash management_AnneOracle cash management_Anne
Oracle cash management_Anneanuraj-sandhu
 
Batch Apex in Salesforce
Batch Apex in SalesforceBatch Apex in Salesforce
Batch Apex in SalesforceDavid Helgerson
 
Episode 8 - Path To Code - Integrate Salesforce with external system using R...
Episode 8  - Path To Code - Integrate Salesforce with external system using R...Episode 8  - Path To Code - Integrate Salesforce with external system using R...
Episode 8 - Path To Code - Integrate Salesforce with external system using R...Jitendra Zaa
 
Oracle e-business suite R12 step by step Installation
Oracle e-business suite R12 step by step InstallationOracle e-business suite R12 step by step Installation
Oracle e-business suite R12 step by step InstallationOraERP
 
WebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload ProtectionWebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload ProtectionJames Bayer
 
Oracle Financials R12 - GL STEP 3 - Journal Controls
 Oracle Financials R12 - GL STEP 3 - Journal Controls Oracle Financials R12 - GL STEP 3 - Journal Controls
Oracle Financials R12 - GL STEP 3 - Journal ControlsMohammed Raouf
 

La actualidad más candente (20)

Performance Testing in Oracle Apps
Performance Testing in Oracle AppsPerformance Testing in Oracle Apps
Performance Testing in Oracle Apps
 
Batchable vs @future vs Queueable
Batchable vs @future vs QueueableBatchable vs @future vs Queueable
Batchable vs @future vs Queueable
 
Introduction to ibm cloud paks concept license and minimum config public
Introduction to ibm cloud paks concept license and minimum config publicIntroduction to ibm cloud paks concept license and minimum config public
Introduction to ibm cloud paks concept license and minimum config public
 
Oracle使用者安全設定
Oracle使用者安全設定Oracle使用者安全設定
Oracle使用者安全設定
 
10 Tips for Successful 12.2 Upgrade
10 Tips for Successful 12.2 Upgrade10 Tips for Successful 12.2 Upgrade
10 Tips for Successful 12.2 Upgrade
 
Oracle Time and Labor (OTL) Setup for Project
Oracle Time and Labor (OTL) Setup for ProjectOracle Time and Labor (OTL) Setup for Project
Oracle Time and Labor (OTL) Setup for Project
 
Tối ưu-cau-lệnh-oracle-sql
Tối ưu-cau-lệnh-oracle-sqlTối ưu-cau-lệnh-oracle-sql
Tối ưu-cau-lệnh-oracle-sql
 
Performance Management in Oracle 12c
Performance Management in Oracle 12cPerformance Management in Oracle 12c
Performance Management in Oracle 12c
 
Keynote Oracle Fusion Middleware Summit_2020
Keynote Oracle Fusion Middleware Summit_2020Keynote Oracle Fusion Middleware Summit_2020
Keynote Oracle Fusion Middleware Summit_2020
 
Oracle cash management_Anne
Oracle cash management_AnneOracle cash management_Anne
Oracle cash management_Anne
 
Governor limits
Governor limitsGovernor limits
Governor limits
 
Oracle Assets
Oracle AssetsOracle Assets
Oracle Assets
 
Batch Apex in Salesforce
Batch Apex in SalesforceBatch Apex in Salesforce
Batch Apex in Salesforce
 
Episode 8 - Path To Code - Integrate Salesforce with external system using R...
Episode 8  - Path To Code - Integrate Salesforce with external system using R...Episode 8  - Path To Code - Integrate Salesforce with external system using R...
Episode 8 - Path To Code - Integrate Salesforce with external system using R...
 
Spring Core
Spring CoreSpring Core
Spring Core
 
Oracle e-business suite R12 step by step Installation
Oracle e-business suite R12 step by step InstallationOracle e-business suite R12 step by step Installation
Oracle e-business suite R12 step by step Installation
 
WebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload ProtectionWebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload Protection
 
Oracle forms personalization
Oracle forms personalizationOracle forms personalization
Oracle forms personalization
 
Oracle Time and Labor
Oracle Time and LaborOracle Time and Labor
Oracle Time and Labor
 
Oracle Financials R12 - GL STEP 3 - Journal Controls
 Oracle Financials R12 - GL STEP 3 - Journal Controls Oracle Financials R12 - GL STEP 3 - Journal Controls
Oracle Financials R12 - GL STEP 3 - Journal Controls
 

Similar a Process builder vs Triggers

Process Builder Automation and Considerations
Process Builder Automation and ConsiderationsProcess Builder Automation and Considerations
Process Builder Automation and ConsiderationsSathishkumar Periyasamy
 
Salesforce Lightning Process builder
Salesforce Lightning Process builderSalesforce Lightning Process builder
Salesforce Lightning Process builderThinqloud
 
Getting Ready for Ligtning Process Builder
Getting Ready for Ligtning Process BuilderGetting Ready for Ligtning Process Builder
Getting Ready for Ligtning Process BuilderFred Cadena
 
Salesforce Process builder Vs Workflows
Salesforce Process builder Vs WorkflowsSalesforce Process builder Vs Workflows
Salesforce Process builder Vs WorkflowsPrasanna Deshpande ☁
 
Salesforce Lightning Process Builder IS the next-generation workflow tool
Salesforce Lightning Process Builder IS the next-generation workflow toolSalesforce Lightning Process Builder IS the next-generation workflow tool
Salesforce Lightning Process Builder IS the next-generation workflow toolBMC Software
 
2.1 Automation Nation: Keeping your Process Builders in Check
2.1 Automation Nation: Keeping your Process Builders in Check2.1 Automation Nation: Keeping your Process Builders in Check
2.1 Automation Nation: Keeping your Process Builders in CheckTargetX
 
Ahmedabad Salesforce Meetup
Ahmedabad Salesforce MeetupAhmedabad Salesforce Meetup
Ahmedabad Salesforce MeetupShankar Sharma
 
Process State vs. Object State: Modeling Best Practices for Simple Workflows ...
Process State vs. Object State: Modeling Best Practices for Simple Workflows ...Process State vs. Object State: Modeling Best Practices for Simple Workflows ...
Process State vs. Object State: Modeling Best Practices for Simple Workflows ...Thorsten Franz
 
KSCOPE 2015 - Improving Reliability, Rollouts, Upgrades/Migrations
KSCOPE 2015 - Improving Reliability, Rollouts, Upgrades/MigrationsKSCOPE 2015 - Improving Reliability, Rollouts, Upgrades/Migrations
KSCOPE 2015 - Improving Reliability, Rollouts, Upgrades/MigrationsCharles Beyer
 
NetSuite Workflows Beginner's Guide
NetSuite Workflows Beginner's GuideNetSuite Workflows Beginner's Guide
NetSuite Workflows Beginner's GuideProtelo, Inc.
 
DevOps Introduction - Main Concepts Description
DevOps Introduction - Main Concepts DescriptionDevOps Introduction - Main Concepts Description
DevOps Introduction - Main Concepts DescriptionBrunoOliveira631137
 
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...QueBIT Consulting
 
Salesforce Automation
Salesforce AutomationSalesforce Automation
Salesforce AutomationElhem Sassi
 
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...Anna Russo
 
Improving Software Quality- 2-day Tester Training
Improving Software Quality- 2-day Tester TrainingImproving Software Quality- 2-day Tester Training
Improving Software Quality- 2-day Tester TrainingAnna Russo
 

Similar a Process builder vs Triggers (20)

Lightning Process Builder
Lightning Process BuilderLightning Process Builder
Lightning Process Builder
 
Lightning Process Builder
Lightning Process BuilderLightning Process Builder
Lightning Process Builder
 
Process Builder Automation and Considerations
Process Builder Automation and ConsiderationsProcess Builder Automation and Considerations
Process Builder Automation and Considerations
 
Salesforce Lightning Process builder
Salesforce Lightning Process builderSalesforce Lightning Process builder
Salesforce Lightning Process builder
 
Getting Ready for Ligtning Process Builder
Getting Ready for Ligtning Process BuilderGetting Ready for Ligtning Process Builder
Getting Ready for Ligtning Process Builder
 
Salesforce Process builder Vs Workflows
Salesforce Process builder Vs WorkflowsSalesforce Process builder Vs Workflows
Salesforce Process builder Vs Workflows
 
Salesforce Lightning Process Builder IS the next-generation workflow tool
Salesforce Lightning Process Builder IS the next-generation workflow toolSalesforce Lightning Process Builder IS the next-generation workflow tool
Salesforce Lightning Process Builder IS the next-generation workflow tool
 
2.1 Automation Nation: Keeping your Process Builders in Check
2.1 Automation Nation: Keeping your Process Builders in Check2.1 Automation Nation: Keeping your Process Builders in Check
2.1 Automation Nation: Keeping your Process Builders in Check
 
Ahmedabad Salesforce Meetup
Ahmedabad Salesforce MeetupAhmedabad Salesforce Meetup
Ahmedabad Salesforce Meetup
 
Process State vs. Object State: Modeling Best Practices for Simple Workflows ...
Process State vs. Object State: Modeling Best Practices for Simple Workflows ...Process State vs. Object State: Modeling Best Practices for Simple Workflows ...
Process State vs. Object State: Modeling Best Practices for Simple Workflows ...
 
KSCOPE 2015 - Improving Reliability, Rollouts, Upgrades/Migrations
KSCOPE 2015 - Improving Reliability, Rollouts, Upgrades/MigrationsKSCOPE 2015 - Improving Reliability, Rollouts, Upgrades/Migrations
KSCOPE 2015 - Improving Reliability, Rollouts, Upgrades/Migrations
 
Process builder
Process builderProcess builder
Process builder
 
Combined Project
Combined ProjectCombined Project
Combined Project
 
NetSuite Workflows Beginner's Guide
NetSuite Workflows Beginner's GuideNetSuite Workflows Beginner's Guide
NetSuite Workflows Beginner's Guide
 
DevOps Introduction - Main Concepts Description
DevOps Introduction - Main Concepts DescriptionDevOps Introduction - Main Concepts Description
DevOps Introduction - Main Concepts Description
 
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
 
Salesforce Automation
Salesforce AutomationSalesforce Automation
Salesforce Automation
 
Grails Services
Grails ServicesGrails Services
Grails Services
 
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
 
Improving Software Quality- 2-day Tester Training
Improving Software Quality- 2-day Tester TrainingImproving Software Quality- 2-day Tester Training
Improving Software Quality- 2-day Tester Training
 

Último

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 

Último (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

Process builder vs Triggers

  • 1. KT Sessions Sharing the awesome! 14-08-2015
  • 2. Process Builder vs Triggers YOU DECIDE
  • 3. Process Builder Overview ü  Release as Beta in the Winter 15 Salesforce release ü  Enables Admins to be less reliant on development resources ü  And be utilized to automate all workflow actions (with the exception of outbound messages)
  • 4. Process Builder Benefits (1) Here are a few of the bigger features of Process Builder that weren’t possible with configuration before: Workflow was limited to just field updates, creating tasks and email alerts. With Process Builder we can: Create Records – in addition to updating a record you can create a record and set the field values within the record.
  • 5. Process Builder Benefits (1) Here are a few of the bigger features of Process Builder that weren’t possible with configuration before: Workflow was limited to just field updates, creating tasks and email alerts. With Process Builder we can: Create Chatter Posts – push a Chatter update into a Group or Feed.
  • 6. Process Builder Benefits (1) Here are a few of the bigger features of Process Builder that weren’t possible with configuration before: Workflow was limited to just field updates, creating tasks and email alerts. With Process Builder we can: Create an Approval – traditionally you needed a trigger to automatically push a record into an approval process. With Process Builder you can do this automatically based on the criteria of the Process.
  • 7. Process Builder Benefits (1) Here are a few of the bigger features of Process Builder that weren’t possible with configuration before: Workflow was limited to just field updates, creating tasks and email alerts. With Process Builder we can: Easily Consolidate Workflow – consolidate multiple workflow rules that into one process.
  • 8. Process Builder Benefits (2) And more: Launch a Flow – Right from a Process, you can launch an automated flow process. Call an Apex Class – you can now call an Apex class. Be extremely careful when doing this!
  • 9. Process Builder Benefits (2) And more: Simple triggers like populating a lookup field based on certain criteria, can now be automated in process builder without any code required. Complicated business processes, such as renewal automation, can be automated in conjunction with Flow.
  • 10. Round 1 – Process Builder VS Trigger Populate a lookup field on record update SCENARIO Process Builder Trigger OPTIONS Traditionally been something that requires a trigger, Process Builder allows administrator can do this without the use of code. REASON
  • 11. Round 1 – Process Builder VS Trigger Set an Account Owner based on Record Criteria SCENARIO Process Builder Trigger OPTIONS Process builder can be used to assign ownership on records based on criteria in the object. REASON
  • 12. Round 1 – Process Builder VS Trigger Post a Chatter message based on record criteria SCENARIO Process Builder Trigger OPTIONS Process builder can be used to post to Chatter based on record criteria. REASON
  • 13. Round 1 – Process Builder VS Trigger Submit a Quote for Approval when Opportunity Stage = Proposal SCENARIO Process Builder Trigger OPTIONS Requires two Processes, One to update the Quote based on the Opportunity stage and another to Submit the Quote for approval when the criteria on the quote had been met. REASON
  • 14. Round 1 – Process Builder VS Trigger Launch a Flow via record criteria vs. a button or link SCENARIO Process Builder Trigger OPTIONS Process Builder can be used to set record criteria and then launch a trigger ready flow. NB. Only ‘trigger-ready’ flows can be selected. REASON
  • 15. Round 1 – Process Builder VS Trigger Populate a text field with object ID SCENARIO Process Builder Trigger Workflow OPTIONS If it is a cross object and can’t be done with workflow use process builder. If it is part of a complex trigger leave the field set within the trigger due to conflicts with the order of operations REASON
  • 16. Round 1 Process Builder Trigger 6                  0  
  • 17. Round 2 – Process Builder VS Trigger Assign Ownership to a Custom Object based on criteria SCENARIO Process Builder Trigger Depends on complexity OPTIONS
  • 18. Round 2 – Process Builder VS Trigger Process builder can assign ownership based on object criteria and set an order of actions. However, processes require a user to create a new process each time a change is needed. It can become a burden to administer these rules via Process Builder as the more rules you have, the more unwieldy it will become. Once you get too complex a custom option may be required. REASON
  • 19. Round 2 – Process Builder VS Trigger Clone an opportunity and change field values SCENARIO Process Builder Trigger OPTIONS
  • 20. Round 2 – Process Builder VS Trigger Although Process Builder can create a new record it cannot reference any of the values from the cloned opportunity without the use of a Flow to capture the opportunity values (NB this can probably be done with Flow and Process Builder but the quickest approach right now is to use a trigger). REASON
  • 21. Round 2 Process Builder Trigger 0                  1  
  • 22. The Champion is… Process Builder x Trigger
  • 23. Process Builder Limitations ü  Editing – Users cannot edit a process once it has been activated. Therefore much like with flow a new process needs to be created by cloning the initial process and making modifications to that cloned record. ü  Autosave – Won’t allow a user to cancel out of a process when they have made unwanted changes (Autosave + Undo = Perfection). ü  Troubleshooting - UI does not allow an Admin to tell who created a Process, when it was created, or the ID for that Process. Also all trouble shooting must be done in the debug log.
  • 24. Process Builder Limitations ü  Validation – Processes DO NOT trigger Validation rules and can therefore invalidate data.   ü  Deletion – Inactive Processes cannot be deleted for at least 12 hours after inactivation and do not appear in the Recycle Bin. ü  Error messages – You cannot specify error messages when creating a process that doesn’t trigger like you can with flow or validation rules. ü  Formula Help – When utilizing a formula in criteria there is no function help preview next to the Syntax.
  • 25. Process Builder Limitations ü  Order – You can’t change the order of criteria nodes or actions, after you add them the only way to reorder is to delete them and start over. ü  Syntax – Picklist fields are evaluated as text fields in process builder so they won’t support any picklist formulas like ISCHANGED or ISNEW. Note – with Spring 15 the formula ISCHANGED is now a function vs. a formula and will work with picklists. ü  Setting field values - You cannot populate a field with a formula in process builder. You can only manually enter a literal or select another variable (i.e. field). To populate a text field with a formula create a separate formula field and then reference that in your process
  • 26. Process Builder Best Practices Check– to see if there are any workflows on the object doing the same thing as the process. Also verify no active Apex triggers. Avoid– interweaving Apex, Workflow, and Processes together for the same process. As Workflows and Triggers don’t always place nice together so holds true for Processes. Even if you do get them to work, it’s a bad practice to spread logic over multiple methods. Keep it all together in one place so you can see what’s happening down the entire flow.
  • 27. Process Builder Best Practices Document – Use the description field to populate information such as when it was created by who and what the process does. In addition, if processes work in conjunction with each other, reference the other(s) process names in the description field. Test – And then test some more. Especially when you’re first starting to use this please practice in a sandbox first and really test out what you’re trying to do. There’s a lot of ability to impact users and data here if you do something wrong.
  • 30. Process Builder vs Trigger By Chris Franklin and Egor Cole THANKS!