SlideShare uma empresa Scribd logo
1 de 30
Baixar para ler offline
Advanced Uses of
Salesforce’s Login Flows
​ John M. Daniel
​ FinancialForce.com
​ @ImJohnMDaniel
​ 
​ Certified Platform Builder II
​ Certified Advanced Developer
​ Certified Admin
​ Certified Service Cloud Consultant
@ImJohnMDaniel
John M. Daniel
​ Product Services Team
​ FinancialForce.com
About
GREAT ALONE. BETTER TOGETHER.
​ Native to Salesforce1™ Platform
since 2009
​ Investors include Salesforce Ventures
​ 650+ employees, San Francisco based
3
​ Safe harbor statement under the Private Securities Litigation Reform Act of 1995:
​ This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties
materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed
or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-
looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any
statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new,
planned, or upgraded services or technology developments and customer contracts or use of our services.
​ The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new
functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our
operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any
litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our
relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our
service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger
enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our
annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter.
These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section
of our Web site.
​ Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available
and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features
that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
Safe Harbor
Login Flow Overview
​ What are Login Flows?
​ They are Visual Flows
•  Make use of all basic aspects of Visual Flows
•  UI Elements
•  Logic Elements
•  Data Elements
Bound to a Profile
Initiated by user’s login event
What are Login Flows?
​ …Let’s see one in action!!
Demo #1
​ First Time User
​ Accept Terms of Service
​ Two steps:
•  Define the Visual Flow
•  Bind the flow to profile
Login Flow setup
Define the Flow…
​ Access the Flow menu
Define the Flow…
​ Access the Flow menu
​ Setup a “Screen” element
​  Header elements
​  Welcome text
​  Checkbox for acknowledgement
​  Button to move on
Define the Flow…
​ Access the Flow menu
​ Setup a “Screen” element
​ Add Logic – “Decision” element
•  Element Name
•  “Accepted” outcome
•  “Not Accepted” outcome
Define the Flow…
Bind to profile…
​ Access the Login Flows Screen
Bind to profile…
​ Access the Login Flows Screen
​ Setup the assignment to the
specific profile
Bind to profile…
It’s that simple!
So… When Can You
Use Login Flows?
​ First time User Acceptance of Terms and Services
​ Gather More Information On First Time User of Communities
•  “Login Wizards”
•  Gather interests about community user to automatically subscribe to various data categories
​ Gather information about user’s job role
​ Different landing page on login …other than “Home” page
•  Marketing / Executive Level Sales Pipeline Dashboard when problem exists
•  User needs to fill in timesheet for last week – take them there first!
​ Address Verification
Login Flow Use Cases
Demo #2
​ Sales Pipeline Alert Display
​ Email Based Two Factor Authentication
​ Automatic Registering of QR Codes / Two Factor Authentication
​ Require Two Factor Authentication When Outside Corporate Network
​ On Demand Update of Customer Community User’s Information From Backoffice
More Login Flow Use Cases
​ All of these use cases require Apex Code!
But How Do You
Connect Your Flows
to Apex Code?
Process.Plugin
Apex Interface!!!
​ …Wait! …No! That was the old way.
@InvocableMethod
Apex Annotation!!
​ Allows you to expose an Apex class method to the VisualFlow configuration screen.
​ Use @InvocableVariable annotation to designate variables that can be passed from the Flow to
your Apex class.
​ @InvocableMethods can be packaged!
@InvocableMethod Annotation
Demo #3
​ Advanced Webservice Callout
Questions???
​ Dreamforce ‘15 DevZone Presentations
•  https://github.com/developerforce/df15-devzone-presentations
​ Developer Tech Library – “Login Flows”
•  https://developer.salesforce.com/page/Login-Flows
​ Help Topic – “Custom Login Flows”
•  https://help.salesforce.com/apex/HTViewHelpDoc?id=security_login_flow.htm
​ “Customizing User Authentication with Login Flows” (DF14 presentation on YouTube) by Itzik
Koren, Jerrod Chong, and Charles Oppenhimer
•  https://www.youtube.com/watch?v=gYes8OLAc-k
Links
​ Apex Code Developer’s Guide - @InvocableMethod and @InvocableVariable
•  https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/
apex_classes_annotation_InvocableMethod.htm
•  https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/
apex_classes_annotation_InvocableVariable.htm
​ Force.com Actions Developer’s Guide - Apex Actions
•  https://developer.salesforce.com/docs/atlas.en-us.api_action.meta/api_action/actions_obj_apex.htm
Login Flow samples
•  https://developer.salesforce.com/page/Login-Flows#Login_Flow_samples
More Links
Thanks!
Enjoy #DF15 !!!
Advanced Uses of Salesforce's Login Flows

Mais conteúdo relacionado

Mais procurados

Why Flow with Salesforce Flow
Why Flow with Salesforce FlowWhy Flow with Salesforce Flow
Why Flow with Salesforce Flow
Ajeet Singh
 
Counting -cycle_count_using_mobile_application
Counting  -cycle_count_using_mobile_applicationCounting  -cycle_count_using_mobile_application
Counting -cycle_count_using_mobile_application
manitenkasi
 

Mais procurados (20)

Integrating Active Directory with Salesforce
Integrating Active Directory with SalesforceIntegrating Active Directory with Salesforce
Integrating Active Directory with Salesforce
 
What Is Salesforce? | Salesforce Training - What Does Salesforce Do? | Salesf...
What Is Salesforce? | Salesforce Training - What Does Salesforce Do? | Salesf...What Is Salesforce? | Salesforce Training - What Does Salesforce Do? | Salesf...
What Is Salesforce? | Salesforce Training - What Does Salesforce Do? | Salesf...
 
Creating business group in oracle apps
Creating business group in oracle appsCreating business group in oracle apps
Creating business group in oracle apps
 
Webinar: Take Control of Your Org with Salesforce Optimizer
Webinar: Take Control of Your Org with Salesforce OptimizerWebinar: Take Control of Your Org with Salesforce Optimizer
Webinar: Take Control of Your Org with Salesforce Optimizer
 
Org Merge Best Practices
Org Merge Best PracticesOrg Merge Best Practices
Org Merge Best Practices
 
Seamless Authentication with Force.com Canvas
Seamless Authentication with Force.com CanvasSeamless Authentication with Force.com Canvas
Seamless Authentication with Force.com Canvas
 
Documenting Your Salesforce Org by Nik Panter
Documenting Your Salesforce Org	 by Nik PanterDocumenting Your Salesforce Org	 by Nik Panter
Documenting Your Salesforce Org by Nik Panter
 
Copado - SoftClouds | Expertise
Copado - SoftClouds | ExpertiseCopado - SoftClouds | Expertise
Copado - SoftClouds | Expertise
 
Salesforce Service Cloud - An overview
Salesforce Service Cloud - An overviewSalesforce Service Cloud - An overview
Salesforce Service Cloud - An overview
 
Why Flow with Salesforce Flow
Why Flow with Salesforce FlowWhy Flow with Salesforce Flow
Why Flow with Salesforce Flow
 
LMS Lightning Message Service
LMS Lightning Message ServiceLMS Lightning Message Service
LMS Lightning Message Service
 
Salesforce Interview Questions And Answers | Salesforce Tutorial | Salesforce...
Salesforce Interview Questions And Answers | Salesforce Tutorial | Salesforce...Salesforce Interview Questions And Answers | Salesforce Tutorial | Salesforce...
Salesforce Interview Questions And Answers | Salesforce Tutorial | Salesforce...
 
Best Practices for Rolling Out New Functionality
Best Practices for Rolling Out New FunctionalityBest Practices for Rolling Out New Functionality
Best Practices for Rolling Out New Functionality
 
Salesforce Streaming event - PushTopic and Generic Events
Salesforce Streaming event - PushTopic and Generic EventsSalesforce Streaming event - PushTopic and Generic Events
Salesforce Streaming event - PushTopic and Generic Events
 
Introduction to Force.com Canvas Apps
Introduction to Force.com Canvas AppsIntroduction to Force.com Canvas Apps
Introduction to Force.com Canvas Apps
 
Sharing and setting in salesforce
Sharing and setting in salesforceSharing and setting in salesforce
Sharing and setting in salesforce
 
Force.com Canvas アプリケーション
Force.com Canvas アプリケーションForce.com Canvas アプリケーション
Force.com Canvas アプリケーション
 
Salesforce 開発入門
Salesforce 開発入門Salesforce 開発入門
Salesforce 開発入門
 
Flow in Salesforce
Flow in SalesforceFlow in Salesforce
Flow in Salesforce
 
Counting -cycle_count_using_mobile_application
Counting  -cycle_count_using_mobile_applicationCounting  -cycle_count_using_mobile_application
Counting -cycle_count_using_mobile_application
 

Semelhante a Advanced Uses of Salesforce's Login Flows

Semelhante a Advanced Uses of Salesforce's Login Flows (20)

Single Sign-On and User Provisioning with Salesforce Identity
Single Sign-On and User Provisioning with Salesforce IdentitySingle Sign-On and User Provisioning with Salesforce Identity
Single Sign-On and User Provisioning with Salesforce Identity
 
Introduction to lightning out df16
Introduction to lightning out   df16Introduction to lightning out   df16
Introduction to lightning out df16
 
Salesforce Quip & Salesforce Spring 20 Release Features
Salesforce Quip & Salesforce Spring 20 Release FeaturesSalesforce Quip & Salesforce Spring 20 Release Features
Salesforce Quip & Salesforce Spring 20 Release Features
 
Salesforce Release in a box - Winter 19
Salesforce Release in a box - Winter 19Salesforce Release in a box - Winter 19
Salesforce Release in a box - Winter 19
 
Building BOTS on App Cloud
Building BOTS on App CloudBuilding BOTS on App Cloud
Building BOTS on App Cloud
 
Dreamforce Web Portals
Dreamforce Web PortalsDreamforce Web Portals
Dreamforce Web Portals
 
Dreamforce '06 Keynote: Part 1
Dreamforce '06 Keynote: Part 1Dreamforce '06 Keynote: Part 1
Dreamforce '06 Keynote: Part 1
 
Real Time Integration with Salesforce Platform Events
Real Time Integration with Salesforce Platform EventsReal Time Integration with Salesforce Platform Events
Real Time Integration with Salesforce Platform Events
 
Build Faster with Base Lightning Components
Build Faster with Base Lightning ComponentsBuild Faster with Base Lightning Components
Build Faster with Base Lightning Components
 
CodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Build Lightning Web Components faster with Local DevelopmentCodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Build Lightning Web Components faster with Local Development
 
Salesforce Identity: Don't Treat Your Customers Like Your Employees
Salesforce Identity: Don't Treat Your Customers Like Your EmployeesSalesforce Identity: Don't Treat Your Customers Like Your Employees
Salesforce Identity: Don't Treat Your Customers Like Your Employees
 
Salesforce Tour Paris - Platform Events - Martin Lezer
Salesforce Tour Paris - Platform Events - Martin LezerSalesforce Tour Paris - Platform Events - Martin Lezer
Salesforce Tour Paris - Platform Events - Martin Lezer
 
Singapore dg salesforce einstein + spring 17 release by manish
Singapore dg   salesforce einstein + spring 17 release by manishSingapore dg   salesforce einstein + spring 17 release by manish
Singapore dg salesforce einstein + spring 17 release by manish
 
Five Steps to Effective, Efficient and Evolutionary Process Flows
Five Steps to Effective, Efficient and Evolutionary Process FlowsFive Steps to Effective, Efficient and Evolutionary Process Flows
Five Steps to Effective, Efficient and Evolutionary Process Flows
 
Starting A Successful ISV Business with Salesforce (October 13, 2014)
Starting A Successful ISV Business with Salesforce (October 13, 2014)Starting A Successful ISV Business with Salesforce (October 13, 2014)
Starting A Successful ISV Business with Salesforce (October 13, 2014)
 
#DF17Recap series: Integrate apps easier with the Salesforce platform
#DF17Recap series: Integrate apps easier with the Salesforce platform#DF17Recap series: Integrate apps easier with the Salesforce platform
#DF17Recap series: Integrate apps easier with the Salesforce platform
 
Advanced Platform Series - OAuth and Social Authentication
Advanced Platform Series - OAuth and Social AuthenticationAdvanced Platform Series - OAuth and Social Authentication
Advanced Platform Series - OAuth and Social Authentication
 
Spring '19 Release-in-a-Box
Spring '19 Release-in-a-BoxSpring '19 Release-in-a-Box
Spring '19 Release-in-a-Box
 
ISV Tech Talk: Partner Business Org (October 15, 2014)
ISV Tech Talk: Partner Business Org (October 15, 2014)ISV Tech Talk: Partner Business Org (October 15, 2014)
ISV Tech Talk: Partner Business Org (October 15, 2014)
 
Integrating High-Velocity External Data in Your Salesforce Application
Integrating High-Velocity External Data in Your Salesforce ApplicationIntegrating High-Velocity External Data in Your Salesforce Application
Integrating High-Velocity External Data in Your Salesforce Application
 

Mais de Salesforce Developers

Mais de Salesforce Developers (20)

Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce DevelopersSample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
 
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Maximizing Salesforce Lightning Experience and Lightning Component PerformanceMaximizing Salesforce Lightning Experience and Lightning Component Performance
Maximizing Salesforce Lightning Experience and Lightning Component Performance
 
Local development with Open Source Base Components
Local development with Open Source Base ComponentsLocal development with Open Source Base Components
Local development with Open Source Base Components
 
TrailheaDX India : Developer Highlights
TrailheaDX India : Developer HighlightsTrailheaDX India : Developer Highlights
TrailheaDX India : Developer Highlights
 
Why developers shouldn’t miss TrailheaDX India
Why developers shouldn’t miss TrailheaDX IndiaWhy developers shouldn’t miss TrailheaDX India
Why developers shouldn’t miss TrailheaDX India
 
CodeLive: Converting Aura Components to Lightning Web Components
CodeLive: Converting Aura Components to Lightning Web ComponentsCodeLive: Converting Aura Components to Lightning Web Components
CodeLive: Converting Aura Components to Lightning Web Components
 
Enterprise-grade UI with open source Lightning Web Components
Enterprise-grade UI with open source Lightning Web ComponentsEnterprise-grade UI with open source Lightning Web Components
Enterprise-grade UI with open source Lightning Web Components
 
TrailheaDX and Summer '19: Developer Highlights
TrailheaDX and Summer '19: Developer HighlightsTrailheaDX and Summer '19: Developer Highlights
TrailheaDX and Summer '19: Developer Highlights
 
Live coding with LWC
Live coding with LWCLive coding with LWC
Live coding with LWC
 
Lightning web components - Episode 4 : Security and Testing
Lightning web components  - Episode 4 : Security and TestingLightning web components  - Episode 4 : Security and Testing
Lightning web components - Episode 4 : Security and Testing
 
LWC Episode 3- Component Communication and Aura Interoperability
LWC Episode 3- Component Communication and Aura InteroperabilityLWC Episode 3- Component Communication and Aura Interoperability
LWC Episode 3- Component Communication and Aura Interoperability
 
Lightning web components episode 2- work with salesforce data
Lightning web components   episode 2- work with salesforce dataLightning web components   episode 2- work with salesforce data
Lightning web components episode 2- work with salesforce data
 
Lightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An IntroductionLightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An Introduction
 
Migrating CPQ to Advanced Calculator and JSQCP
Migrating CPQ to Advanced Calculator and JSQCPMigrating CPQ to Advanced Calculator and JSQCP
Migrating CPQ to Advanced Calculator and JSQCP
 
Scale with Large Data Volumes and Big Objects in Salesforce
Scale with Large Data Volumes and Big Objects in SalesforceScale with Large Data Volumes and Big Objects in Salesforce
Scale with Large Data Volumes and Big Objects in Salesforce
 
Replicate Salesforce Data in Real Time with Change Data Capture
Replicate Salesforce Data in Real Time with Change Data CaptureReplicate Salesforce Data in Real Time with Change Data Capture
Replicate Salesforce Data in Real Time with Change Data Capture
 
Modern Development with Salesforce DX
Modern Development with Salesforce DXModern Development with Salesforce DX
Modern Development with Salesforce DX
 
Get Into Lightning Flow Development
Get Into Lightning Flow DevelopmentGet Into Lightning Flow Development
Get Into Lightning Flow Development
 
Integrate CMS Content Into Lightning Communities with CMS Connect
Integrate CMS Content Into Lightning Communities with CMS ConnectIntegrate CMS Content Into Lightning Communities with CMS Connect
Integrate CMS Content Into Lightning Communities with CMS Connect
 
Introduction to MuleSoft
Introduction to MuleSoftIntroduction to MuleSoft
Introduction to MuleSoft
 

Último

Último (20)

Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

Advanced Uses of Salesforce's Login Flows

  • 1. Advanced Uses of Salesforce’s Login Flows ​ John M. Daniel ​ FinancialForce.com ​ @ImJohnMDaniel ​ 
  • 2. ​ Certified Platform Builder II ​ Certified Advanced Developer ​ Certified Admin ​ Certified Service Cloud Consultant @ImJohnMDaniel John M. Daniel ​ Product Services Team ​ FinancialForce.com
  • 3. About GREAT ALONE. BETTER TOGETHER. ​ Native to Salesforce1™ Platform since 2009 ​ Investors include Salesforce Ventures ​ 650+ employees, San Francisco based 3
  • 4. ​ Safe harbor statement under the Private Securities Litigation Reform Act of 1995: ​ This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward- looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. ​ The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. ​ Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements. Safe Harbor
  • 6. ​ They are Visual Flows •  Make use of all basic aspects of Visual Flows •  UI Elements •  Logic Elements •  Data Elements Bound to a Profile Initiated by user’s login event What are Login Flows? ​ …Let’s see one in action!!
  • 7. Demo #1 ​ First Time User ​ Accept Terms of Service
  • 8. ​ Two steps: •  Define the Visual Flow •  Bind the flow to profile Login Flow setup
  • 10. ​ Access the Flow menu Define the Flow…
  • 11. ​ Access the Flow menu ​ Setup a “Screen” element ​  Header elements ​  Welcome text ​  Checkbox for acknowledgement ​  Button to move on Define the Flow…
  • 12. ​ Access the Flow menu ​ Setup a “Screen” element ​ Add Logic – “Decision” element •  Element Name •  “Accepted” outcome •  “Not Accepted” outcome Define the Flow…
  • 14. ​ Access the Login Flows Screen Bind to profile…
  • 15. ​ Access the Login Flows Screen ​ Setup the assignment to the specific profile Bind to profile…
  • 17. So… When Can You Use Login Flows?
  • 18. ​ First time User Acceptance of Terms and Services ​ Gather More Information On First Time User of Communities •  “Login Wizards” •  Gather interests about community user to automatically subscribe to various data categories ​ Gather information about user’s job role ​ Different landing page on login …other than “Home” page •  Marketing / Executive Level Sales Pipeline Dashboard when problem exists •  User needs to fill in timesheet for last week – take them there first! ​ Address Verification Login Flow Use Cases
  • 20. ​ Email Based Two Factor Authentication ​ Automatic Registering of QR Codes / Two Factor Authentication ​ Require Two Factor Authentication When Outside Corporate Network ​ On Demand Update of Customer Community User’s Information From Backoffice More Login Flow Use Cases ​ All of these use cases require Apex Code!
  • 21. But How Do You Connect Your Flows to Apex Code?
  • 24. ​ Allows you to expose an Apex class method to the VisualFlow configuration screen. ​ Use @InvocableVariable annotation to designate variables that can be passed from the Flow to your Apex class. ​ @InvocableMethods can be packaged! @InvocableMethod Annotation
  • 27. ​ Dreamforce ‘15 DevZone Presentations •  https://github.com/developerforce/df15-devzone-presentations ​ Developer Tech Library – “Login Flows” •  https://developer.salesforce.com/page/Login-Flows ​ Help Topic – “Custom Login Flows” •  https://help.salesforce.com/apex/HTViewHelpDoc?id=security_login_flow.htm ​ “Customizing User Authentication with Login Flows” (DF14 presentation on YouTube) by Itzik Koren, Jerrod Chong, and Charles Oppenhimer •  https://www.youtube.com/watch?v=gYes8OLAc-k Links
  • 28. ​ Apex Code Developer’s Guide - @InvocableMethod and @InvocableVariable •  https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/ apex_classes_annotation_InvocableMethod.htm •  https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/ apex_classes_annotation_InvocableVariable.htm ​ Force.com Actions Developer’s Guide - Apex Actions •  https://developer.salesforce.com/docs/atlas.en-us.api_action.meta/api_action/actions_obj_apex.htm Login Flow samples •  https://developer.salesforce.com/page/Login-Flows#Login_Flow_samples More Links