官术网_书友最值得收藏!

Adding a Decision element

To add a Decision element, follow these instructions:

  1. Drag and drop the Decision element onto the Flow canvas.
  2. Enter the Name and Unique Name in the details window. Optionally, you can also add a description for the Decision element.
  3. 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:

    1. 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.
    2. 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.
  4. Once you are done, click on the OK button.
  5. 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.
  6. 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.
  7. 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:
  1. Once you are done, click on the OK button.
  2. 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.
  3. 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:
  4. 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:
  1. In a similar manner, add one more field for the e-mail address.
主站蜘蛛池模板: 泽普县| 西畴县| 婺源县| 潼南县| 东乡县| 丽水市| 哈尔滨市| 巢湖市| 陵川县| 连云港市| 龙胜| 泸州市| 广德县| 西乌| 呈贡县| 修水县| 富蕴县| 上犹县| 临泽县| 建平县| 论坛| 长乐市| 临沂市| 凌云县| 鹰潭市| 炎陵县| 长宁县| 建水县| 越西县| 木兰县| 巩义市| 四会市| 始兴县| 五峰| 乌鲁木齐市| 师宗县| 惠来县| 太湖县| 宁远县| 灵武市| 沐川县|