- Learning Salesforce Visual Workflow and Process Builder(Second Edition)
- Rakesh Gupta
- 484字
- 2021-07-09 20:57:40
Adding a Decision element
To add a Decision element, follow these instructions:
- Drag and drop the Decision element onto the Flow canvas.
- Enter the Name and Unique Name in the details window. Optionally, you can also add a description for the Decision element.
- Now we will set up the conditions for the outcome. It also allows you to create new resources from the Resource or Value drop-down lists. In this case, it will look like this:
Now we will define the path for the Decision element:
- If you want to add multiple conditions, then use Add Condition. It also allows you to define your own logic when the outcome contains more than one condition.
- Also add a DEFAULT OUTCOME to identify the Flow's path when none of the outcome's conditions are met. In our case, Less than 18 is the default outcome, as shown in the preceding screenshot.
- Once you are done, click on the OK button.
- The next task is to add two screens: one to display the sorry message and another for the feedback form. First, we will create a screen to display the sorry message. For this, drag and drop the Screen element onto the canvas; this will open a Screen element window where you have to enter Display sorry message in the Name field; you can also add a description. Under the Navigation Options section, select Don't show Previous button from the drop-down.
- Now navigate to the Add a Field tab, which is available under the Screen element. Double-click on Display Text, which is available under the OUTPUTS section.
- In the Screen overlays preview pane, click on the Display Text field to configure its settings by entering a unique name; to display text, enter the message you want to display. It will look like the following screenshot:

- Once you are done, click on the OK button.
- Now we will add one more screen to display the feedback form. For this, drag and drop the Screen element onto the canvas; it will open a Screen element window. Enter Feedback form in the Name field; 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 step is to add three fields (Name, Email Address, and Rating) onto the screen element to create a feedback form. To do this, follow these instructions:
- Navigate to the Add a Field tab, which is available under the Screen element. Double-click on Textbox, which is available under the INPUTS section. In the Screen overlays preview pane, click on the Textbox field to configure its settings by entering Label, Unique Name, and Default Value, and also by selecting the Required checkbox, as shown in the following screenshot:

- In a similar manner, add one more field for the e-mail address.
推薦閱讀
- 自愿審計動機與質(zhì)量研究:基于我國中期財務(wù)報告審計的經(jīng)驗證據(jù)
- Citrix? XenMobile? Mobile Device Management
- 會計信息化基礎(chǔ)(金蝶版)
- Big Data Visualization
- Microsoft Dynamics CRM 2011 Scripting Cookbook
- Learning Microsoft Azure
- Microsoft System Center Data Protection Manager 2012 SP1
- Salesforce Essentials for Administrators
- 振蕩指標(biāo)MACD:波段操作精解(升級版)
- Microsoft Dynamics NAV
- Minitab Cookbook
- 傳習(xí)集2
- 內(nèi)部審計情景案例:理解審計行為,辨析審計決策
- 效益實現(xiàn)管理實踐指南
- 2014年注冊會計師(CPA)全國統(tǒng)考專用輔導(dǎo)教材系列:審計(名師解讀版)