SlideShare a Scribd company logo
1 of 26
Lightning Process Builder
&
Apex FlexQueue
Ahmedabad - June 20th, 2016
Agenda
• Process Builder
• Demo of Process Builder
• Invocable Methods Demo & Best Practices
• Apex FlexQueue
• Questions
Process Builder
What is it and how does it help
What is Process Builder?
• Introduced as part of the Lightning Framework “a point and click tool for
automating business processes” sits under Workflow & Approvals.
– Similar to Workflow…
• Processes driven by users manipulation of Records
• Workflow Actions Email Alerts, Approval, Field Updates
– But much more…
• Actions can be Immediate or Scheduled
• New Actions, Manage Child Records, Post to Chatter,
Call Flow, Call Apex
What is Process Builder?
Next Generation Workflow New Actions
Workflow Rules
Multiple “Rules” in 1 process
More Flexibility
Graphical Interface
Process without Programming
• Built for all Admins - from
beginners to advanced
• Easy edit lets users respond
quickly to business changes
• Creates a shared canvas for IT
and the Business to collaborate
Add powerful
actions with a
single click
Process Builder Demo
Process Builder Use Case
• Create related Child Records
– “Create a Contact when an Opportunity is Closed”
• Update records
– “Keep Contacts address in sync from Account”
• Post to Chatter
– “Update Opportunity won on Chatter”
Invocable Methods
Introduction & Code Examples
What are Invocable Methods?
• When standard Process Builder Actions are just not enough, do I
have to stop using Process Builder?
• A means to extend Process Builder with Apex! *
– Have developers think about exposing ‘actions’
– Consider packaging actions for greater reuse
* It is also possible to extend the Salesforce Visual Flow tool in the same way.
Invocable Methods can also be called Salesforce REST API, e.g. mobile clients
Invocable Method Example A
NOTE: None void return types from
Invocable Methods are supported,
but are not of interest to Process
Builder.
Invocable Method Example B
NOTE: Note use of label and required variables enhance the
Process Builder UI for the end user
Invocable Methods
Demo
Invocable Methods
Best Practices
Invocable Methods Best Practices *
• Single Invocable method per apex class.
• Not available via Triggers
• Must be static & public/global
• Parameter/ReturnType with data-type :
 Primitive data type or a list of primitive data type
 List of sObject type – generic sObject not supported.
 List of user-defined type
• Once added in package, can’t remove from later versions.
• Make use of label, description and required annotation
attributes to make your methods more accessible to end users of Process
Builder
Process Builder Hot Topics
• What are the limitations on deleting a process ?
• How Can I move processes from one org to another ?
• Formula Limitations ?
• How do I know which automation tool to use ?
• Can I create Task with Process Builder ?
Resources
• Community Blogs featuring Process Builder and Incovable Methods
– Lightning Process Builder and Invocable Methods
http://bobbuzzard.blogspot.co.uk/2015/02/lightning-process-builder-and-invocable.html
– Extending Lightning Process Builder and Visual Workflow with Apex
http://andyinthecloud.com/2015/03/01/extending-lightning-process-builder-and-visual-workflow-with-apex/
– The Revolution !! Invocable Power - Spring 15
http://andyinthecloud.com/category/process-builder/
– Controlling Internet Devices via Lightning Process Builder
http://andyinthecloud.com/2015/01/31/controlling-internet-devices-via-lightning-process-builder/
– Process Builder Workflow Automation Group
https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F9300000001rzc
• General Gotchas
– Process Builder Bulkification issue with field expressions
http://www.tquila.com/blog/2015/03/09/bulkify-lightning-process-builder
– Salesforce Process Builder Known Issues
https://success.salesforce.com/issues_index?tag=Process%20Builder
Recap
• Go Faster with Process Builder!
– Reduce Implementation Time
• Many use cases previously only possible with Apex Triggers now possible
with clicks not code via Process Builder
– Developers and Admins Working Closer Together to automate more!
• Think about ways to extend Process Builder via Invocable Actions
– Opportunities to create Libraries of Invocable Methods to share
• Invocable Methods can be packaged
Apex FlexQueue
Before :

Which
Options Do
We have ?
@future
@Batch
Jobs
Schedule
Jobs
Limitations of Asynchronous Process
Waits for salesforce
resources
No Job Id
Only Return Void
Parameters must be
primitive
@future
Can’t order jobs
Only 5 active jobs
Batch
And Now :
Flex Queue
Flex Queue Add-On
More than 5 apex jobs in Apex Jobs Table
5 Jobs Processing + 95 Jobs holding
New UI to monitor & manage Jobs
Reorder the holding apex Jobs
Apex FlexQueue
Demo
Thank you

More Related Content

What's hot

Best Practices for a Repeatable Shift-Left Commitment
Best Practices for a Repeatable Shift-Left CommitmentBest Practices for a Repeatable Shift-Left Commitment
Best Practices for a Repeatable Shift-Left CommitmentApplause
 
The happy developer - SharePoint Framework React and Mindfulness
The happy developer - SharePoint Framework React and MindfulnessThe happy developer - SharePoint Framework React and Mindfulness
The happy developer - SharePoint Framework React and MindfulnessOlli Jääskeläinen
 
Redisnged ui webinar - 3.16.16
Redisnged ui   webinar - 3.16.16Redisnged ui   webinar - 3.16.16
Redisnged ui webinar - 3.16.16Acquia
 
Tests supporting multiple mobile platforms
Tests supporting multiple mobile platformsTests supporting multiple mobile platforms
Tests supporting multiple mobile platformsvodqancr
 
Testing Ajax, Mobile Apps the Agile Way
Testing Ajax, Mobile Apps the Agile WayTesting Ajax, Mobile Apps the Agile Way
Testing Ajax, Mobile Apps the Agile WayClever Moe
 
Open Source BPM in Java
Open Source BPM in JavaOpen Source BPM in Java
Open Source BPM in JavaDavid Noble
 
What to Expect from Sahi Pro
What to Expect from Sahi ProWhat to Expect from Sahi Pro
What to Expect from Sahi ProTyto Software
 
Alm with tfs 2013
Alm with tfs 2013Alm with tfs 2013
Alm with tfs 2013MSDEVMTL
 
Web performance Speed matters
Web performance Speed mattersWeb performance Speed matters
Web performance Speed mattersDeepti Bhutani
 
Melbourne UG Presentation - UI Flow for Power Automate
Melbourne UG Presentation - UI Flow for Power AutomateMelbourne UG Presentation - UI Flow for Power Automate
Melbourne UG Presentation - UI Flow for Power AutomateAndre Margono
 
Lap around ALM with Visual Studio and TFS 2013
Lap around ALM with Visual Studio and TFS 2013Lap around ALM with Visual Studio and TFS 2013
Lap around ALM with Visual Studio and TFS 2013Paul Hacker
 
BrightGen's Spring 13 Salesforce Release Webinar
BrightGen's Spring 13 Salesforce Release WebinarBrightGen's Spring 13 Salesforce Release Webinar
BrightGen's Spring 13 Salesforce Release Webinarbrightgenss
 
UiPath studio presentation
UiPath studio presentationUiPath studio presentation
UiPath studio presentationUiPath
 
Use Jenkins For Continuous Load Testing And Mobile Test Automation
Use Jenkins For Continuous Load Testing And Mobile Test AutomationUse Jenkins For Continuous Load Testing And Mobile Test Automation
Use Jenkins For Continuous Load Testing And Mobile Test AutomationClever Moe
 
Session 3.2 Your first excel and word automations
Session 3.2 Your first excel and word automationsSession 3.2 Your first excel and word automations
Session 3.2 Your first excel and word automationsCristina Vidu
 

What's hot (20)

Developer@sky
Developer@skyDeveloper@sky
Developer@sky
 
Best Practices for a Repeatable Shift-Left Commitment
Best Practices for a Repeatable Shift-Left CommitmentBest Practices for a Repeatable Shift-Left Commitment
Best Practices for a Repeatable Shift-Left Commitment
 
ALM in 2010
ALM in 2010ALM in 2010
ALM in 2010
 
Power Apps for developers
Power Apps for developersPower Apps for developers
Power Apps for developers
 
The happy developer - SharePoint Framework React and Mindfulness
The happy developer - SharePoint Framework React and MindfulnessThe happy developer - SharePoint Framework React and Mindfulness
The happy developer - SharePoint Framework React and Mindfulness
 
Redisnged ui webinar - 3.16.16
Redisnged ui   webinar - 3.16.16Redisnged ui   webinar - 3.16.16
Redisnged ui webinar - 3.16.16
 
Tests supporting multiple mobile platforms
Tests supporting multiple mobile platformsTests supporting multiple mobile platforms
Tests supporting multiple mobile platforms
 
Testing Ajax, Mobile Apps the Agile Way
Testing Ajax, Mobile Apps the Agile WayTesting Ajax, Mobile Apps the Agile Way
Testing Ajax, Mobile Apps the Agile Way
 
ASP.NET MVC - Latest & Greatest So Far
ASP.NET MVC - Latest & Greatest So FarASP.NET MVC - Latest & Greatest So Far
ASP.NET MVC - Latest & Greatest So Far
 
Open Source BPM in Java
Open Source BPM in JavaOpen Source BPM in Java
Open Source BPM in Java
 
What to Expect from Sahi Pro
What to Expect from Sahi ProWhat to Expect from Sahi Pro
What to Expect from Sahi Pro
 
Alm with tfs 2013
Alm with tfs 2013Alm with tfs 2013
Alm with tfs 2013
 
Web performance Speed matters
Web performance Speed mattersWeb performance Speed matters
Web performance Speed matters
 
Melbourne UG Presentation - UI Flow for Power Automate
Melbourne UG Presentation - UI Flow for Power AutomateMelbourne UG Presentation - UI Flow for Power Automate
Melbourne UG Presentation - UI Flow for Power Automate
 
Lap around ALM with Visual Studio and TFS 2013
Lap around ALM with Visual Studio and TFS 2013Lap around ALM with Visual Studio and TFS 2013
Lap around ALM with Visual Studio and TFS 2013
 
BrightGen's Spring 13 Salesforce Release Webinar
BrightGen's Spring 13 Salesforce Release WebinarBrightGen's Spring 13 Salesforce Release Webinar
BrightGen's Spring 13 Salesforce Release Webinar
 
UiPath studio presentation
UiPath studio presentationUiPath studio presentation
UiPath studio presentation
 
Use Jenkins For Continuous Load Testing And Mobile Test Automation
Use Jenkins For Continuous Load Testing And Mobile Test AutomationUse Jenkins For Continuous Load Testing And Mobile Test Automation
Use Jenkins For Continuous Load Testing And Mobile Test Automation
 
Intro to DotNetNuke 6
Intro to DotNetNuke 6Intro to DotNetNuke 6
Intro to DotNetNuke 6
 
Session 3.2 Your first excel and word automations
Session 3.2 Your first excel and word automationsSession 3.2 Your first excel and word automations
Session 3.2 Your first excel and word automations
 

Viewers also liked

Croft Additive Manufacturing - Future Watch Case Study
Croft Additive Manufacturing - Future Watch Case StudyCroft Additive Manufacturing - Future Watch Case Study
Croft Additive Manufacturing - Future Watch Case StudyHarri Lakkala
 
Designing Health Promoting Dance-based ExerGames to Maximize Physical Exertio...
Designing Health Promoting Dance-based ExerGames to Maximize Physical Exertio...Designing Health Promoting Dance-based ExerGames to Maximize Physical Exertio...
Designing Health Promoting Dance-based ExerGames to Maximize Physical Exertio...Alasdair Thin
 
Solo CTA trabajo Innova 8vo "C"
Solo CTA trabajo Innova 8vo "C"Solo CTA trabajo Innova 8vo "C"
Solo CTA trabajo Innova 8vo "C"Leonardo Cuya
 
Roadmap to become a strategic talent acquisition organization | ConnectIn
Roadmap to become a strategic talent acquisition organization | ConnectIn Roadmap to become a strategic talent acquisition organization | ConnectIn
Roadmap to become a strategic talent acquisition organization | ConnectIn LinkedIn Talent Solutions
 
2016 Salesforce Essentials by partena professional
2016 Salesforce Essentials by partena professional2016 Salesforce Essentials by partena professional
2016 Salesforce Essentials by partena professional4C
 
Debugging lightning components
Debugging lightning componentsDebugging lightning components
Debugging lightning componentsMadan Khichi
 
3. bai trinh bay lien dn july 24
3. bai trinh bay lien dn july 243. bai trinh bay lien dn july 24
3. bai trinh bay lien dn july 24khanh-itims
 
ISV Lightning Webinar Series - Part 2 (December 8, 2015)
ISV Lightning Webinar Series - Part 2 (December 8, 2015)ISV Lightning Webinar Series - Part 2 (December 8, 2015)
ISV Lightning Webinar Series - Part 2 (December 8, 2015)Salesforce Partners
 
6 Principles to Work Differently // Dimension and Diagram
6 Principles to Work Differently // Dimension and Diagram6 Principles to Work Differently // Dimension and Diagram
6 Principles to Work Differently // Dimension and DiagramSalesforce Ignite
 
Lightning Out: Components for the Rest of the World
Lightning Out: Components for the Rest of the WorldLightning Out: Components for the Rest of the World
Lightning Out: Components for the Rest of the WorldSalesforce Developers
 
2.bai giang tlhpt th s le thi mai lien
2.bai giang tlhpt th s le thi mai lien2.bai giang tlhpt th s le thi mai lien
2.bai giang tlhpt th s le thi mai lienNhat Nguyen
 
Nick Gardner 30-60-90 & V2MOM
Nick Gardner 30-60-90 & V2MOMNick Gardner 30-60-90 & V2MOM
Nick Gardner 30-60-90 & V2MOMNick Gardner
 
Katalog Oriflame 15/2016
Katalog Oriflame 15/2016Katalog Oriflame 15/2016
Katalog Oriflame 15/2016Mariusz Opala
 
Những câu chuyện chưa kể
Những câu chuyện chưa kểNhững câu chuyện chưa kể
Những câu chuyện chưa kểCCIHP
 
Ky yeu hoi nghi quoc gia ve tinh duc va suc khoe 2012
Ky yeu hoi nghi quoc gia ve tinh duc va suc khoe 2012Ky yeu hoi nghi quoc gia ve tinh duc va suc khoe 2012
Ky yeu hoi nghi quoc gia ve tinh duc va suc khoe 2012CCIHP
 

Viewers also liked (18)

ABRAHAM HAROLD MASLOW <1908>
ABRAHAM HAROLD MASLOW <1908>ABRAHAM HAROLD MASLOW <1908>
ABRAHAM HAROLD MASLOW <1908>
 
Croft Additive Manufacturing - Future Watch Case Study
Croft Additive Manufacturing - Future Watch Case StudyCroft Additive Manufacturing - Future Watch Case Study
Croft Additive Manufacturing - Future Watch Case Study
 
Designing Health Promoting Dance-based ExerGames to Maximize Physical Exertio...
Designing Health Promoting Dance-based ExerGames to Maximize Physical Exertio...Designing Health Promoting Dance-based ExerGames to Maximize Physical Exertio...
Designing Health Promoting Dance-based ExerGames to Maximize Physical Exertio...
 
Solo CTA trabajo Innova 8vo "C"
Solo CTA trabajo Innova 8vo "C"Solo CTA trabajo Innova 8vo "C"
Solo CTA trabajo Innova 8vo "C"
 
Roadmap to become a strategic talent acquisition organization | ConnectIn
Roadmap to become a strategic talent acquisition organization | ConnectIn Roadmap to become a strategic talent acquisition organization | ConnectIn
Roadmap to become a strategic talent acquisition organization | ConnectIn
 
2016 Salesforce Essentials by partena professional
2016 Salesforce Essentials by partena professional2016 Salesforce Essentials by partena professional
2016 Salesforce Essentials by partena professional
 
Debugging lightning components
Debugging lightning componentsDebugging lightning components
Debugging lightning components
 
3. bai trinh bay lien dn july 24
3. bai trinh bay lien dn july 243. bai trinh bay lien dn july 24
3. bai trinh bay lien dn july 24
 
ISV Lightning Webinar Series - Part 2 (December 8, 2015)
ISV Lightning Webinar Series - Part 2 (December 8, 2015)ISV Lightning Webinar Series - Part 2 (December 8, 2015)
ISV Lightning Webinar Series - Part 2 (December 8, 2015)
 
6 Principles to Work Differently // Dimension and Diagram
6 Principles to Work Differently // Dimension and Diagram6 Principles to Work Differently // Dimension and Diagram
6 Principles to Work Differently // Dimension and Diagram
 
Lightning Out: Components for the Rest of the World
Lightning Out: Components for the Rest of the WorldLightning Out: Components for the Rest of the World
Lightning Out: Components for the Rest of the World
 
2.bai giang tlhpt th s le thi mai lien
2.bai giang tlhpt th s le thi mai lien2.bai giang tlhpt th s le thi mai lien
2.bai giang tlhpt th s le thi mai lien
 
Cấu trúc nhân cách
Cấu trúc nhân cáchCấu trúc nhân cách
Cấu trúc nhân cách
 
Nick Gardner 30-60-90 & V2MOM
Nick Gardner 30-60-90 & V2MOMNick Gardner 30-60-90 & V2MOM
Nick Gardner 30-60-90 & V2MOM
 
Katalog Oriflame 15/2016
Katalog Oriflame 15/2016Katalog Oriflame 15/2016
Katalog Oriflame 15/2016
 
Right to equality
Right to equalityRight to equality
Right to equality
 
Những câu chuyện chưa kể
Những câu chuyện chưa kểNhững câu chuyện chưa kể
Những câu chuyện chưa kể
 
Ky yeu hoi nghi quoc gia ve tinh duc va suc khoe 2012
Ky yeu hoi nghi quoc gia ve tinh duc va suc khoe 2012Ky yeu hoi nghi quoc gia ve tinh duc va suc khoe 2012
Ky yeu hoi nghi quoc gia ve tinh duc va suc khoe 2012
 

Similar to Lightning Process Builder & Apex FlexQueue Automation Tools

Optimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best PracticesOptimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best PracticesTeamstudio
 
Datapolis Guest Expert Presentation: Limitations of SharePoint Designer by Bj...
Datapolis Guest Expert Presentation: Limitations of SharePoint Designer by Bj...Datapolis Guest Expert Presentation: Limitations of SharePoint Designer by Bj...
Datapolis Guest Expert Presentation: Limitations of SharePoint Designer by Bj...Datapolis
 
Building high performance and scalable share point applications
Building high performance and scalable share point applicationsBuilding high performance and scalable share point applications
Building high performance and scalable share point applicationsTalbott Crowell
 
Office Add ins community call-February 2019
Office Add ins community call-February 2019Office Add ins community call-February 2019
Office Add ins community call-February 2019Microsoft 365 Developer
 
Integrating SharePoint 2010, 2013 and Visual Studio Lightswitch by Rob Windso...
Integrating SharePoint 2010, 2013 and Visual Studio Lightswitch by Rob Windso...Integrating SharePoint 2010, 2013 and Visual Studio Lightswitch by Rob Windso...
Integrating SharePoint 2010, 2013 and Visual Studio Lightswitch by Rob Windso...SPTechCon
 
UK Community day 20180427 Microsoft Flow hackathon
UK Community day 20180427 Microsoft Flow hackathonUK Community day 20180427 Microsoft Flow hackathon
UK Community day 20180427 Microsoft Flow hackathonPenny Coventry
 
Edgewater Consulting Mastering SharePoint Designer Workflows
Edgewater Consulting Mastering SharePoint Designer WorkflowsEdgewater Consulting Mastering SharePoint Designer Workflows
Edgewater Consulting Mastering SharePoint Designer WorkflowsEdgewater
 
Tips for Beginning Cognos Report Studio Authors: Demonstration of Techniques
Tips for Beginning Cognos Report Studio Authors: Demonstration of TechniquesTips for Beginning Cognos Report Studio Authors: Demonstration of Techniques
Tips for Beginning Cognos Report Studio Authors: Demonstration of TechniquesSenturus
 
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...Theo Jungeblut
 
Cross Platform Development with Spring
Cross Platform Development with SpringCross Platform Development with Spring
Cross Platform Development with SpringCygnet Infotech
 
Are processes masquerading as projects hurting your business
Are processes masquerading as projects hurting your businessAre processes masquerading as projects hurting your business
Are processes masquerading as projects hurting your businessBen Bradley
 
Introduction to the web engineering Process.pdf
Introduction to the web engineering Process.pdfIntroduction to the web engineering Process.pdf
Introduction to the web engineering Process.pdfMahmoud268161
 
Keeping Pace with Product Evolution - UI Automation Framework Guidelines
Keeping Pace with Product Evolution - UI Automation Framework GuidelinesKeeping Pace with Product Evolution - UI Automation Framework Guidelines
Keeping Pace with Product Evolution - UI Automation Framework GuidelinesTyto Software
 
Ultimate Project Office with BrightWork and Nintex - Event on May 6
Ultimate Project Office with BrightWork and Nintex - Event on May 6Ultimate Project Office with BrightWork and Nintex - Event on May 6
Ultimate Project Office with BrightWork and Nintex - Event on May 6David J Rosenthal
 
Software Process Models
Software Process ModelsSoftware Process Models
Software Process ModelsAtul Karmyal
 
Mage Titans USA 2016 - Mathew Beane - Edit Fully Stacked: Less OOPS, More OPS...
Mage Titans USA 2016 - Mathew Beane - Edit Fully Stacked: Less OOPS, More OPS...Mage Titans USA 2016 - Mathew Beane - Edit Fully Stacked: Less OOPS, More OPS...
Mage Titans USA 2016 - Mathew Beane - Edit Fully Stacked: Less OOPS, More OPS...Stacey Whitney
 
Using Agile In A Quality Driven Environment
Using Agile In A Quality Driven EnvironmentUsing Agile In A Quality Driven Environment
Using Agile In A Quality Driven EnvironmentLeslie Munday
 
Creating a SharePoint App with Microsoft Access Services
Creating a SharePoint App with Microsoft Access ServicesCreating a SharePoint App with Microsoft Access Services
Creating a SharePoint App with Microsoft Access ServicesSPC Adriatics
 
Modernising the way System Customisers Configure the Model-Driven Apps for Us...
Modernising the way System Customisers Configure the Model-Driven Apps for Us...Modernising the way System Customisers Configure the Model-Driven Apps for Us...
Modernising the way System Customisers Configure the Model-Driven Apps for Us...Linn Zaw Win
 

Similar to Lightning Process Builder & Apex FlexQueue Automation Tools (20)

Optimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best PracticesOptimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best Practices
 
Datapolis Guest Expert Presentation: Limitations of SharePoint Designer by Bj...
Datapolis Guest Expert Presentation: Limitations of SharePoint Designer by Bj...Datapolis Guest Expert Presentation: Limitations of SharePoint Designer by Bj...
Datapolis Guest Expert Presentation: Limitations of SharePoint Designer by Bj...
 
Building high performance and scalable share point applications
Building high performance and scalable share point applicationsBuilding high performance and scalable share point applications
Building high performance and scalable share point applications
 
Office Add ins community call-February 2019
Office Add ins community call-February 2019Office Add ins community call-February 2019
Office Add ins community call-February 2019
 
Integrating SharePoint 2010, 2013 and Visual Studio Lightswitch by Rob Windso...
Integrating SharePoint 2010, 2013 and Visual Studio Lightswitch by Rob Windso...Integrating SharePoint 2010, 2013 and Visual Studio Lightswitch by Rob Windso...
Integrating SharePoint 2010, 2013 and Visual Studio Lightswitch by Rob Windso...
 
UK Community day 20180427 Microsoft Flow hackathon
UK Community day 20180427 Microsoft Flow hackathonUK Community day 20180427 Microsoft Flow hackathon
UK Community day 20180427 Microsoft Flow hackathon
 
what-is-devops.ppt
what-is-devops.pptwhat-is-devops.ppt
what-is-devops.ppt
 
Edgewater Consulting Mastering SharePoint Designer Workflows
Edgewater Consulting Mastering SharePoint Designer WorkflowsEdgewater Consulting Mastering SharePoint Designer Workflows
Edgewater Consulting Mastering SharePoint Designer Workflows
 
Tips for Beginning Cognos Report Studio Authors: Demonstration of Techniques
Tips for Beginning Cognos Report Studio Authors: Demonstration of TechniquesTips for Beginning Cognos Report Studio Authors: Demonstration of Techniques
Tips for Beginning Cognos Report Studio Authors: Demonstration of Techniques
 
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
 
Cross Platform Development with Spring
Cross Platform Development with SpringCross Platform Development with Spring
Cross Platform Development with Spring
 
Are processes masquerading as projects hurting your business
Are processes masquerading as projects hurting your businessAre processes masquerading as projects hurting your business
Are processes masquerading as projects hurting your business
 
Introduction to the web engineering Process.pdf
Introduction to the web engineering Process.pdfIntroduction to the web engineering Process.pdf
Introduction to the web engineering Process.pdf
 
Keeping Pace with Product Evolution - UI Automation Framework Guidelines
Keeping Pace with Product Evolution - UI Automation Framework GuidelinesKeeping Pace with Product Evolution - UI Automation Framework Guidelines
Keeping Pace with Product Evolution - UI Automation Framework Guidelines
 
Ultimate Project Office with BrightWork and Nintex - Event on May 6
Ultimate Project Office with BrightWork and Nintex - Event on May 6Ultimate Project Office with BrightWork and Nintex - Event on May 6
Ultimate Project Office with BrightWork and Nintex - Event on May 6
 
Software Process Models
Software Process ModelsSoftware Process Models
Software Process Models
 
Mage Titans USA 2016 - Mathew Beane - Edit Fully Stacked: Less OOPS, More OPS...
Mage Titans USA 2016 - Mathew Beane - Edit Fully Stacked: Less OOPS, More OPS...Mage Titans USA 2016 - Mathew Beane - Edit Fully Stacked: Less OOPS, More OPS...
Mage Titans USA 2016 - Mathew Beane - Edit Fully Stacked: Less OOPS, More OPS...
 
Using Agile In A Quality Driven Environment
Using Agile In A Quality Driven EnvironmentUsing Agile In A Quality Driven Environment
Using Agile In A Quality Driven Environment
 
Creating a SharePoint App with Microsoft Access Services
Creating a SharePoint App with Microsoft Access ServicesCreating a SharePoint App with Microsoft Access Services
Creating a SharePoint App with Microsoft Access Services
 
Modernising the way System Customisers Configure the Model-Driven Apps for Us...
Modernising the way System Customisers Configure the Model-Driven Apps for Us...Modernising the way System Customisers Configure the Model-Driven Apps for Us...
Modernising the way System Customisers Configure the Model-Driven Apps for Us...
 

Recently uploaded

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
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
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 

Recently uploaded (20)

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
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
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 

Lightning Process Builder & Apex FlexQueue Automation Tools

  • 1. Lightning Process Builder & Apex FlexQueue Ahmedabad - June 20th, 2016
  • 2. Agenda • Process Builder • Demo of Process Builder • Invocable Methods Demo & Best Practices • Apex FlexQueue • Questions
  • 3. Process Builder What is it and how does it help
  • 4. What is Process Builder? • Introduced as part of the Lightning Framework “a point and click tool for automating business processes” sits under Workflow & Approvals. – Similar to Workflow… • Processes driven by users manipulation of Records • Workflow Actions Email Alerts, Approval, Field Updates – But much more… • Actions can be Immediate or Scheduled • New Actions, Manage Child Records, Post to Chatter, Call Flow, Call Apex
  • 5. What is Process Builder? Next Generation Workflow New Actions Workflow Rules Multiple “Rules” in 1 process More Flexibility Graphical Interface
  • 6. Process without Programming • Built for all Admins - from beginners to advanced • Easy edit lets users respond quickly to business changes • Creates a shared canvas for IT and the Business to collaborate Add powerful actions with a single click
  • 8. Process Builder Use Case • Create related Child Records – “Create a Contact when an Opportunity is Closed” • Update records – “Keep Contacts address in sync from Account” • Post to Chatter – “Update Opportunity won on Chatter”
  • 10. What are Invocable Methods? • When standard Process Builder Actions are just not enough, do I have to stop using Process Builder? • A means to extend Process Builder with Apex! * – Have developers think about exposing ‘actions’ – Consider packaging actions for greater reuse * It is also possible to extend the Salesforce Visual Flow tool in the same way. Invocable Methods can also be called Salesforce REST API, e.g. mobile clients
  • 11. Invocable Method Example A NOTE: None void return types from Invocable Methods are supported, but are not of interest to Process Builder.
  • 12. Invocable Method Example B NOTE: Note use of label and required variables enhance the Process Builder UI for the end user
  • 15. Invocable Methods Best Practices * • Single Invocable method per apex class. • Not available via Triggers • Must be static & public/global • Parameter/ReturnType with data-type :  Primitive data type or a list of primitive data type  List of sObject type – generic sObject not supported.  List of user-defined type • Once added in package, can’t remove from later versions. • Make use of label, description and required annotation attributes to make your methods more accessible to end users of Process Builder
  • 16. Process Builder Hot Topics • What are the limitations on deleting a process ? • How Can I move processes from one org to another ? • Formula Limitations ? • How do I know which automation tool to use ? • Can I create Task with Process Builder ?
  • 17. Resources • Community Blogs featuring Process Builder and Incovable Methods – Lightning Process Builder and Invocable Methods http://bobbuzzard.blogspot.co.uk/2015/02/lightning-process-builder-and-invocable.html – Extending Lightning Process Builder and Visual Workflow with Apex http://andyinthecloud.com/2015/03/01/extending-lightning-process-builder-and-visual-workflow-with-apex/ – The Revolution !! Invocable Power - Spring 15 http://andyinthecloud.com/category/process-builder/ – Controlling Internet Devices via Lightning Process Builder http://andyinthecloud.com/2015/01/31/controlling-internet-devices-via-lightning-process-builder/ – Process Builder Workflow Automation Group https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F9300000001rzc • General Gotchas – Process Builder Bulkification issue with field expressions http://www.tquila.com/blog/2015/03/09/bulkify-lightning-process-builder – Salesforce Process Builder Known Issues https://success.salesforce.com/issues_index?tag=Process%20Builder
  • 18. Recap • Go Faster with Process Builder! – Reduce Implementation Time • Many use cases previously only possible with Apex Triggers now possible with clicks not code via Process Builder – Developers and Admins Working Closer Together to automate more! • Think about ways to extend Process Builder via Invocable Actions – Opportunities to create Libraries of Invocable Methods to share • Invocable Methods can be packaged
  • 20. Before : Which Options Do We have ? @future @Batch Jobs Schedule Jobs
  • 21. Limitations of Asynchronous Process Waits for salesforce resources No Job Id Only Return Void Parameters must be primitive @future Can’t order jobs Only 5 active jobs Batch
  • 22. And Now : Flex Queue
  • 23. Flex Queue Add-On More than 5 apex jobs in Apex Jobs Table 5 Jobs Processing + 95 Jobs holding New UI to monitor & manage Jobs Reorder the holding apex Jobs
  • 25.

Editor's Notes

  1. Helo typo