Turn Flow Statistics On
  • 02 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Turn Flow Statistics On

  • Dark
    Light

Article Summary

Overview

Decisions automatically records base statistics from the Portal settings; this configuration can be set by Turning on Portal Statistics. In addition to collecting base statistics, individual Flows can also record statistics; this feature can be used to record specific data about an application built in Decisions. For example, a user may want to record statistics on which users are submitting approval requests. The following tutorial will show the user how to record custom statistics within a Flow. 

Example

  1. In a Designer Folder, select CREATE FLOW from the Global Action Bar. 

    1. Click on the default Flow, name it Flow Statistics, and select CREATE to open the Flow Designer. 

  2. Inside the Flow Designer and within the Properties panel, expand ADVANCED > Statistics

  3. Check the boolean [CaptureStatistics] and notice the appearance of CategoryName and SubCategoryName text boxes. When the boolean is checked, the setting has been turned on and the Flow will now capture statistics.

    1. Enter text into the Statistics > CategoryName and SubCategoryName text boxes.

      In this example, the entered text is TestStat and FlowStatisticsOn respectively.

  4. After this setting is configured and users test the Flow, the statistics data is stored in the database table Execution_Statistics. The properties below are examples of the data that is stored in this particular database:

    Execution Statistics Properties
    ID
    Category
    Sub Category
    Parameter 1
    Parameter 2
    Parameter 3
    Parameter 4
    Parameter 5
    Outcome Name
    Execution Time
    Reference ID
    Reference Name
    Reference Type
    Result
    Execution Data Time
    Execution By User
  5. In this example, there are a few Flows that have the Flow Statistic setting enabled. Every time these Flows are run, statistic data is captured and stored in the Execution_Statistics database as seen below. This example was created using the Query Editor in Decisions Portal.
    Database tables can be used for Integration purposes. Users can find more information on Integration by navigating to the following articles: Integrate with Database Table, External Database Integration, and Integrating an External Database with a Flow.

Was this article helpful?