- 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.
推薦閱讀
- Pentaho Business Analytics Cookbook
- 新中國審計制度變遷
- 自愿審計動機與質量研究:基于我國中期財務報告審計的經驗證據
- 金融保險集團內部審計創新與實踐
- Splunk:Enterprise Operational Intelligence Delivered
- 審計綜合模擬實訓
- Metabase Up and Running
- Business Intelligence with MicroStrategy Cookbook
- Big Data Visualization
- Securing Hadoop
- Microsoft Dynamics CRM 2011 Scripting Cookbook
- 大數據搜索與挖掘及可視化管理方案 :Elastic Stack 5:Elasticsearch、Logstash、Kibana、X-Pack、Beats (第3版)
- vSphere Design Best Practices
- 成功通過PMP(第3版)
- INSTANT IBM Lotus Notes 8.5.3 How-to