Recording Statistics From a Flow
  • 14 Apr 2020
  • 1 Minute to read
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

Recording Statistics From a Flow

  • Dark
    Light

Article summary

Overview

In addition to the set of base statistics that Decisions can automatically record, individual flows can record statistics too. This can be used to recording specific statistics about an application build in Decisions. For example, you may want to record statistics on which users are submitting approval requests vs. using a self-help option. This article explains how to record custom statistics from within a flow.

Example

In the flow to record statistics, expand Steps, navigate to Integration > Client Statistics. Here, there are four steps that can be used to record statistics.

2019-07-25_1531.png


Record Statistics Step
Account Id
Account id of the user who took action in flow
Action Name
Name of action taken (e.g. "Clicked Approve Button" or "Deleted Record")
Application Name
Name of the current application (could be flow name or general name you use to refer to a larger application that is made up of flows, rules, etc)
Email Address
Email address of the user who took action in flow
Section Name
Can be used to indicate a specific section of the application where action was taken. If your application is very large, you may have some actions with the same name in different parts of the application and want to use this to more specifically name where the action happened
sub Section Name
Like section name, but more specific


Record Statistics With Time And Sessions Step
This step is the same as the Record Statistics step but with the addition of two inputs listed below.
Session-Id
Records the current session id of this flow. This ID can be found at FlowData.CurrentEventClientSessionId
Time Taken in Seconds

Records the time taken for an action to be completed (like a DB insert or delete). This time needs to be calculated using steps like Get Current Date and  Get TimeSpan Between before this statistic step.


Record Statistics For Current User Step
This step is the same as the Record Statistics step but automatically sets the values of Account Id and Email Address to the values of the current user.
Record Statistics With Time For Current User Step
This step is the same as  Record Statistics For Current User step but adds an input for Time Taken in Seconds.





Was this article helpful?