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

Connecting the Flow elements

So far, we have created two screens: one to get the inputs from users and another to show the commission amount. Our next task is to connect both the elements, so Flow will be able to decide the order of execution of the elements at runtime.

To do this, in the source element, find the node at the bottom and drag it to the target element; it prompts you to select which outcome you want to assign to the path in the case of a Decision or Loop element, as shown in the preceding screenshot. Also, set the Screen element Real estate commission calculator as the Start element, as shown in the following screenshot: 

The next task is to save your Flow; to do this, you need to perform the following steps:

  1. Click on the Save button, which is available in the top-left corner of the Flow canvas, and enter in the  Real estate commission calculator values for  Name, Unique Name, Description, and Interview Label, and select  Type as the Flow. To test this Flow, click on the Run button, and enter the amounts in the  Property value and Commission in Percentage ( %) fields, as shown in the following screenshot:

  1. Click on the Next button; it will display the commission amount on another screen:
  1. Finally, click on the Finish button; it will redirect you to the first screen.
主站蜘蛛池模板: 弥渡县| 井研县| 南木林县| 应用必备| 自治县| 赣州市| 绥芬河市| 连州市| 清新县| 卓尼县| 梁山县| 南部县| 张掖市| 北京市| 大庆市| 新余市| 桑植县| 商南县| 杂多县| 清徐县| 凤阳县| 醴陵市| 梁河县| 土默特左旗| 宣恩县| 胶南市| 菏泽市| 南宁市| 揭东县| 宜州市| 广东省| 揭东县| 保康县| 新野县| 仪征市| 偏关县| 晋宁县| 佛山市| 曲水县| 元谋县| 蒙城县|