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

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.
主站蜘蛛池模板: 上杭县| 灵璧县| 印江| 邵武市| 封丘县| 龙南县| 龙江县| 酉阳| 加查县| 石台县| 兴安县| 卫辉市| 兴义市| 镇江市| 平罗县| 宣城市| 石狮市| 达日县| 大余县| 绥江县| 敦化市| 都兰县| 深州市| 宁陵县| 普格县| 新疆| 名山县| 东乌珠穆沁旗| 海晏县| 大安市| 晋城| 理塘县| 玛多县| 博白县| 马公市| 阿巴嘎旗| 湖口县| 方正县| 广西| 梁河县| 长子县|