Setting Report Filter with a Flow
  • 08 Oct 2021
  • 2 Minutes to read
  • Dark
  This documentation version is deprecated, please click here for the latest version.

Setting Report Filter with a Flow

  • Dark


In a Report, Filters are used to make the Report easier to navigate and manage. A Flow can be created to set Report Filters. The following example will be used to coordinate the Runtime Editable Filters on a Report using a Page/Dashboard.


  1. Begin in Designer Folder, select CREATE FLOW. Name the default Flow and select Create to proceed to the Flow Designer.
  2. In the Flow Designer, from the Steps > Favorite Steps section, add a Show Form step to the workspace and connect it to the Start step. 
  3. Navigate to the Properties panel and select Pick or Create Form.
  4.  In the Create or Pick window, under Create New name the Form and select CREATE.
  5. In the Form Designer, add a Button component and name it Filter. Also, add a Text Box, name this component Email and select Required Outcome Scenario
  6. Save and Close the Form.
  7. In the Flow Designer, set the Inputs > Email input mapping to Ignore
  8. Next, from the Integrations > Reporting section, drag connect a Set Dashboard Report Parameters step to the Filter outcome.
  9. With the Set Dashboard Report Parameters selected, navigate to the Properties panel.
  10. Under Data Definitions > Report Parameters and select Add New.
  11. Name the Report Parameter "Email Address Equals". Select OK to save.
  12. Now in the Properties panel, there is an available input for Email Address Equals. Select Unknown then select Select From Flow, choose Email that is Output from the Show Form step.
  13. Save and close the Flow to navigate to a Designer Folder to retrieve the Folder Id of where the Dashboard will live.
  14. Right-click on the Designer Folder and navigate to Manage > Get Designer Folder ID.
  15. Select Copy Text, then close.
  16. Reopen the Flow Designer, select the Set Dashboard Report Parameters step, and paste the Designer Folder ID into the Inputs > Folder Id value field with a Constant input mapping.
  17. Connect the step outcome to the End step, then save and close the Flow Designer.
  18. Then, navigate back to the Designer Folder and right-click and locate Manage > Page > Add Page/Dashboard.
  19. Then, in the Add Page/Dashboard, click Create under Page Data > Page.
  20. In the Create New Page window, under Create New, name the Page and click CREATE to enter the Page Designer.
  21. In the Page Designer, add a Flow Run Part under the Flows category.
  22. With the Flow Run Part selected on the Page, navigate to the Properties panel. Under the Flow Info > Flow ID select Pick.
  23. Select the Flow that was created in the example and choose PICK.
  24. In the Page Elements panel, add a Report Viewer from the Favorite Components to the Page as well.
  25. With the Report Viewer selected on the Page, navigate to the Properties panel; under the Report Setup > Default Report select Create. Name the Report and select CREATE.
  26. In the Report Designer, add Data Sources > Account Data Source.
  27. In the Data Fields column, add First Name, Last Name, Email Address, Created On Date. 
  28. In the Filters column, Add the Email Address Equals Field Filter.
  29. With the Field Filter selected set Runtime Editable option from the Runtime Behavior dropdown menu. Leave Value setting blank. This Value will be controlled with the Flow. 
  30. Save and close the Report. Save and close the Page.
  31. In the Designer Folder, in the top-right view panel choose the view of the page just created. This will show the page that has the Flow Run Part and Report Viewer.
  32. Type an email in the Flow Run Part, select Filter.
  33. The Report filters, and displays the Account with the matching email address.

Was this article helpful?