Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Learning Salesforce Visual Workflow and Process Builder
Learning Salesforce Visual Workflow and Process Builder

Learning Salesforce Visual Workflow and Process Builder: Flows and automation for enhanced business productivity , Second Edition

eBook
$29.99 $43.99
Paperback
$54.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Learning Salesforce Visual Workflow and Process Builder

Creating Flow through Point and Click

In the previous chapter, we gave you an overview of Visual Workflow. We discussed the benefits of using Visual Workflow and the system requirements for it. You learned various ways to invoke the Flow. In this chapter, you will see how easily you can create user interaction screens without Visualforce and complex process automation without Apex. This chapter mainly focuses on the design of Visual Workflow using various components. The following topics will be covered in this chapter:

  • Creating the building blocks of the Flow:
    • Creating a variable
    • Creating a Collection variable
    • Creating an SObject variable
    • Creating an SObject Collection variable
  • Allowing users to pause Flows
  • Designing the Flow: In this topic, we will cover:
    • Displaying the logged-in user ID
    • Real estate commission calculator
    • Displaying feedback forms based on conditions
    • Displaying related records based on search...

Creating the building blocks of Flow

In Chapter 1, Getting Started with Visual Workflow, we discussed the building blocks of Flow; for example, Flow elements, Flow resources, and Flow connectors. Before going ahead, you will first learn to create variables in Flow, and then we will discuss the other building blocks in upcoming chapters. The few building blocks we are going to discuss here are as follows:

  • Creating a variable
  • Creating a collection variable
  • Creating an SObject Variable
  • Creating an SObject Collection Variable

Creating a variable

A variable is used to store a value. You can use the variable throughout your Flow; for example, while creating a record, performing an update, or with delete operations.

Here is business scenario: Robby Williams is working...

Allowing users to pause Flows

You can allow your users to pause a Flow interview that they can’t finish at that time by customizing your organization’s process automation settings. A Flow interview is nothing but a running instance of a Flow. For example, a customer support agent can pause a Flow interview when they don't have the complete information for their customer. Perform the following steps to enable pause Flow options in your Salesforce organization:

  1. Navigate to Setup | Build | Create | Workflow & Approvals | Process Automation Settings.
  2. Select Let Users Pause Flows.
  3. Once you are done, click on the Save button.

If you pause a Flow interview, the data that was entered by you into the screen gets saved with the interview. So, when you resume later, you can use the data you entered, as long as the values are valid. Users can access paused interviews from the following locations:

...

Designing the Flow

Now, we will discuss how to use these building blocks to design the Flow using a few recipes. It is recommended that you have access to a Salesforce Developer account. Using the Salesforce production instance is not essential for practicing. You can use the Salesforce Sandbox or Developer account to practice the examples covered in this book.

Hands on 1 - displaying a logged-in user ID

Let's start with an example: Sara Bareilles is working as a system administrator in Universal Containers. She wants to develop a Flow to display logged-in user IDs on a Screen element. To develop the Flow, follow these instructions:

  1. Navigate to Setup | Build | Create | Workflow & Approvals | Flows.
  2. Click on the New Flow button; it will open the Flow canvas...

A few points to remember

The following are some noteworthy points about Flow design:

  • As far as possible, use fewer elements in your Flow, so it will take less execution time.
  • The limit on the number of executed elements at runtime is 2,000.
  • One organization can have a maximum of 500 active Flows and processes.
  • One organization can have a maximum of 1,000 Flows and processes.
  • The date must be in MM/DD/YYYY format, and the date and time must be in MM/DD/YYYY HH:SS format.
  • The Flow will return null at runtime if you leave any field or resource value blank.
  • For a text value, if you want it to be treated as an empty string instead of null, then set it to {!$GlobalConstant.EmptyString}.
  • At runtime, the date/time values reflect the time zone settings in Salesforce. For the running users and in the Flow designer, the date/time values reflect the time zone set on your computer.
  • UTF-8 encoding for text in user input fields...

Exercises

Starting from this chapter, at the end of each chapter, you will find a set of exercises for practice:

  1. Create a Flow that allows users to enter two numbers, and on the next screen display its summation and multiplication.
  2. Create a Flow that allows users to enter three texts (such as the first name, middle name, and last name), and on the next screen display their combination in one field.
  3. Display the organization ID, name, division, city, street, FAX, and phone number that is defined under Setup | Administer | Company Profile | Company Information on the screen.
  4. Create a Flow that allows users to enter their name, and on the next screen display a thanks message with the name (with the name in green and the thanks message in red).
  5. Create a Flow and add a Screen element to it. On the screen, add one textbox that allows users to enter an e-mail address, and add a validation rule so that the user can only...

Summary

In this chapter, we went through various concepts related to designing the screen, starting from the different types of variables in a Flow, and the naming conventions for them. We covered how you can use formulas, the Validation rule, the Decision element, and Choice in a Flow. We also went through how to add fields into a Flow and connect two screens using connectors. Then, we moved forward and discussed how you can add dynamic record choices and picklist choices to your Flow. Finally, we discussed the key points related to screen design. In the next chapter, we will discuss concepts related to manipulating records in Salesforce using a Flow.

Left arrow icon Right arrow icon

Key benefits

  • Develop an application using Point and Click with the help of Flow
  • Get to grips with various ways to launch a Flow
  • Capture data from an external user without using the Visualforce page
  • Save user input into the database, and learn how to query and manipulate the data
  • Discover various ways to debug and deploy Flow and Process Builder
  • Understand the concepts of Subflow and Login Flow
  • Handle complex business processes using Process builder and keep them clean
  • Use existing or new Flows to work with Salesforce Lightning Experience.

Description

Salesforce Management System is an information system used in CRM to automate the business processes like sales and marketing. To implement this, Force.com developed a powerful tool called Visual Workflow to automate business processes by creating applications also called Flows. Learning Salesforce Visual Workflow, Second Edition is a practical guide on Flows that will enable you to develop custom applications in Salesforce with minimized code usage. The book starts with an introduction to Visual Workflows that teaches all the building blocks of creating Flows and use it efficiently. You will learn how to easily automate business processes and tackle complex business scenarios using Flows. The book explains the working of the Process Builder so you can create reusable processes. The book also covers how you can integrate existing or newly created Flows with the Salesforce Lightening Experience. By the end of the book, you will get a clear understanding on how to use Flows and Process Builder in your organization to optimize code usage.

Who is this book for?

This book is intended for those who want to use Flows to automate their business requirements by clicking, not coding. No previous experience in computer coding or programming is required.

What you will learn

  • Develop an application using point and click with the help of Flow
  • Get to grips with various ways to launch a Flow Capture data from an external user without using the Visualforce page
  • Save user input into the database, and learn how to query and manipulate the data
  • Discover various ways to debug and deploy Flow and Process Builder
  • Understand the concepts of Subflow and Login Flow
  • Handle complex business processes using Process builder and keep them clean
  • Use existing or new Flows to work with Salesforce Lightning Experience.

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : May 18, 2017
Length: 448 pages
Edition : 2nd
Language : English
ISBN-13 : 9781787281820

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : May 18, 2017
Length: 448 pages
Edition : 2nd
Language : English
ISBN-13 : 9781787281820

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 170.97
Mastering Salesforce CRM Administration
$60.99
Learning Salesforce Visual Workflow and Process Builder
$54.99
Salesforce Lightning Reporting and Dashboards
$54.99
Total $ 170.97 Stars icon

Table of Contents

8 Chapters
Getting Started with Visual Workflow Chevron down icon Chevron up icon
Creating Flow through Point and Click Chevron down icon Chevron up icon
Manipulating Records in Visual Workflow Chevron down icon Chevron up icon
Debugging and New Ways to Call a Flow Chevron down icon Chevron up icon
Developing Applications with Process Builder Chevron down icon Chevron up icon
Building Efficient and Performance Optimized Processes Chevron down icon Chevron up icon
Building Applications without Code Chevron down icon Chevron up icon
Enabling Flows to Work with Lightning Experience Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(2 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Paula Crawford Feb 02, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book gives the reader an excellent understanding of visual workflow and process builder and how the two work together. The writing is clear and easy to understand and I especially like the fact that all of the concepts are explained step by step, without leaving anything out. There are lots of screenshots that make understanding much easier and there are tips to watch out for. The sections are structured well - it covers visual workflow first and then process builder and follows with combinations of both.The breadth and depth of information is a testament to the author's enthusiasm and dedication to these topics and it shows throughout the book and on his website.Given that there are so few books on these topics, I consider this as an essential companion for Salesforce admins and an excellent one at that!
Amazon Verified review Amazon
Sissy with Two Pups Jun 03, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I bought this a while back and it was really useful in helping me understand flows and process builders better. I completed alot of the sample exercises while helped me pass one of my certifications. All admins should have this on their shelves.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.