- 29 Jul 2022
- 1 Minute to read
- Print
- DarkLight
Turn Flow Statistics On
- Updated on 29 Jul 2022
- 1 Minute to read
- Print
- DarkLight
Overview
Decisions automatically records base statistics from the portal settings. This can be set by Turning on Portal Statistics. In addition to collecting base statistics, individual flows can also record statistics. This feature can record specific data about an application built in Decisions. For example, you may want to record statistics on which users are submitting approval requests. This document explains how to record custom statistics from within a flow.
Configuring the Statistic Settings
In the Properties tab, locate and expand the Statistics section. Check the box next to Capture Statistics and provide a Category Name and Sub Category Name. When the box is checked, the setting has been turned on, and the Flow will now capture statistics.
Stored Data
After this setting is turned on and users run the Flow, the statistics data is stored in the database table Execution_Statistics.
Below is the Data that is stored in this table.
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 |
The example below was created using the Query editor tool in the Decisions Portal.
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 image below.