SlideShare a Scribd company logo
Group News
Upcoming Events
● Tuesday May 28th 5pm - Virtual and In-person
Data Cloud & Me with Matt Robison
● Thursday May 30th
Kiwi Dreaming 2024
● Tuesday June 4 - Virtual
Trailhead Tuesday
Next Session
Monday June 17 - 12 pm Virtual
Improving UI/UX in Screen Flows using Salesforce Lightning Design System (SLDS) with Tom Kitt
Tim Combridge
Managing Director
Agenda
1. Back to Basics
1. Concept 1: Subflows
2. Concept 2: HTTP Callouts
3. Concept 3: Flow Contexts
4. Concept 4: Flow Access
5. Concept 5: Custom Components/3rd Party
Firstly, Back to Basics
Done to death — The foundations of Salesforce Flow have been discussed before - I want to spend
time going through some more advanced concepts, but the basics are still extremely important.
Key things to remember going forward:
● Minimise pink elements (DML)
● Use Collections and Loops for bulk data
● Use recordId record variable instead of a query
● Flow isn’t the only tool! As developers, you’re likely more familiar with Apex, LWC, etc. - there’s
a great combination of Flow and programmatic tools.
● Connect with other Trailblazers to verify any questions you have - you’re not alone!
Concept 1: Subflows
● Autolaunched
Flows called by
other Flows.
● Repeatable actions
that are required
in multiple places
● Helps with
maintenance -
update once, apply
everywhere
NEW - Summer ‘24
brings Action Buttons
to Screen Flow.
Call a subflow from a
Screen Flow, update
reactive components
WITHOUT
leaving/refreshing that
screen.
Concept 2: HTTP Callouts
● Use HTTP Callouts to create basic
integrations between Salesforce and
external services.
● Combine with Action Buttons to call
external data in Screen Flow.
● Use Connect to Schema to get a sample
JSON response.
● QR Code links to great tutorial by Daryl
Moon (Certify CRM) on setting up HTTP
Callouts, including example external
service.
Concept 3: User Context vs System Context
IMPORTANT: “With great
power comes great
responsibility.” - Uncle Ben
Just because you can, doesn’t
mean you should. Use sparingly.
● User Context: Follows the sharing rules attached to the user that runs the Flow.
● System Context WITH Sharing: Follows Sharing Settings for user, but grants system-level
object/field access.
● System Context WITHOUT Sharing: Full System access. USE SPARINGLY.
Concept 4: Flow Access
● Flowing on from the last section,
consider who in the business is needing
to access individual Flows.
● Each Flow can be configure to only be
exposed to users with specific Profiles or
Permission Sets.
● Consider the Principle of Least Privilege -
give only what is required to avoid
headaches in the future.
Concept 5: Custom Components/3rd Party
● Flow is great, but can also be expanded
upon.
● AppExchange listings allow you to use
existing solutions, also lots of third-party
open source solutions.
● As developers you may consider creating
custom LWC to embed within Screen Flows,
or Apex Actions to expand functionality.
● Also other tools such as OmniStudio (for
Industries customers), Approval Processes,
Quick Actions, and Dynamic Forms.
● Mentioned already, but Action
Buttons are new in Summer ‘24
● Call Autolaunched Flows in a
Screen Flow, update reactive
Flow components.
● Build your own custom reactive
LWCs for Screen Flow, combine
with Action Buttons to create
some seriously cool
experiences for users.
Bonus: Action Buttons
Yumi Ibrahimzade - Salesforce Time
Summary
1. Use Subflows to replicate common functionality/actions across multiple Flows,
reduce maintenance, combine with Action Buttons for Reactive Screen Flows.
2. Integrate with external data sources using HTTP Callouts to push and pull data.
3. Use (SPARINGLY (!!!!!)) System Context to bypass security under certain
circumstances.
4. Flow Access can be used to grant access to Flows to individuals with specific
Profiles/Permission Sets.
5. Enhance OOTB Flow with AppExchange solutions, Invocable Apex Actions, and
custom LWC.
6. Action Buttons are gonna be dope. Summer ‘24 is a big update in the Flow space.
Questions
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know

More Related Content

Similar to Advanced Flow Concepts Every Developer Should Know

MuleSoft Manchester Meetup #4 slides 11th February 2021
MuleSoft Manchester Meetup #4 slides 11th February 2021MuleSoft Manchester Meetup #4 slides 11th February 2021
MuleSoft Manchester Meetup #4 slides 11th February 2021
Ieva Navickaite
 
TrailblazerDX Motihari.pptx
TrailblazerDX Motihari.pptxTrailblazerDX Motihari.pptx
TrailblazerDX Motihari.pptx
Om Prakash
 
Anypoint Tools and MuleSoft Automation (DRAFT).pptx
Anypoint Tools and MuleSoft Automation (DRAFT).pptxAnypoint Tools and MuleSoft Automation (DRAFT).pptx
Anypoint Tools and MuleSoft Automation (DRAFT).pptx
Akshata Sawant
 
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptxMuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
Steve Clarke
 
Melbourne Virtual MuleSoft Meetup December 2022
Melbourne Virtual MuleSoft Meetup December 2022Melbourne Virtual MuleSoft Meetup December 2022
Melbourne Virtual MuleSoft Meetup December 2022
Daniel Soffner
 
Design and Implementation: SCIM Automation using Anypoint Platform APIs
Design and Implementation: SCIM Automation using Anypoint Platform APIsDesign and Implementation: SCIM Automation using Anypoint Platform APIs
Design and Implementation: SCIM Automation using Anypoint Platform APIs
Mary Joy Sabal
 
Cracow MuleSoft Meetup #1
Cracow MuleSoft Meetup #1Cracow MuleSoft Meetup #1
Cracow MuleSoft Meetup #1
Wojtek Maciejczyk
 
Datasheet.net pluginforrd
Datasheet.net pluginforrdDatasheet.net pluginforrd
Datasheet.net pluginforrd
MidVision
 
Nyc mule soft_meetup_13_march_2021
Nyc mule soft_meetup_13_march_2021Nyc mule soft_meetup_13_march_2021
Nyc mule soft_meetup_13_march_2021
NeerajKumar1965
 
Chandigarh MuleSoft Meetup #3
Chandigarh MuleSoft Meetup #3Chandigarh MuleSoft Meetup #3
Chandigarh MuleSoft Meetup #3
Lalit Panwar
 
Salesforce Spring 22 Webinar
Salesforce Spring 22 WebinarSalesforce Spring 22 Webinar
Salesforce Spring 22 Webinar
brightgenss
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024
SkyPlanner
 
MuleSoft meetup__houston #13
MuleSoft meetup__houston #13MuleSoft meetup__houston #13
MuleSoft meetup__houston #13
Jim Andrews
 
Salesforce Lightning workshop
Salesforce Lightning workshopSalesforce Lightning workshop
Salesforce Lightning workshop
Shivanath Devinarayanan
 
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...
OpenWhisk
 
IBM Bluemix Openwhisk
IBM Bluemix OpenwhiskIBM Bluemix Openwhisk
IBM Bluemix Openwhisk
Sonia Baratas Alves
 
Lightning Developer Week - Bangalore Salesforce Developer Group
Lightning Developer Week - Bangalore Salesforce Developer GroupLightning Developer Week - Bangalore Salesforce Developer Group
Lightning Developer Week - Bangalore Salesforce Developer Group
Abhilash Kuntar
 
127801976 mobile-shop-management-system-documentation
127801976 mobile-shop-management-system-documentation127801976 mobile-shop-management-system-documentation
127801976 mobile-shop-management-system-documentation
Nitesh Kumar
 
Enovia Collaboration Platform and Matrix Query Language
Enovia Collaboration Platform and Matrix Query LanguageEnovia Collaboration Platform and Matrix Query Language
Enovia Collaboration Platform and Matrix Query Language
Ashikur Rahman
 
O365 Developer Bootcamp NJ 2018 - Material
O365 Developer Bootcamp NJ 2018 - MaterialO365 Developer Bootcamp NJ 2018 - Material
O365 Developer Bootcamp NJ 2018 - Material
Thomas Daly
 

Similar to Advanced Flow Concepts Every Developer Should Know (20)

MuleSoft Manchester Meetup #4 slides 11th February 2021
MuleSoft Manchester Meetup #4 slides 11th February 2021MuleSoft Manchester Meetup #4 slides 11th February 2021
MuleSoft Manchester Meetup #4 slides 11th February 2021
 
TrailblazerDX Motihari.pptx
TrailblazerDX Motihari.pptxTrailblazerDX Motihari.pptx
TrailblazerDX Motihari.pptx
 
Anypoint Tools and MuleSoft Automation (DRAFT).pptx
Anypoint Tools and MuleSoft Automation (DRAFT).pptxAnypoint Tools and MuleSoft Automation (DRAFT).pptx
Anypoint Tools and MuleSoft Automation (DRAFT).pptx
 
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptxMuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
 
Melbourne Virtual MuleSoft Meetup December 2022
Melbourne Virtual MuleSoft Meetup December 2022Melbourne Virtual MuleSoft Meetup December 2022
Melbourne Virtual MuleSoft Meetup December 2022
 
Design and Implementation: SCIM Automation using Anypoint Platform APIs
Design and Implementation: SCIM Automation using Anypoint Platform APIsDesign and Implementation: SCIM Automation using Anypoint Platform APIs
Design and Implementation: SCIM Automation using Anypoint Platform APIs
 
Cracow MuleSoft Meetup #1
Cracow MuleSoft Meetup #1Cracow MuleSoft Meetup #1
Cracow MuleSoft Meetup #1
 
Datasheet.net pluginforrd
Datasheet.net pluginforrdDatasheet.net pluginforrd
Datasheet.net pluginforrd
 
Nyc mule soft_meetup_13_march_2021
Nyc mule soft_meetup_13_march_2021Nyc mule soft_meetup_13_march_2021
Nyc mule soft_meetup_13_march_2021
 
Chandigarh MuleSoft Meetup #3
Chandigarh MuleSoft Meetup #3Chandigarh MuleSoft Meetup #3
Chandigarh MuleSoft Meetup #3
 
Salesforce Spring 22 Webinar
Salesforce Spring 22 WebinarSalesforce Spring 22 Webinar
Salesforce Spring 22 Webinar
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024
 
MuleSoft meetup__houston #13
MuleSoft meetup__houston #13MuleSoft meetup__houston #13
MuleSoft meetup__houston #13
 
Salesforce Lightning workshop
Salesforce Lightning workshopSalesforce Lightning workshop
Salesforce Lightning workshop
 
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...
 
IBM Bluemix Openwhisk
IBM Bluemix OpenwhiskIBM Bluemix Openwhisk
IBM Bluemix Openwhisk
 
Lightning Developer Week - Bangalore Salesforce Developer Group
Lightning Developer Week - Bangalore Salesforce Developer GroupLightning Developer Week - Bangalore Salesforce Developer Group
Lightning Developer Week - Bangalore Salesforce Developer Group
 
127801976 mobile-shop-management-system-documentation
127801976 mobile-shop-management-system-documentation127801976 mobile-shop-management-system-documentation
127801976 mobile-shop-management-system-documentation
 
Enovia Collaboration Platform and Matrix Query Language
Enovia Collaboration Platform and Matrix Query LanguageEnovia Collaboration Platform and Matrix Query Language
Enovia Collaboration Platform and Matrix Query Language
 
O365 Developer Bootcamp NJ 2018 - Material
O365 Developer Bootcamp NJ 2018 - MaterialO365 Developer Bootcamp NJ 2018 - Material
O365 Developer Bootcamp NJ 2018 - Material
 

Recently uploaded

How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
ToXSL Technologies
 
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Paul Brebner
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
Reetu63
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
Alberto Brandolini
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
Luigi Fugaro
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
gapen1
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
Bert Jan Schrijver
 
INTRODUCTION TO AI CLASSICAL THEORY TARGETED EXAMPLES
INTRODUCTION TO AI CLASSICAL THEORY TARGETED EXAMPLESINTRODUCTION TO AI CLASSICAL THEORY TARGETED EXAMPLES
INTRODUCTION TO AI CLASSICAL THEORY TARGETED EXAMPLES
anfaltahir1010
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
sjcobrien
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
DevOps Consulting Company | Hire DevOps Services
DevOps Consulting Company | Hire DevOps ServicesDevOps Consulting Company | Hire DevOps Services
DevOps Consulting Company | Hire DevOps Services
seospiralmantra
 
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptxMigration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
ervikas4
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
Sven Peters
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
Grant Fritchey
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
ISH Technologies
 
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdfBaha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 

Recently uploaded (20)

How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
 
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
 
INTRODUCTION TO AI CLASSICAL THEORY TARGETED EXAMPLES
INTRODUCTION TO AI CLASSICAL THEORY TARGETED EXAMPLESINTRODUCTION TO AI CLASSICAL THEORY TARGETED EXAMPLES
INTRODUCTION TO AI CLASSICAL THEORY TARGETED EXAMPLES
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
DevOps Consulting Company | Hire DevOps Services
DevOps Consulting Company | Hire DevOps ServicesDevOps Consulting Company | Hire DevOps Services
DevOps Consulting Company | Hire DevOps Services
 
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptxMigration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
 
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdfBaha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 

Advanced Flow Concepts Every Developer Should Know

  • 1.
  • 2. Group News Upcoming Events ● Tuesday May 28th 5pm - Virtual and In-person Data Cloud & Me with Matt Robison ● Thursday May 30th Kiwi Dreaming 2024 ● Tuesday June 4 - Virtual Trailhead Tuesday Next Session Monday June 17 - 12 pm Virtual Improving UI/UX in Screen Flows using Salesforce Lightning Design System (SLDS) with Tom Kitt
  • 3.
  • 5. Agenda 1. Back to Basics 1. Concept 1: Subflows 2. Concept 2: HTTP Callouts 3. Concept 3: Flow Contexts 4. Concept 4: Flow Access 5. Concept 5: Custom Components/3rd Party
  • 6. Firstly, Back to Basics Done to death — The foundations of Salesforce Flow have been discussed before - I want to spend time going through some more advanced concepts, but the basics are still extremely important. Key things to remember going forward: ● Minimise pink elements (DML) ● Use Collections and Loops for bulk data ● Use recordId record variable instead of a query ● Flow isn’t the only tool! As developers, you’re likely more familiar with Apex, LWC, etc. - there’s a great combination of Flow and programmatic tools. ● Connect with other Trailblazers to verify any questions you have - you’re not alone!
  • 7. Concept 1: Subflows ● Autolaunched Flows called by other Flows. ● Repeatable actions that are required in multiple places ● Helps with maintenance - update once, apply everywhere NEW - Summer ‘24 brings Action Buttons to Screen Flow. Call a subflow from a Screen Flow, update reactive components WITHOUT leaving/refreshing that screen.
  • 8. Concept 2: HTTP Callouts ● Use HTTP Callouts to create basic integrations between Salesforce and external services. ● Combine with Action Buttons to call external data in Screen Flow. ● Use Connect to Schema to get a sample JSON response. ● QR Code links to great tutorial by Daryl Moon (Certify CRM) on setting up HTTP Callouts, including example external service.
  • 9. Concept 3: User Context vs System Context IMPORTANT: “With great power comes great responsibility.” - Uncle Ben Just because you can, doesn’t mean you should. Use sparingly. ● User Context: Follows the sharing rules attached to the user that runs the Flow. ● System Context WITH Sharing: Follows Sharing Settings for user, but grants system-level object/field access. ● System Context WITHOUT Sharing: Full System access. USE SPARINGLY.
  • 10. Concept 4: Flow Access ● Flowing on from the last section, consider who in the business is needing to access individual Flows. ● Each Flow can be configure to only be exposed to users with specific Profiles or Permission Sets. ● Consider the Principle of Least Privilege - give only what is required to avoid headaches in the future.
  • 11. Concept 5: Custom Components/3rd Party ● Flow is great, but can also be expanded upon. ● AppExchange listings allow you to use existing solutions, also lots of third-party open source solutions. ● As developers you may consider creating custom LWC to embed within Screen Flows, or Apex Actions to expand functionality. ● Also other tools such as OmniStudio (for Industries customers), Approval Processes, Quick Actions, and Dynamic Forms.
  • 12. ● Mentioned already, but Action Buttons are new in Summer ‘24 ● Call Autolaunched Flows in a Screen Flow, update reactive Flow components. ● Build your own custom reactive LWCs for Screen Flow, combine with Action Buttons to create some seriously cool experiences for users. Bonus: Action Buttons Yumi Ibrahimzade - Salesforce Time
  • 13. Summary 1. Use Subflows to replicate common functionality/actions across multiple Flows, reduce maintenance, combine with Action Buttons for Reactive Screen Flows. 2. Integrate with external data sources using HTTP Callouts to push and pull data. 3. Use (SPARINGLY (!!!!!)) System Context to bypass security under certain circumstances. 4. Flow Access can be used to grant access to Flows to individuals with specific Profiles/Permission Sets. 5. Enhance OOTB Flow with AppExchange solutions, Invocable Apex Actions, and custom LWC. 6. Action Buttons are gonna be dope. Summer ‘24 is a big update in the Flow space.