Visual Workflow allows you to build collections of screens, which are known as Flows, to guide users through the process of collecting and updating data.
Working with flows involves the creation of a structured set of steps to enable users to complete specified business processes. These business processes could be, for example, call scripts for a customer support team, questionnaires and surveys for customers or employee interactions, or processes to handle incoming sales enquiries for your organization.
Use cases for flows are many and varied, and the Visual Workflow options allow you to create screens that collect and display information, create and update Salesforce records, and carry out logic based on input from users—all from within the drag-and-drop Visual Workflow user interface.
Working with Visual Workflow involves these three concepts: flow design, flow management, and runtime. Flow design and management is carried out using Flow Designer, which is part of the Salesforce CRM setup options. Once the flow has been designed and created, you can then manage it by setting properties, activating, deactivating, deleting, or running it—all from within the Salesforce CRM application. Finally, users can then run activated flows, again from within Salesforce. Here, you can configure the flow to be run from a custom button, link or tab, from within a Visualforce page, or directly using the Salesforce flow URL.
Visual Workflow and the Flow Designer are accessed by navigating to Setup | Create | Workflow & Approvals | Flows.
To create and manage flows in Cloud Flow Designer, click on New Flow or edit an existing flow.
Flow Designer has a drag-and-drop user interface that lets you configure screens and define branching logic without writing any code, as shown in the following screenshot:
The Flow Designer user interface has the following features and functional sections:
It is useful to have a general idea of how the flow will be built in Salesforce CRM to help ensure a successful and smooth implementation. Take into account the following considerations before you start to configure your flow:
Now, let's look at the Palette, Resources, and Explorer tabs in more detail.
The Palette tab lists the element types that are available for the flow. Here, you can drag and drop elements from the Palette tab onto the main canvas. Once created, the new elements appear in the Explorer tab.
Elements are the key aspects of building flows. They represent an action such as collecting or displaying information from users, or querying, creating, updating, and deleting data records. Elements can be connected to create a structured set of steps consisting of screens, inputs, outputs, and branch logic through which users are guided.
The following elements are available in the Cloud Flow Designer:
From within the DRAFT TOOLS section, the Step element can be used to diagram the flow of your business process. The Step element is simply a placeholder, and it cannot be used in an active flow. Instead, it is used to quickly diagram the series of steps for the business process that is being built. Once you have each step in place and you want to get the flow activated, you can hover over the Step element and click on the Convert Element (double-arrow icon) option. This then enables the conversion of the draft Step element into a Screen element, which is the building block for every flow.
The Screen element can be created using the Convert Element option on a Step element, as described previously, or it can be created from within the USER INTERFACE section. The screen elements contain the series of windows that the user will see along with the built-in navigational buttons (for previous and next). The Screen element has various options for user interaction, and it is from the Add a Field tab on the Edit screen that you can select from these sections: INPUTS, CHOICES, MULTI-SELECT CHOICES, or OUTPUTS, as shown in the following screenshot:
After interacting with a Screen element, the user might then need to be directed along a specified path in the flow depending on how they responded. The Decision element under the LOGIC section allows you to configure how users move through the flow by setting up conditions for each decision outcome.
The Decision element is used to navigate the flow and route the user to the next screen or interaction based on their response within the previous Screen element. Within the Decision element, you can create Editable Outcome for each of the responses, as shown in the following screenshot:
The Resources tab lets you create new resources for the flow, such as variables, constants, formulas, and so on, as shown in the following screenshot:
After new resources have been created or items from the Palette tab have been added to a flow, they appear in the Explorer tab.
By double-clicking on items in the Explorer tab, you can access the edit page for them. You can single-click on an item to view details for the item in the Description pane. When viewing items within the Explorer tab, the Description pane includes two subtabs:
After you have created a flow in Flow Designer, the options for saving are:
Saving a flow considerations
Consider the following when saving a flow or flow version:
Flows can be run directly from the flow URL or from a custom web tab, link, or button pointing to the flow URL.
Depending on how you wish to set up flows for your users, you have the following specific options:
In order to run flows, users require either one of the following permissions to be set up:
Consider the following when running flows:
18.219.228.88