SlideShare a Scribd company logo
1 of 16
Download to read offline
Josh LeQuire, COO at theCodery
Rapid Solutions with Salesforce Flows
Introduction, Concepts, Applications
e: josh@thecodery.io, w: thecodery.io, t: @thecoderyio
1
Welcome to the Trailblazer Community
Let’s succeed together
LEARN
Get help, answers, and
inspiration from your peers
and Community Leaders.
CONNECT
Meet Trailblazers like you and
discover opportunities from
mentorship to employment.
HAVE FUN
Enjoy a warm, welcoming
culture and make friends
from around the world.
GIVE BACK
Inspire and mentor the next
generation while building
your skills and reputation.
2
Introduction - Josh LeQuire, theCodery.io
Josh theCodery - Deep, Onshore End-to-End Delivery Expertise
20+
Avg years of experience building
first-class business applications
7
Minimum years of experience working on
the Salesforce platform
6
Average number of certifications per
consultant
100+ Successfully delivered projects
50+ AppExchange-ready products developed
8 Clouds with deep expertise
Tim Osbon, MD, MS
In-house Medical and
Life Science Advisor
Adoption Focus
Quick, cost effective
agile implementation
expertise.
Delighted Clients: Past, Present, & Future
Healthcare &
Life Sciences
3
with Silverline
Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.io
Topics & Agenda
● Before you flow….
○ When and when NOT to use a flow?
● What is a flow?
● Foundational concepts for flows
● Best (at at least better) practices with flows
● Use cases!
○ Creating service contracts from opportunities
Foundation to Application
4
Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.io
Before you flow...
Flows are mini-applications. Do you know?
● What problem(s) are you trying to solve?
● What activities are involved? What is the
sequence?
● What data are involved?
● What kind of User Experience (UX) needs
to be considered?
● What design alternatives exist? Which is
the most optimal for your constraints,
performance, and scale? (More on this later…)
Stop, think, and apply best practices FIRST.
5
Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.io
Platform Tools
“To a hammer, everything looks like a nail…”
6
Job Declarative Programmatic
Presentation Layer ● LEX pages, layouts
● Actions and publisher layouts
● Flow
● Lightning Components (Aura, LWC)
● VisualForce
Logic and Data
Manipulation
● Validation Rules
● Approval Processes
● Workflow
● Process Builder
○ (and Flow)
● Apex framework
○ Controllers
○ Triggers
○ Asynchronous
○ Etc
Security ● Profiles and Permissions
● Sharing and Sharing Rules
● Programmatic Sharing
Advantages ● Easier, quicker to implement
(deploy without tests, change
easily, activate, etc)
● Concept prototyping
● One off transactions
● Massively more efficient
● Scalable*
● Performant*
● Bulk transactions
● Highly flexible for UX and DML
needs
* when proper architecture design is applied
Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.ioRapid Solution Delivery with Flows | Josh LeQuire | thecodery.io
What is a flow?
Check out this fantastic trail mix!
(and another pretty good one too)
● Elements
○ Screens
○ Logic
○ Actions
○ Integrations
● Connectors
● Resources
○ Variables
Hint: it’s (mostly) declarative automation requiring no code.
7
Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.ioRapid Solution Delivery with Flows | Josh LeQuire | thecodery.io
Tips for Flows
1. Apply programming best practices.
a. Think “bulkify.”
i. Work inside lists.
ii. Minimize queries and DML calls as much as possible.
b. Use variables,, assignments, and loops heavily.
c. Beware of object level cascading effects.
i. Integrate appropriately with triggers, processes, workflow, jobs, etc.
2. Get creative with debugging.
3. Test thoroughly!
4. Integrate creatively with other platform tools.
a. Lightning pages
b. Process builder (headless)
c. Actions
d. Lightning Flow Scheduler (new)
e. Programmatic integrations
i. Invocable Apex
ii. Embedded Lightning Components
From the school of hard knocks.
8
Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.io
Flowing Rapidly to a Solution
1. What final data do you need to create?
2. What inputs do you need? (user, from records)
3. How do you go from inputs to final outputs?
Set yourself up for success.
9
Define Data to
Generate
(outputs)
Identify Critical
Data Elements
(inputs & process)
Break down
Steps to Flow
Test DeployBuild
Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.ioRapid Solution Delivery with Flows | Josh LeQuire | thecodery.io
Company: TCIO Holistic Health
Offerings:
PRODUCT:
Home Health Tablet (iPad)
SERVICES:
Home Health Application Subscriptions
Ongoing Support
1 hour 1-on-1 Coaching Sessions
SIMPLE USE CASE
Creating Service Contracts from Won Opportunities
10
What needs to happen:
1. Client Manager creates service contract or
asset after an opportunity is won.
2. Line items from the opportunity should go onto
the service contract.
Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.io
Simple Use Case: Data Elements to Consider
The Underlying Data Model
11
Account
Opportunity
Opportunity
Product
Service Contract
Service Contract
Line Item
Inputs
Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.ioRapid Solution Delivery with Flows | Josh LeQuire | thecodery.io
The Flow
Simple use case, works well for one off, when user initiated.
12
Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.ioRapid Solution Delivery with Flows | Josh LeQuire | thecodery.io
Company: TCIO Holistic Health
Offerings:
PRODUCT:
Home Health Tablet (iPad)
SERVICES:
Home Health Application Subscriptions
Ongoing Support
1 hour 1-on-1 Coaching Sessions
COMPLEX USE CASE
Creating Service Contracts and Assets from Won Opportunities
13
What needs to happen:
1. Client Manager creates service contract or
asset after an opportunity is won.
2. If an opportunity line item is:
a. a product, create an asset with its
entitlement for the customer
b. a service, create a service contract for all
service line items on the opportunity, with
related entitlements for the customer
(contract has line items from the
opportunity)
Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.io
Complex Use Case: Data Elements to Consider
The Underlying Data Model
14
Account
Opportunity
Opportunity
Product
Service Contract
Service Contract
Line Item
Asset
Product
Entitlement
Template
Entitlement Entitlement
Inputs
Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.ioRapid Solution Delivery with Flows | Josh LeQuire | thecodery.io
The Flow
It almost works (could with more debugging & time)… but not ideal.
15
Better designs:
1) LWC / aura component with
controller
2) Integrate invocable apex into
this flow
The ugly:
1) Flat single object queries, no
SOQL advantages
2) Can’t query records ‘in’ a list of
criteria (have to use 2+ for
loops)
3) MULTIPLE database calls you
could consolidate in Apex
4) Incredibly complex
5) Extremely difficult to debug,
test, and maintain - plenty of
unintended consequences
16

More Related Content

What's hot

Eight Steps to Kanban
Eight Steps to KanbanEight Steps to Kanban
Eight Steps to KanbanTechWell
 
Agile Architecture
Agile Architecture Agile Architecture
Agile Architecture VMware Tanzu
 
Agile Project Experiences - The Story of Three Little Pigs
Agile Project Experiences - The Story of Three Little PigsAgile Project Experiences - The Story of Three Little Pigs
Agile Project Experiences - The Story of Three Little PigsCraig Smith
 
IUE2010 ProQuest Redesign
IUE2010 ProQuest RedesignIUE2010 ProQuest Redesign
IUE2010 ProQuest RedesignChris Farnum
 
Winning People to DevOps
Winning People to DevOpsWinning People to DevOps
Winning People to DevOpsMatthew Skelton
 
iSQI Certification Days DASA – DevOps & ISTQB Frank Frambach
iSQI Certification Days DASA – DevOps & ISTQB Frank FrambachiSQI Certification Days DASA – DevOps & ISTQB Frank Frambach
iSQI Certification Days DASA – DevOps & ISTQB Frank FrambachIevgenii Katsan
 
IUE2009 - Lessons Learned While Integrating a New IA Tool
IUE2009 - Lessons Learned While Integrating a New IA ToolIUE2009 - Lessons Learned While Integrating a New IA Tool
IUE2009 - Lessons Learned While Integrating a New IA ToolChris Farnum
 
Blueprinting DevOps for Digital Transformation_v4
Blueprinting DevOps for Digital Transformation_v4Blueprinting DevOps for Digital Transformation_v4
Blueprinting DevOps for Digital Transformation_v4Aswin Kumar
 
Sendachi | 451 | GitHub Webinar: Demystifying Collaboration at Scale: DevOp...
Sendachi | 451 | GitHub Webinar: Demystifying Collaboration at Scale: DevOp...Sendachi | 451 | GitHub Webinar: Demystifying Collaboration at Scale: DevOp...
Sendachi | 451 | GitHub Webinar: Demystifying Collaboration at Scale: DevOp...Sendachi
 
DevOps Beyond the Buzzwords: What it Means to Embrace the DevOps Lifestyle
DevOps Beyond the Buzzwords: What it Means to Embrace the DevOps LifestyleDevOps Beyond the Buzzwords: What it Means to Embrace the DevOps Lifestyle
DevOps Beyond the Buzzwords: What it Means to Embrace the DevOps LifestyleMark Heckler
 
DevOps State of the Union 2015
DevOps State of the Union 2015DevOps State of the Union 2015
DevOps State of the Union 2015Ernest Mueller
 
DOES16 London - Chris Jackson - Disrupting an Enterprise from the Inside
DOES16 London -  Chris Jackson - Disrupting an Enterprise from the InsideDOES16 London -  Chris Jackson - Disrupting an Enterprise from the Inside
DOES16 London - Chris Jackson - Disrupting an Enterprise from the InsideGene Kim
 
Open Source Maturity Curve and Ecosystem
Open Source Maturity Curve and EcosystemOpen Source Maturity Curve and Ecosystem
Open Source Maturity Curve and Ecosystemguest239f177
 
DOES16 London - Jonathan Fletcher - Re-imagining Hiscox IT: A DevOps Story
DOES16 London - Jonathan Fletcher - Re-imagining Hiscox IT: A DevOps StoryDOES16 London - Jonathan Fletcher - Re-imagining Hiscox IT: A DevOps Story
DOES16 London - Jonathan Fletcher - Re-imagining Hiscox IT: A DevOps StoryGene Kim
 
Applying Agile Values to Enterprise Architecture
Applying Agile Values to Enterprise ArchitectureApplying Agile Values to Enterprise Architecture
Applying Agile Values to Enterprise ArchitectureBenjamin Scherrey
 
Trustworthy Transparency and Lean Traceability
Trustworthy Transparency and Lean TraceabilityTrustworthy Transparency and Lean Traceability
Trustworthy Transparency and Lean TraceabilityBrad Appleton
 
DOES15 - Jeffrey Snover - The Cultural Battle To Remove Windows from Windows ...
DOES15 - Jeffrey Snover - The Cultural Battle To Remove Windows from Windows ...DOES15 - Jeffrey Snover - The Cultural Battle To Remove Windows from Windows ...
DOES15 - Jeffrey Snover - The Cultural Battle To Remove Windows from Windows ...Gene Kim
 

What's hot (20)

Eight Steps to Kanban
Eight Steps to KanbanEight Steps to Kanban
Eight Steps to Kanban
 
Agile Architecture
Agile Architecture Agile Architecture
Agile Architecture
 
Agile Project Experiences - The Story of Three Little Pigs
Agile Project Experiences - The Story of Three Little PigsAgile Project Experiences - The Story of Three Little Pigs
Agile Project Experiences - The Story of Three Little Pigs
 
IUE2010 ProQuest Redesign
IUE2010 ProQuest RedesignIUE2010 ProQuest Redesign
IUE2010 ProQuest Redesign
 
Winning People to DevOps
Winning People to DevOpsWinning People to DevOps
Winning People to DevOps
 
iSQI Certification Days DASA – DevOps & ISTQB Frank Frambach
iSQI Certification Days DASA – DevOps & ISTQB Frank FrambachiSQI Certification Days DASA – DevOps & ISTQB Frank Frambach
iSQI Certification Days DASA – DevOps & ISTQB Frank Frambach
 
IUE2009 - Lessons Learned While Integrating a New IA Tool
IUE2009 - Lessons Learned While Integrating a New IA ToolIUE2009 - Lessons Learned While Integrating a New IA Tool
IUE2009 - Lessons Learned While Integrating a New IA Tool
 
Blueprinting DevOps for Digital Transformation_v4
Blueprinting DevOps for Digital Transformation_v4Blueprinting DevOps for Digital Transformation_v4
Blueprinting DevOps for Digital Transformation_v4
 
Sendachi | 451 | GitHub Webinar: Demystifying Collaboration at Scale: DevOp...
Sendachi | 451 | GitHub Webinar: Demystifying Collaboration at Scale: DevOp...Sendachi | 451 | GitHub Webinar: Demystifying Collaboration at Scale: DevOp...
Sendachi | 451 | GitHub Webinar: Demystifying Collaboration at Scale: DevOp...
 
Beyond Scrum and SAFe
Beyond Scrum and SAFeBeyond Scrum and SAFe
Beyond Scrum and SAFe
 
Sakthivel-CV
Sakthivel-CVSakthivel-CV
Sakthivel-CV
 
DevOps Beyond the Buzzwords: What it Means to Embrace the DevOps Lifestyle
DevOps Beyond the Buzzwords: What it Means to Embrace the DevOps LifestyleDevOps Beyond the Buzzwords: What it Means to Embrace the DevOps Lifestyle
DevOps Beyond the Buzzwords: What it Means to Embrace the DevOps Lifestyle
 
DevOps State of the Union 2015
DevOps State of the Union 2015DevOps State of the Union 2015
DevOps State of the Union 2015
 
DOES16 London - Chris Jackson - Disrupting an Enterprise from the Inside
DOES16 London -  Chris Jackson - Disrupting an Enterprise from the InsideDOES16 London -  Chris Jackson - Disrupting an Enterprise from the Inside
DOES16 London - Chris Jackson - Disrupting an Enterprise from the Inside
 
Open Source Maturity Curve and Ecosystem
Open Source Maturity Curve and EcosystemOpen Source Maturity Curve and Ecosystem
Open Source Maturity Curve and Ecosystem
 
DOES16 London - Jonathan Fletcher - Re-imagining Hiscox IT: A DevOps Story
DOES16 London - Jonathan Fletcher - Re-imagining Hiscox IT: A DevOps StoryDOES16 London - Jonathan Fletcher - Re-imagining Hiscox IT: A DevOps Story
DOES16 London - Jonathan Fletcher - Re-imagining Hiscox IT: A DevOps Story
 
Applying Agile Values to Enterprise Architecture
Applying Agile Values to Enterprise ArchitectureApplying Agile Values to Enterprise Architecture
Applying Agile Values to Enterprise Architecture
 
Trustworthy Transparency and Lean Traceability
Trustworthy Transparency and Lean TraceabilityTrustworthy Transparency and Lean Traceability
Trustworthy Transparency and Lean Traceability
 
DevOps at Crevise Technologies
DevOps at Crevise TechnologiesDevOps at Crevise Technologies
DevOps at Crevise Technologies
 
DOES15 - Jeffrey Snover - The Cultural Battle To Remove Windows from Windows ...
DOES15 - Jeffrey Snover - The Cultural Battle To Remove Windows from Windows ...DOES15 - Jeffrey Snover - The Cultural Battle To Remove Windows from Windows ...
DOES15 - Jeffrey Snover - The Cultural Battle To Remove Windows from Windows ...
 

Similar to Rapid Solutions with Salesforce Flows

Introduction to DevOps slides.pdf
Introduction to DevOps slides.pdfIntroduction to DevOps slides.pdf
Introduction to DevOps slides.pdfBoreVishnusai
 
CodeValue Architecture Next 2018 - Executive track dilemmas and solutions in...
CodeValue Architecture Next 2018 - Executive track  dilemmas and solutions in...CodeValue Architecture Next 2018 - Executive track  dilemmas and solutions in...
CodeValue Architecture Next 2018 - Executive track dilemmas and solutions in...Erez PEDRO
 
(SPOT205) 5 Lessons for Managing Massive IT Transformation Projects
(SPOT205) 5 Lessons for Managing Massive IT Transformation Projects(SPOT205) 5 Lessons for Managing Massive IT Transformation Projects
(SPOT205) 5 Lessons for Managing Massive IT Transformation ProjectsAmazon Web Services
 
Introduction to DevOps slides-converted (1).pptx
Introduction to DevOps slides-converted (1).pptxIntroduction to DevOps slides-converted (1).pptx
Introduction to DevOps slides-converted (1).pptxaasssss1
 
Desmistificando Tecnologias
Desmistificando TecnologiasDesmistificando Tecnologias
Desmistificando TecnologiasJuliano Martins
 
Is Lean UX Agile’s Brain? How Lean UX Fixes Common Agile Challenges
Is Lean UX Agile’s Brain? How Lean UX Fixes Common Agile ChallengesIs Lean UX Agile’s Brain? How Lean UX Fixes Common Agile Challenges
Is Lean UX Agile’s Brain? How Lean UX Fixes Common Agile ChallengesFITC
 
PMI Thailand: DevOps / Roles of Project Manager (20-May-2020)
PMI Thailand:   DevOps / Roles of Project Manager (20-May-2020)PMI Thailand:   DevOps / Roles of Project Manager (20-May-2020)
PMI Thailand: DevOps / Roles of Project Manager (20-May-2020)Gonzague PATINIER
 
Emerging Trends of Software Engineering
Emerging Trends of Software Engineering Emerging Trends of Software Engineering
Emerging Trends of Software Engineering DR. Ram Kumar Pathak
 
Proposed Title Fear and Loathing in Agility: Long Live the Accounting Departm...
Proposed Title Fear and Loathing in Agility: Long Live the Accounting Departm...Proposed Title Fear and Loathing in Agility: Long Live the Accounting Departm...
Proposed Title Fear and Loathing in Agility: Long Live the Accounting Departm...Laszlo Szalvay
 
Webinar - Design Thinking for Platform Engineering
Webinar - Design Thinking for Platform EngineeringWebinar - Design Thinking for Platform Engineering
Webinar - Design Thinking for Platform EngineeringOpenCredo
 
Behind the Curtain: Real-world HR Tech Implementations and What You Need to ...
Behind the Curtain: Real-world HR Tech Implementations and What You Need to  ...Behind the Curtain: Real-world HR Tech Implementations and What You Need to  ...
Behind the Curtain: Real-world HR Tech Implementations and What You Need to ...bhropen
 
Fear and Loathing in Agility: Long Live the Accounting Department
Fear and Loathing in Agility: Long Live the Accounting DepartmentFear and Loathing in Agility: Long Live the Accounting Department
Fear and Loathing in Agility: Long Live the Accounting DepartmentAccenture | SolutionsIQ
 
Agility via Software Engineering Practices - Agile Tour Montreal 2015
Agility via Software Engineering Practices - Agile Tour Montreal 2015Agility via Software Engineering Practices - Agile Tour Montreal 2015
Agility via Software Engineering Practices - Agile Tour Montreal 2015Steve Mercier
 
Agile Software Architecture
Agile Software ArchitectureAgile Software Architecture
Agile Software Architecturecesarioramos
 
Enterprise Architecture in Practice: from Datastore to APIs and Apps
Enterprise Architecture in Practice: from Datastore to APIs and AppsEnterprise Architecture in Practice: from Datastore to APIs and Apps
Enterprise Architecture in Practice: from Datastore to APIs and AppsWSO2
 
TechnoCube - Introduction of web development company
TechnoCube - Introduction of web development companyTechnoCube - Introduction of web development company
TechnoCube - Introduction of web development companyTechnocube
 
Bluemix Paris Meetup - Optimization on Cloud (DOcloud) - 14 octobre 2015
Bluemix Paris Meetup -  Optimization on Cloud (DOcloud) - 14 octobre 2015Bluemix Paris Meetup -  Optimization on Cloud (DOcloud) - 14 octobre 2015
Bluemix Paris Meetup - Optimization on Cloud (DOcloud) - 14 octobre 2015IBM France Lab
 
SharePoint as a Business Platform Why, What and How? – No Code
SharePoint as a Business Platform Why, What and How? – No CodeSharePoint as a Business Platform Why, What and How? – No Code
SharePoint as a Business Platform Why, What and How? – No Codedox42
 

Similar to Rapid Solutions with Salesforce Flows (20)

Introduction to DevOps slides.pdf
Introduction to DevOps slides.pdfIntroduction to DevOps slides.pdf
Introduction to DevOps slides.pdf
 
CodeValue Architecture Next 2018 - Executive track dilemmas and solutions in...
CodeValue Architecture Next 2018 - Executive track  dilemmas and solutions in...CodeValue Architecture Next 2018 - Executive track  dilemmas and solutions in...
CodeValue Architecture Next 2018 - Executive track dilemmas and solutions in...
 
(SPOT205) 5 Lessons for Managing Massive IT Transformation Projects
(SPOT205) 5 Lessons for Managing Massive IT Transformation Projects(SPOT205) 5 Lessons for Managing Massive IT Transformation Projects
(SPOT205) 5 Lessons for Managing Massive IT Transformation Projects
 
Introduction to DevOps slides-converted (1).pptx
Introduction to DevOps slides-converted (1).pptxIntroduction to DevOps slides-converted (1).pptx
Introduction to DevOps slides-converted (1).pptx
 
Desmistificando Tecnologias
Desmistificando TecnologiasDesmistificando Tecnologias
Desmistificando Tecnologias
 
Is Lean UX Agile’s Brain? How Lean UX Fixes Common Agile Challenges
Is Lean UX Agile’s Brain? How Lean UX Fixes Common Agile ChallengesIs Lean UX Agile’s Brain? How Lean UX Fixes Common Agile Challenges
Is Lean UX Agile’s Brain? How Lean UX Fixes Common Agile Challenges
 
PMI Thailand: DevOps / Roles of Project Manager (20-May-2020)
PMI Thailand:   DevOps / Roles of Project Manager (20-May-2020)PMI Thailand:   DevOps / Roles of Project Manager (20-May-2020)
PMI Thailand: DevOps / Roles of Project Manager (20-May-2020)
 
Emerging Trends of Software Engineering
Emerging Trends of Software Engineering Emerging Trends of Software Engineering
Emerging Trends of Software Engineering
 
Proposed Title Fear and Loathing in Agility: Long Live the Accounting Departm...
Proposed Title Fear and Loathing in Agility: Long Live the Accounting Departm...Proposed Title Fear and Loathing in Agility: Long Live the Accounting Departm...
Proposed Title Fear and Loathing in Agility: Long Live the Accounting Departm...
 
Webinar - Design Thinking for Platform Engineering
Webinar - Design Thinking for Platform EngineeringWebinar - Design Thinking for Platform Engineering
Webinar - Design Thinking for Platform Engineering
 
Behind the Curtain: Real-world HR Tech Implementations and What You Need to ...
Behind the Curtain: Real-world HR Tech Implementations and What You Need to  ...Behind the Curtain: Real-world HR Tech Implementations and What You Need to  ...
Behind the Curtain: Real-world HR Tech Implementations and What You Need to ...
 
Fear and Loathing in Agility: Long Live the Accounting Department
Fear and Loathing in Agility: Long Live the Accounting DepartmentFear and Loathing in Agility: Long Live the Accounting Department
Fear and Loathing in Agility: Long Live the Accounting Department
 
Agility via Software Engineering Practices - Agile Tour Montreal 2015
Agility via Software Engineering Practices - Agile Tour Montreal 2015Agility via Software Engineering Practices - Agile Tour Montreal 2015
Agility via Software Engineering Practices - Agile Tour Montreal 2015
 
Agile Software Architecture
Agile Software ArchitectureAgile Software Architecture
Agile Software Architecture
 
Enterprise Architecture in Practice: from Datastore to APIs and Apps
Enterprise Architecture in Practice: from Datastore to APIs and AppsEnterprise Architecture in Practice: from Datastore to APIs and Apps
Enterprise Architecture in Practice: from Datastore to APIs and Apps
 
IoT Product Design and Prototyping
IoT Product Design and PrototypingIoT Product Design and Prototyping
IoT Product Design and Prototyping
 
TechnoCube - Introduction of web development company
TechnoCube - Introduction of web development companyTechnoCube - Introduction of web development company
TechnoCube - Introduction of web development company
 
Bluemix Paris Meetup - Optimization on Cloud (DOcloud) - 14 octobre 2015
Bluemix Paris Meetup -  Optimization on Cloud (DOcloud) - 14 octobre 2015Bluemix Paris Meetup -  Optimization on Cloud (DOcloud) - 14 octobre 2015
Bluemix Paris Meetup - Optimization on Cloud (DOcloud) - 14 octobre 2015
 
BUDDY White Paper
BUDDY White PaperBUDDY White Paper
BUDDY White Paper
 
SharePoint as a Business Platform Why, What and How? – No Code
SharePoint as a Business Platform Why, What and How? – No CodeSharePoint as a Business Platform Why, What and How? – No Code
SharePoint as a Business Platform Why, What and How? – No Code
 

Recently uploaded

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 

Recently uploaded (20)

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 

Rapid Solutions with Salesforce Flows

  • 1. Josh LeQuire, COO at theCodery Rapid Solutions with Salesforce Flows Introduction, Concepts, Applications e: josh@thecodery.io, w: thecodery.io, t: @thecoderyio 1
  • 2. Welcome to the Trailblazer Community Let’s succeed together LEARN Get help, answers, and inspiration from your peers and Community Leaders. CONNECT Meet Trailblazers like you and discover opportunities from mentorship to employment. HAVE FUN Enjoy a warm, welcoming culture and make friends from around the world. GIVE BACK Inspire and mentor the next generation while building your skills and reputation. 2
  • 3. Introduction - Josh LeQuire, theCodery.io Josh theCodery - Deep, Onshore End-to-End Delivery Expertise 20+ Avg years of experience building first-class business applications 7 Minimum years of experience working on the Salesforce platform 6 Average number of certifications per consultant 100+ Successfully delivered projects 50+ AppExchange-ready products developed 8 Clouds with deep expertise Tim Osbon, MD, MS In-house Medical and Life Science Advisor Adoption Focus Quick, cost effective agile implementation expertise. Delighted Clients: Past, Present, & Future Healthcare & Life Sciences 3 with Silverline
  • 4. Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.io Topics & Agenda ● Before you flow…. ○ When and when NOT to use a flow? ● What is a flow? ● Foundational concepts for flows ● Best (at at least better) practices with flows ● Use cases! ○ Creating service contracts from opportunities Foundation to Application 4
  • 5. Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.io Before you flow... Flows are mini-applications. Do you know? ● What problem(s) are you trying to solve? ● What activities are involved? What is the sequence? ● What data are involved? ● What kind of User Experience (UX) needs to be considered? ● What design alternatives exist? Which is the most optimal for your constraints, performance, and scale? (More on this later…) Stop, think, and apply best practices FIRST. 5
  • 6. Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.io Platform Tools “To a hammer, everything looks like a nail…” 6 Job Declarative Programmatic Presentation Layer ● LEX pages, layouts ● Actions and publisher layouts ● Flow ● Lightning Components (Aura, LWC) ● VisualForce Logic and Data Manipulation ● Validation Rules ● Approval Processes ● Workflow ● Process Builder ○ (and Flow) ● Apex framework ○ Controllers ○ Triggers ○ Asynchronous ○ Etc Security ● Profiles and Permissions ● Sharing and Sharing Rules ● Programmatic Sharing Advantages ● Easier, quicker to implement (deploy without tests, change easily, activate, etc) ● Concept prototyping ● One off transactions ● Massively more efficient ● Scalable* ● Performant* ● Bulk transactions ● Highly flexible for UX and DML needs * when proper architecture design is applied
  • 7. Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.ioRapid Solution Delivery with Flows | Josh LeQuire | thecodery.io What is a flow? Check out this fantastic trail mix! (and another pretty good one too) ● Elements ○ Screens ○ Logic ○ Actions ○ Integrations ● Connectors ● Resources ○ Variables Hint: it’s (mostly) declarative automation requiring no code. 7
  • 8. Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.ioRapid Solution Delivery with Flows | Josh LeQuire | thecodery.io Tips for Flows 1. Apply programming best practices. a. Think “bulkify.” i. Work inside lists. ii. Minimize queries and DML calls as much as possible. b. Use variables,, assignments, and loops heavily. c. Beware of object level cascading effects. i. Integrate appropriately with triggers, processes, workflow, jobs, etc. 2. Get creative with debugging. 3. Test thoroughly! 4. Integrate creatively with other platform tools. a. Lightning pages b. Process builder (headless) c. Actions d. Lightning Flow Scheduler (new) e. Programmatic integrations i. Invocable Apex ii. Embedded Lightning Components From the school of hard knocks. 8
  • 9. Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.io Flowing Rapidly to a Solution 1. What final data do you need to create? 2. What inputs do you need? (user, from records) 3. How do you go from inputs to final outputs? Set yourself up for success. 9 Define Data to Generate (outputs) Identify Critical Data Elements (inputs & process) Break down Steps to Flow Test DeployBuild
  • 10. Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.ioRapid Solution Delivery with Flows | Josh LeQuire | thecodery.io Company: TCIO Holistic Health Offerings: PRODUCT: Home Health Tablet (iPad) SERVICES: Home Health Application Subscriptions Ongoing Support 1 hour 1-on-1 Coaching Sessions SIMPLE USE CASE Creating Service Contracts from Won Opportunities 10 What needs to happen: 1. Client Manager creates service contract or asset after an opportunity is won. 2. Line items from the opportunity should go onto the service contract.
  • 11. Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.io Simple Use Case: Data Elements to Consider The Underlying Data Model 11 Account Opportunity Opportunity Product Service Contract Service Contract Line Item Inputs
  • 12. Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.ioRapid Solution Delivery with Flows | Josh LeQuire | thecodery.io The Flow Simple use case, works well for one off, when user initiated. 12
  • 13. Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.ioRapid Solution Delivery with Flows | Josh LeQuire | thecodery.io Company: TCIO Holistic Health Offerings: PRODUCT: Home Health Tablet (iPad) SERVICES: Home Health Application Subscriptions Ongoing Support 1 hour 1-on-1 Coaching Sessions COMPLEX USE CASE Creating Service Contracts and Assets from Won Opportunities 13 What needs to happen: 1. Client Manager creates service contract or asset after an opportunity is won. 2. If an opportunity line item is: a. a product, create an asset with its entitlement for the customer b. a service, create a service contract for all service line items on the opportunity, with related entitlements for the customer (contract has line items from the opportunity)
  • 14. Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.io Complex Use Case: Data Elements to Consider The Underlying Data Model 14 Account Opportunity Opportunity Product Service Contract Service Contract Line Item Asset Product Entitlement Template Entitlement Entitlement Inputs
  • 15. Rapid Solution Delivery with Flows | Josh LeQuire | thecodery.ioRapid Solution Delivery with Flows | Josh LeQuire | thecodery.io The Flow It almost works (could with more debugging & time)… but not ideal. 15 Better designs: 1) LWC / aura component with controller 2) Integrate invocable apex into this flow The ugly: 1) Flat single object queries, no SOQL advantages 2) Can’t query records ‘in’ a list of criteria (have to use 2+ for loops) 3) MULTIPLE database calls you could consolidate in Apex 4) Incredibly complex 5) Extremely difficult to debug, test, and maintain - plenty of unintended consequences
  • 16. 16