- Learning Salesforce Visual Workflow and Process Builder(Second Edition)
- Rakesh Gupta
- 376字
- 2021-07-09 20:57:40
Hands on 4 - displaying related records based on search functionality
Let's start with an example: Helina Jolly is working as a system administrator for Universal Containers. She wants to develop a Flow using which a user can search for leads based on the lead's e-mail address and select multiple leads as well.
To develop this Flow, it's first required to ask for an e-mail address as the user input. Then, we will use dynamic record choice to display the leads with the same e-mail address. To develop the Flow, perform the following instructions:
- Navigate to Setup | Build | Create | Workflow & Approvals | Flows.
- Click on the New Flow button; it will open the Flow canvas for you.
- Then navigate to the Palette tab, and drag and drop the Screen element onto the canvas; this will open a Screen element window.
- Enter the Name field as Enter the lead details; you can also add a description. Under the Navigation Options section, select Don't show Previous button from the drop-down. Optionally, you can add Help Text as well.
- The next task is to add a Textbox onto the screen to allow your users to enter an e-mail address. On the Screen element, navigate to the Add a Field tab and double-click on the Textbox field, which is available under INPUTS, to add it on to the screen. In the Screen overlays preview pane, click on the Textbox field to configure its settings by entering Label, Unique Name, and Default Value, and selecting the Required checkbox under the General Info section, as shown in the following screenshot:
- Create a variable (VarLeadsID) of the Text data type to store the lead's ID. We will use this variable in Dynamic Choice in the upcoming steps.
- Now we will add one more screen to display the leads with the same e-mail address form. For this, drag and drop the Screen element onto the canvas; this will open a Screen element window. Enter the Name, and you can also add a description for it. Under the Navigation Options section, select Don't show Previous button from the dropdown. Optionally, you can add Help Text as well.
推薦閱讀
- 中國國民經濟核算體系修訂問題研究
- Microsoft Dynamics GP 2016 Cookbook
- 中國新股民必讀手冊(2015年最新版)
- 新中國審計制度變遷
- 基于價值增值的治理導向型內部審計研究
- Magento 2 Cookbook
- 審計學
- 金融保險集團內部審計創新與實踐
- Azure Strategy and Implementation Guide
- 會計信息化基礎(金蝶版)
- 注冊會計師全國統一考試專用教材:審計
- 振蕩指標MACD:波段操作精解(升級版)
- Programming Microsoft Dynamics NAV(Fifth Edition)
- Minitab Cookbook
- 行政單位經濟責任審計實務指南