尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
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

Erotic Call Girls Bangalore🫱9079923931🫲 High Quality Call Girl Service Right ...
Erotic Call Girls Bangalore🫱9079923931🫲 High Quality Call Girl Service Right ...Erotic Call Girls Bangalore🫱9079923931🫲 High Quality Call Girl Service Right ...
Erotic Call Girls Bangalore🫱9079923931🫲 High Quality Call Girl Service Right ...
meenusingh4354543
 
Happy Birthday Kubernetes, 10th Birthday edition of Kubernetes Birthday in Au...
Happy Birthday Kubernetes, 10th Birthday edition of Kubernetes Birthday in Au...Happy Birthday Kubernetes, 10th Birthday edition of Kubernetes Birthday in Au...
Happy Birthday Kubernetes, 10th Birthday edition of Kubernetes Birthday in Au...
Chad Crowell
 
Hot Call Girls In Ahmedabad ✔ 7737669865 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Ahmedabad ✔ 7737669865 ✔ Hi I Am Divya Vip Call Girl Servic...Hot Call Girls In Ahmedabad ✔ 7737669865 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Ahmedabad ✔ 7737669865 ✔ Hi I Am Divya Vip Call Girl Servic...
ns9201415
 
Folding Cheat Sheet #6 - sixth in a series
Folding Cheat Sheet #6 - sixth in a seriesFolding Cheat Sheet #6 - sixth in a series
Folding Cheat Sheet #6 - sixth in a series
Philip Schwarz
 
Top Call Girls Lucknow ✔ 9352988975 ✔ Hi I Am Divya Vip Call Girl Services Pr...
Top Call Girls Lucknow ✔ 9352988975 ✔ Hi I Am Divya Vip Call Girl Services Pr...Top Call Girls Lucknow ✔ 9352988975 ✔ Hi I Am Divya Vip Call Girl Services Pr...
Top Call Girls Lucknow ✔ 9352988975 ✔ Hi I Am Divya Vip Call Girl Services Pr...
simmi singh$A17
 
1 Million Orange Stickies later - Devoxx Poland 2024
1 Million Orange Stickies later - Devoxx Poland 20241 Million Orange Stickies later - Devoxx Poland 2024
1 Million Orange Stickies later - Devoxx Poland 2024
Alberto Brandolini
 
119321250-History-of-Computer-Programming.ppt
119321250-History-of-Computer-Programming.ppt119321250-History-of-Computer-Programming.ppt
119321250-History-of-Computer-Programming.ppt
lavesingh522
 
Streamlining End-to-End Testing Automation
Streamlining End-to-End Testing AutomationStreamlining End-to-End Testing Automation
Streamlining End-to-End Testing Automation
Anand Bagmar
 
🔥 Kolkata Call Girls  👉 9079923931 👫 High Profile Call Girls Whatsapp Number ...
🔥 Kolkata Call Girls  👉 9079923931 👫 High Profile Call Girls Whatsapp Number ...🔥 Kolkata Call Girls  👉 9079923931 👫 High Profile Call Girls Whatsapp Number ...
🔥 Kolkata Call Girls  👉 9079923931 👫 High Profile Call Girls Whatsapp Number ...
tinakumariji156
 
Solar Panel Service Provider annual maintenance contract.pdf
Solar Panel Service Provider annual maintenance contract.pdfSolar Panel Service Provider annual maintenance contract.pdf
Solar Panel Service Provider annual maintenance contract.pdf
SERVE WELL CRM NASHIK
 
High-Class Call Girls In Chennai 📞7014168258 Available With Direct Cash Payme...
High-Class Call Girls In Chennai 📞7014168258 Available With Direct Cash Payme...High-Class Call Girls In Chennai 📞7014168258 Available With Direct Cash Payme...
High-Class Call Girls In Chennai 📞7014168258 Available With Direct Cash Payme...
shoeb2926
 
Folding Cheat Sheet #5 - fifth in a series
Folding Cheat Sheet #5 - fifth in a seriesFolding Cheat Sheet #5 - fifth in a series
Folding Cheat Sheet #5 - fifth in a series
Philip Schwarz
 
Accelerate your Sitecore development with GenAI
Accelerate your Sitecore development with GenAIAccelerate your Sitecore development with GenAI
Accelerate your Sitecore development with GenAI
Ahmed Okour
 
🔥 Chennai Call Girls  👉 6350257716 👫 High Profile Call Girls Whatsapp Number ...
🔥 Chennai Call Girls  👉 6350257716 👫 High Profile Call Girls Whatsapp Number ...🔥 Chennai Call Girls  👉 6350257716 👫 High Profile Call Girls Whatsapp Number ...
🔥 Chennai Call Girls  👉 6350257716 👫 High Profile Call Girls Whatsapp Number ...
tinakumariji156
 
What’s new in VictoriaMetrics - Q2 2024 Update
What’s new in VictoriaMetrics - Q2 2024 UpdateWhat’s new in VictoriaMetrics - Q2 2024 Update
What’s new in VictoriaMetrics - Q2 2024 Update
VictoriaMetrics
 
OpenChain Webinar - Open Source Due Diligence for M&A - 2024-06-17
OpenChain Webinar - Open Source Due Diligence for M&A - 2024-06-17OpenChain Webinar - Open Source Due Diligence for M&A - 2024-06-17
OpenChain Webinar - Open Source Due Diligence for M&A - 2024-06-17
Shane Coughlan
 
Digital Marketing Introduction and Conclusion
Digital Marketing Introduction and ConclusionDigital Marketing Introduction and Conclusion
Digital Marketing Introduction and Conclusion
Staff AgentAI
 
SAP ECC & S4 HANA PPT COMPARISON MM.pptx
SAP ECC & S4 HANA PPT COMPARISON MM.pptxSAP ECC & S4 HANA PPT COMPARISON MM.pptx
SAP ECC & S4 HANA PPT COMPARISON MM.pptx
aneeshmanikantan2341
 
Hands-on with Apache Druid: Installation & Data Ingestion Steps
Hands-on with Apache Druid: Installation & Data Ingestion StepsHands-on with Apache Druid: Installation & Data Ingestion Steps
Hands-on with Apache Druid: Installation & Data Ingestion Steps
servicesNitor
 

Recently uploaded (20)

Erotic Call Girls Bangalore🫱9079923931🫲 High Quality Call Girl Service Right ...
Erotic Call Girls Bangalore🫱9079923931🫲 High Quality Call Girl Service Right ...Erotic Call Girls Bangalore🫱9079923931🫲 High Quality Call Girl Service Right ...
Erotic Call Girls Bangalore🫱9079923931🫲 High Quality Call Girl Service Right ...
 
Happy Birthday Kubernetes, 10th Birthday edition of Kubernetes Birthday in Au...
Happy Birthday Kubernetes, 10th Birthday edition of Kubernetes Birthday in Au...Happy Birthday Kubernetes, 10th Birthday edition of Kubernetes Birthday in Au...
Happy Birthday Kubernetes, 10th Birthday edition of Kubernetes Birthday in Au...
 
Hot Call Girls In Ahmedabad ✔ 7737669865 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Ahmedabad ✔ 7737669865 ✔ Hi I Am Divya Vip Call Girl Servic...Hot Call Girls In Ahmedabad ✔ 7737669865 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Ahmedabad ✔ 7737669865 ✔ Hi I Am Divya Vip Call Girl Servic...
 
Folding Cheat Sheet #6 - sixth in a series
Folding Cheat Sheet #6 - sixth in a seriesFolding Cheat Sheet #6 - sixth in a series
Folding Cheat Sheet #6 - sixth in a series
 
Top Call Girls Lucknow ✔ 9352988975 ✔ Hi I Am Divya Vip Call Girl Services Pr...
Top Call Girls Lucknow ✔ 9352988975 ✔ Hi I Am Divya Vip Call Girl Services Pr...Top Call Girls Lucknow ✔ 9352988975 ✔ Hi I Am Divya Vip Call Girl Services Pr...
Top Call Girls Lucknow ✔ 9352988975 ✔ Hi I Am Divya Vip Call Girl Services Pr...
 
1 Million Orange Stickies later - Devoxx Poland 2024
1 Million Orange Stickies later - Devoxx Poland 20241 Million Orange Stickies later - Devoxx Poland 2024
1 Million Orange Stickies later - Devoxx Poland 2024
 
119321250-History-of-Computer-Programming.ppt
119321250-History-of-Computer-Programming.ppt119321250-History-of-Computer-Programming.ppt
119321250-History-of-Computer-Programming.ppt
 
Streamlining End-to-End Testing Automation
Streamlining End-to-End Testing AutomationStreamlining End-to-End Testing Automation
Streamlining End-to-End Testing Automation
 
bgiolcb
bgiolcbbgiolcb
bgiolcb
 
🔥 Kolkata Call Girls  👉 9079923931 👫 High Profile Call Girls Whatsapp Number ...
🔥 Kolkata Call Girls  👉 9079923931 👫 High Profile Call Girls Whatsapp Number ...🔥 Kolkata Call Girls  👉 9079923931 👫 High Profile Call Girls Whatsapp Number ...
🔥 Kolkata Call Girls  👉 9079923931 👫 High Profile Call Girls Whatsapp Number ...
 
Solar Panel Service Provider annual maintenance contract.pdf
Solar Panel Service Provider annual maintenance contract.pdfSolar Panel Service Provider annual maintenance contract.pdf
Solar Panel Service Provider annual maintenance contract.pdf
 
High-Class Call Girls In Chennai 📞7014168258 Available With Direct Cash Payme...
High-Class Call Girls In Chennai 📞7014168258 Available With Direct Cash Payme...High-Class Call Girls In Chennai 📞7014168258 Available With Direct Cash Payme...
High-Class Call Girls In Chennai 📞7014168258 Available With Direct Cash Payme...
 
Folding Cheat Sheet #5 - fifth in a series
Folding Cheat Sheet #5 - fifth in a seriesFolding Cheat Sheet #5 - fifth in a series
Folding Cheat Sheet #5 - fifth in a series
 
Accelerate your Sitecore development with GenAI
Accelerate your Sitecore development with GenAIAccelerate your Sitecore development with GenAI
Accelerate your Sitecore development with GenAI
 
🔥 Chennai Call Girls  👉 6350257716 👫 High Profile Call Girls Whatsapp Number ...
🔥 Chennai Call Girls  👉 6350257716 👫 High Profile Call Girls Whatsapp Number ...🔥 Chennai Call Girls  👉 6350257716 👫 High Profile Call Girls Whatsapp Number ...
🔥 Chennai Call Girls  👉 6350257716 👫 High Profile Call Girls Whatsapp Number ...
 
What’s new in VictoriaMetrics - Q2 2024 Update
What’s new in VictoriaMetrics - Q2 2024 UpdateWhat’s new in VictoriaMetrics - Q2 2024 Update
What’s new in VictoriaMetrics - Q2 2024 Update
 
OpenChain Webinar - Open Source Due Diligence for M&A - 2024-06-17
OpenChain Webinar - Open Source Due Diligence for M&A - 2024-06-17OpenChain Webinar - Open Source Due Diligence for M&A - 2024-06-17
OpenChain Webinar - Open Source Due Diligence for M&A - 2024-06-17
 
Digital Marketing Introduction and Conclusion
Digital Marketing Introduction and ConclusionDigital Marketing Introduction and Conclusion
Digital Marketing Introduction and Conclusion
 
SAP ECC & S4 HANA PPT COMPARISON MM.pptx
SAP ECC & S4 HANA PPT COMPARISON MM.pptxSAP ECC & S4 HANA PPT COMPARISON MM.pptx
SAP ECC & S4 HANA PPT COMPARISON MM.pptx
 
Hands-on with Apache Druid: Installation & Data Ingestion Steps
Hands-on with Apache Druid: Installation & Data Ingestion StepsHands-on with Apache Druid: Installation & Data Ingestion Steps
Hands-on with Apache Druid: Installation & Data Ingestion Steps
 

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.
  翻译: