Run Flow From Tiles
  • 28 Jul 2022
  • 2 Minutes to read
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

Run Flow From Tiles

  • Dark
    Light

Article summary

Overview

It is possible to launch a Flow when the user clicks on the Tile component on the Page.

Example

This tutorial demonstrates how to Run a Flow on a Tile selection. A downloadable example ready for import can be seen below.


  1. Begin in the Designer Folder and select Create Flow on the Folder Actions Panel.2019-10-09_145003.PNG
  2. Then, name the Flow and select 'Create' to proceed to the Flow Designer.2018-01-09_092344-1024x614.png
  3. In the Flow Designer add a Show Form step from Favorite Steps category.

    2019-11-11_094845.PNG

  4. Then, name the Form and select 'Create' to proceed to the Form Designer.2019-11-11_095015.PNG
  5. The Form has a Label and a Button control for the user to be able to submit the Form. When finished designing the Form save the Form and close Form Designer.2018-01-09_093035.png
  6. Back in the Flow Designer connect outcome from the Form to the End step in the Flow. This completes the Flow. Save the Flow and close Flow Designer.2018-01-09_093158.png
  7. Next, create the Tile Flow. In the Designer Folder select Create Flow on the Folder Actions Panel.

    2019-10-09_145003.PNG

  8. Then, name the Flow and select 'Create' this opens Flow Designer. In the Properties panel under Settings, pick Tiles Source Flow from Behavior drop-down.2019-11-11_095703.PNG
  9. Select the Create Tile Data, in the Tile Action Type drop-down pick RunFlow.2019-11-11_095803.PNG
  10. In Actions > Flow settings change the mapping type to Constant then pick the flow that was created earlier in this tutorial.2019-11-11_095823.PNG
  11. Then, locate Tile Data settings. For the Html Text pick Text Merge.HTML mapping type. Select Show Editor for the Merged text.2019-11-11_095910.PNG
  12. In the Merge Text Editor design the HTML text for the Tile and select 'Save' to save and continue.2019-11-11_095941.PNG
  13. Next, connect the outcome from Create Tile Return step to the End step in the Flow.
  14. The End step should output Tile Data collection of Tile Return Type. Locate Tile Data Input on the End step.
  15. For Tile Data Input select TileData from the Flow.
    2019-11-11_100018.PNG
  16. This completes the Tile Flow. Save the Flow and close Flow Designer.

    2018-01-09_101546.png

  17. In the Designer Folder create a Page to test the Tile. Select the Create Form > Page/Dashboard on the Folder Actions Panel.
    2019-10-09_145003.PNG
  18. In the resulting window name the Page and select 'Create' to proceed to the Page Designer.2019-11-11_100120.PNG
  19. In the Page Designer search for Simple Tile element and add it to the Page.2019-11-11_100246.PNG
  20. In the Common Properties for the Tile element under Flow, select Pick and locate the Tile Flow that was created earlier in this tutorial.2019-11-11_100353.PNG
  21. This completes the Page design. Save and close Page Designer.
  22. Back in the Designer Folder preview the Page. The Page displays view HTML text on the Tile Component.2019-11-11_100452.PNG
  23. Select the Tile component, the Flow launches, and see the Form that was designed in that Flow. Select Done to close the Form and complete the Flow.2019-11-11_100538.PNG

Was this article helpful?