SlideShare une entreprise Scribd logo
1  sur  20
Salesforce Admin Group, Trichy
Flow Builder with Aura
Kadhar Basha J
Salesforce Admin Group, Trichy
Trailblazer Community Group Leader
Sundaravel J
Salesforce Admin Group, Trichy
Trailblazer Community Group Co-Leader
Salesforce Admin Group, Trichy
Salesforce Admin Group, Trichy
Speaker
Kadhar Basha J
Today’s Agenda
• Introduction
• Advantages of Flow and Aura
• SOQL in Flow(Get Records)
• Design Attribute
• Example
• Demo
• Questions & Answers
Flow with Aura Component
Logo
• To customize the look and feel of your flow
screen, build a custom Aura component.
• Configure the component and its design
resource so that they’re compatible with flow
screens.
• Then in Flow Builder, add a screen component to
the screen.
Features
Logo
• Configure Components for Flow Screens
• Control Flow Navigation from an Aura Component
• Customize the Flow Header with an Aura Component
• Dynamically Update a Flow Screen with an Aura Component
Get Records
Logo
• Identify the object whose records you want to find,
and specify conditions to narrow down the list of
returned records. How many records you choose to
store and where to store the field values determines
what to enter in the rest of the Get Records
element.
Design Attribute
Logo
To expose an attribute in Flow Builder
Ex:
<design:component>
<design:attribute name="List_Account_Contact"
label="List_Account_Contact" />
</design:component>
How to Add component to Flow?
Logo
Add the lightning:availableForFlowScreens interface to a Lightning
component to make it available for flow screens. This interface is
supported only in Lightning runtime.
Ex:
<aura:component implements="lightning:availableForFlowScreens">
Example
Logo
Passing Record Id
Logo
Flow in Record Page
Logo
Apex Vs Flow
Logo
Apex:
var action =
component.get("c.getContactrecordsList");
action.setCallback(this, function(response){
var result =response.getReturnValue();
console.log(result);
component.set("v.Contacts",result);
});
$A.enqueueAction(action);
Flow:
var List_Account_Contact = component.get('v.List_Account_Contact');
component.set('v.List_Account_Contact',List_Account_Contact);
Component
Logo
<aura:component implements="lightning:availableForFlowScreens" access="global" >
<aura:attribute name="List_Account_Contact" type="Contact[]" default="[]" access="global"/>
<aura:attribute name="Email" type="String" />
<aura:attribute name="MobilePhone" type="String" />
<aura:handler name="init" value="{!this}" action="{!c.doinit}" />
Continued…
Logo
<lightning:layout>
<lightning:layoutItem padding="around-small" size="6">
<div aria-labelledby="newesurveyform">
<fieldset class="slds-box slds-theme--default slds-container--small">
<lightning:select label="Customers" onchange="{!c.handleOnchange}" aura:id="act" name="relatedCon" >
<option value="None" label="None">
</option>
<aura:iteration items="{!v.List_Account_Contact}" var="item" >
<option value="{!item.Id}" label="{!item.Name}" >
{!item.Name}
</option>
</aura:iteration>
</lightning:select>
<lightning:input label="Email" name="ContactEmail" value="{!v.Email}" disabled="true"/>
<lightning:input label="Mobile" name="ContactMobile" value="{!v.MobilePhone}" disabled="true"/>
</fieldset>
</div>
</lightning:layoutItem>
</lightning:layout>
</aura:component>
Controller
Logo
({ doinit : function(component, event, helper) {
var List_Account_Contact = component.get('v.List_Account_Contact');
component.set('v.List_Account_Contact',List_Account_Contact);
},
handleOnchange : function(component, event, helper) {
var contactDetails = component.get('v.List_Account_Contact');
var relatedContactDetails = contactDetails.find(iterationValue=>iterationValue.Id===event.getSource().get('v.value'));
var checkpoint= event.getSource().get('v.value');
if(checkpoint == 'None')
{
component.set('v.Email','');
component.set('v.MobilePhone','');
}
else
{
component.set('v.Email',relatedContactDetails.Email);
component.set('v.MobilePhone',relatedContactDetails.MobilePhone);
}
}
})
Design
Logo
<design:component>
<design:attribute name="List_Account_Contact" label="List_Account_Contact" />
</design:component>
Launch
DEMO
Flow With Aura.pptx
Flow With Aura.pptx

Contenu connexe

Tendances

asp .net training | asp.net course | asp.net training online | learn asp.net
asp .net training |  asp.net course | asp.net training online |  learn asp.netasp .net training |  asp.net course | asp.net training online |  learn asp.net
asp .net training | asp.net course | asp.net training online | learn asp.net
Nancy Thomas
 
Practical management of development & QA environments for SharePoint 2013
Practical management of development & QA environments for SharePoint 2013Practical management of development & QA environments for SharePoint 2013
Practical management of development & QA environments for SharePoint 2013
SharePointRadi
 

Tendances (10)

Oracle ADF Case Study
Oracle ADF Case StudyOracle ADF Case Study
Oracle ADF Case Study
 
Oracle application framework (oaf) online training
Oracle application framework (oaf) online trainingOracle application framework (oaf) online training
Oracle application framework (oaf) online training
 
That's Rich! Putting a smile on ADF Faces (ODTUG Kaleidoscope 2009)
That's Rich! Putting a smile on ADF Faces (ODTUG Kaleidoscope 2009)That's Rich! Putting a smile on ADF Faces (ODTUG Kaleidoscope 2009)
That's Rich! Putting a smile on ADF Faces (ODTUG Kaleidoscope 2009)
 
asp .net training | asp.net course | asp.net training online | learn asp.net
asp .net training |  asp.net course | asp.net training online |  learn asp.netasp .net training |  asp.net course | asp.net training online |  learn asp.net
asp .net training | asp.net course | asp.net training online | learn asp.net
 
Practical management of development & QA environments for SharePoint 2013
Practical management of development & QA environments for SharePoint 2013Practical management of development & QA environments for SharePoint 2013
Practical management of development & QA environments for SharePoint 2013
 
Oracle ADF 11g Tutorial
Oracle ADF 11g TutorialOracle ADF 11g Tutorial
Oracle ADF 11g Tutorial
 
Using Visual Studio to Build SharePoint 2010 Solutions
Using Visual Studio to Build SharePoint 2010 SolutionsUsing Visual Studio to Build SharePoint 2010 Solutions
Using Visual Studio to Build SharePoint 2010 Solutions
 
SharePoint 2010 Development
SharePoint 2010 DevelopmentSharePoint 2010 Development
SharePoint 2010 Development
 
Oracle adf online training
Oracle adf online trainingOracle adf online training
Oracle adf online training
 
SharePoint 2010 enterprise implementation
SharePoint 2010 enterprise implementationSharePoint 2010 enterprise implementation
SharePoint 2010 enterprise implementation
 

Similaire à Flow With Aura.pptx

Lightning Flofghfhfghfhfhfw Builder.pptx
Lightning Flofghfhfghfhfhfw Builder.pptxLightning Flofghfhfghfhfhfw Builder.pptx
Lightning Flofghfhfghfhfhfw Builder.pptx
Vkrish Peru
 
Summer '16 Realease notes
Summer '16 Realease notesSummer '16 Realease notes
Summer '16 Realease notes
aggopal1011
 
Autosys Trainer CV
Autosys Trainer CVAutosys Trainer CV
Autosys Trainer CV
DS gupta
 

Similaire à Flow With Aura.pptx (20)

Lightning Flofghfhfghfhfhfw Builder.pptx
Lightning Flofghfhfghfhfhfw Builder.pptxLightning Flofghfhfghfhfhfw Builder.pptx
Lightning Flofghfhfghfhfhfw Builder.pptx
 
Rits Brown Bag - Salesforce Lightning
Rits Brown Bag - Salesforce LightningRits Brown Bag - Salesforce Lightning
Rits Brown Bag - Salesforce Lightning
 
Customizing Oracle EBS OA Framework
Customizing Oracle EBS OA FrameworkCustomizing Oracle EBS OA Framework
Customizing Oracle EBS OA Framework
 
Introduction to Alfresco Surf Platform
Introduction to Alfresco Surf PlatformIntroduction to Alfresco Surf Platform
Introduction to Alfresco Surf Platform
 
Salesforce Lightning Web Components Overview
Salesforce Lightning Web Components OverviewSalesforce Lightning Web Components Overview
Salesforce Lightning Web Components Overview
 
Summer '16 Realease notes
Summer '16 Realease notesSummer '16 Realease notes
Summer '16 Realease notes
 
Using state-engine-as-sca-component-final
Using state-engine-as-sca-component-finalUsing state-engine-as-sca-component-final
Using state-engine-as-sca-component-final
 
Winter '19 release development.ppt
Winter '19 release development.pptWinter '19 release development.ppt
Winter '19 release development.ppt
 
Flow builder series i
Flow builder series iFlow builder series i
Flow builder series i
 
Introduction to using jQuery with SharePoint
Introduction to using jQuery with SharePointIntroduction to using jQuery with SharePoint
Introduction to using jQuery with SharePoint
 
Dreamforce 2017 - Up close and personal with Lightning Experience as Platform
Dreamforce 2017 - Up close and personal with Lightning Experience as PlatformDreamforce 2017 - Up close and personal with Lightning Experience as Platform
Dreamforce 2017 - Up close and personal with Lightning Experience as Platform
 
Best practices in using Salesforce Metadata API
Best practices in using Salesforce Metadata APIBest practices in using Salesforce Metadata API
Best practices in using Salesforce Metadata API
 
Windows Server AppFabric Caching - What it is & when you should use it?
Windows Server AppFabric Caching - What it is & when you should use it?Windows Server AppFabric Caching - What it is & when you should use it?
Windows Server AppFabric Caching - What it is & when you should use it?
 
Lightning Component - Components, Actions and Events
Lightning Component - Components, Actions and EventsLightning Component - Components, Actions and Events
Lightning Component - Components, Actions and Events
 
Apex Enterprise Patterns: Building Strong Foundations
Apex Enterprise Patterns: Building Strong FoundationsApex Enterprise Patterns: Building Strong Foundations
Apex Enterprise Patterns: Building Strong Foundations
 
SPSSD: Make Your Life Easier with Microsoft Flow
SPSSD: Make Your Life Easier with Microsoft FlowSPSSD: Make Your Life Easier with Microsoft Flow
SPSSD: Make Your Life Easier with Microsoft Flow
 
Oracle JET CRUD and ADF BC REST
Oracle JET CRUD and ADF BC RESTOracle JET CRUD and ADF BC REST
Oracle JET CRUD and ADF BC REST
 
Autosys Trainer CV
Autosys Trainer CVAutosys Trainer CV
Autosys Trainer CV
 
Lightning components ver1.0
Lightning components ver1.0Lightning components ver1.0
Lightning components ver1.0
 
Introduction to Lightning for Salesforce Admins
Introduction to Lightning for Salesforce AdminsIntroduction to Lightning for Salesforce Admins
Introduction to Lightning for Salesforce Admins
 

Plus de KadharBashaJ

A Review on LWC Events for communication.pptx
A Review on LWC Events for communication.pptxA Review on LWC Events for communication.pptx
A Review on LWC Events for communication.pptx
KadharBashaJ
 
Tour to docgen lightning experience
Tour to docgen lightning experienceTour to docgen lightning experience
Tour to docgen lightning experience
KadharBashaJ
 

Plus de KadharBashaJ (20)

A Review on LWC Events for communication.pptx
A Review on LWC Events for communication.pptxA Review on LWC Events for communication.pptx
A Review on LWC Events for communication.pptx
 
Winter'23 Release Updates.pptx
Winter'23 Release Updates.pptxWinter'23 Release Updates.pptx
Winter'23 Release Updates.pptx
 
Asynchronous Apex .pptx
Asynchronous Apex .pptxAsynchronous Apex .pptx
Asynchronous Apex .pptx
 
Review on Data Security.pptx
Review on Data Security.pptxReview on Data Security.pptx
Review on Data Security.pptx
 
Conga composer
Conga composerConga composer
Conga composer
 
Tour to docgen lightning experience
Tour to docgen lightning experienceTour to docgen lightning experience
Tour to docgen lightning experience
 
Winter 22 features
Winter 22 featuresWinter 22 features
Winter 22 features
 
DocuSign Power Form
DocuSign Power FormDocuSign Power Form
DocuSign Power Form
 
Formstack
FormstackFormstack
Formstack
 
Publish and subscribe platform events using flows
Publish and subscribe platform events using flowsPublish and subscribe platform events using flows
Publish and subscribe platform events using flows
 
Multi language support for salesforce community portal
Multi language support for salesforce community portalMulti language support for salesforce community portal
Multi language support for salesforce community portal
 
Simplified appointment scheduling using lightning scheduler
Simplified appointment scheduling using lightning schedulerSimplified appointment scheduling using lightning scheduler
Simplified appointment scheduling using lightning scheduler
 
How to crack Admin and Advanced Admin
How to crack Admin and Advanced AdminHow to crack Admin and Advanced Admin
How to crack Admin and Advanced Admin
 
Alternate for scheduled apex using flow builder
Alternate for scheduled apex using flow builderAlternate for scheduled apex using flow builder
Alternate for scheduled apex using flow builder
 
How to crack java script certification
How to crack java script certificationHow to crack java script certification
How to crack java script certification
 
Master tableau 20 in data science by solving real life analytics problems
Master tableau 20 in data science by solving real life analytics problemsMaster tableau 20 in data science by solving real life analytics problems
Master tableau 20 in data science by solving real life analytics problems
 
Low code love salesforce automation tool vs apex code
Low code love salesforce automation tool vs apex codeLow code love salesforce automation tool vs apex code
Low code love salesforce automation tool vs apex code
 
Qa mockup interview for automation testing
Qa mockup interview for automation testingQa mockup interview for automation testing
Qa mockup interview for automation testing
 
Qa mock up interview for manual testing
Qa mock up interview for manual testingQa mock up interview for manual testing
Qa mock up interview for manual testing
 
Docu sign integration with salesforce beginner learning series integration...
Docu sign integration with salesforce   beginner learning series  integration...Docu sign integration with salesforce   beginner learning series  integration...
Docu sign integration with salesforce beginner learning series integration...
 

Dernier

Dernier (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
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
 
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...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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
 
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...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

Flow With Aura.pptx

  • 1. Salesforce Admin Group, Trichy Flow Builder with Aura
  • 2. Kadhar Basha J Salesforce Admin Group, Trichy Trailblazer Community Group Leader Sundaravel J Salesforce Admin Group, Trichy Trailblazer Community Group Co-Leader Salesforce Admin Group, Trichy
  • 3. Salesforce Admin Group, Trichy Speaker Kadhar Basha J
  • 4. Today’s Agenda • Introduction • Advantages of Flow and Aura • SOQL in Flow(Get Records) • Design Attribute • Example • Demo • Questions & Answers
  • 5. Flow with Aura Component Logo • To customize the look and feel of your flow screen, build a custom Aura component. • Configure the component and its design resource so that they’re compatible with flow screens. • Then in Flow Builder, add a screen component to the screen.
  • 6. Features Logo • Configure Components for Flow Screens • Control Flow Navigation from an Aura Component • Customize the Flow Header with an Aura Component • Dynamically Update a Flow Screen with an Aura Component
  • 7. Get Records Logo • Identify the object whose records you want to find, and specify conditions to narrow down the list of returned records. How many records you choose to store and where to store the field values determines what to enter in the rest of the Get Records element.
  • 8. Design Attribute Logo To expose an attribute in Flow Builder Ex: <design:component> <design:attribute name="List_Account_Contact" label="List_Account_Contact" /> </design:component>
  • 9. How to Add component to Flow? Logo Add the lightning:availableForFlowScreens interface to a Lightning component to make it available for flow screens. This interface is supported only in Lightning runtime. Ex: <aura:component implements="lightning:availableForFlowScreens">
  • 12. Flow in Record Page Logo
  • 13. Apex Vs Flow Logo Apex: var action = component.get("c.getContactrecordsList"); action.setCallback(this, function(response){ var result =response.getReturnValue(); console.log(result); component.set("v.Contacts",result); }); $A.enqueueAction(action); Flow: var List_Account_Contact = component.get('v.List_Account_Contact'); component.set('v.List_Account_Contact',List_Account_Contact);
  • 14. Component Logo <aura:component implements="lightning:availableForFlowScreens" access="global" > <aura:attribute name="List_Account_Contact" type="Contact[]" default="[]" access="global"/> <aura:attribute name="Email" type="String" /> <aura:attribute name="MobilePhone" type="String" /> <aura:handler name="init" value="{!this}" action="{!c.doinit}" />
  • 15. Continued… Logo <lightning:layout> <lightning:layoutItem padding="around-small" size="6"> <div aria-labelledby="newesurveyform"> <fieldset class="slds-box slds-theme--default slds-container--small"> <lightning:select label="Customers" onchange="{!c.handleOnchange}" aura:id="act" name="relatedCon" > <option value="None" label="None"> </option> <aura:iteration items="{!v.List_Account_Contact}" var="item" > <option value="{!item.Id}" label="{!item.Name}" > {!item.Name} </option> </aura:iteration> </lightning:select> <lightning:input label="Email" name="ContactEmail" value="{!v.Email}" disabled="true"/> <lightning:input label="Mobile" name="ContactMobile" value="{!v.MobilePhone}" disabled="true"/> </fieldset> </div> </lightning:layoutItem> </lightning:layout> </aura:component>
  • 16. Controller Logo ({ doinit : function(component, event, helper) { var List_Account_Contact = component.get('v.List_Account_Contact'); component.set('v.List_Account_Contact',List_Account_Contact); }, handleOnchange : function(component, event, helper) { var contactDetails = component.get('v.List_Account_Contact'); var relatedContactDetails = contactDetails.find(iterationValue=>iterationValue.Id===event.getSource().get('v.value')); var checkpoint= event.getSource().get('v.value'); if(checkpoint == 'None') { component.set('v.Email',''); component.set('v.MobilePhone',''); } else { component.set('v.Email',relatedContactDetails.Email); component.set('v.MobilePhone',relatedContactDetails.MobilePhone); } } })