Turn Portal Statistics On
  • 03 Dec 2024
  • 2 Minutes to read
  • Dark
    Light

Turn Portal Statistics On

  • Dark
    Light

Article summary

Overview 

There are many ways to track the performance and activity in a user's Decisions experience, and Client Statistics is another useful tool to do so. This feature records data about the volume of different processes running within Decisions. This covers the most important Designer Elements - Forms, Flows, and Rules, but there are additional processes that are observable listed below. Once this feature has been turned on, all of the data is recorded to a database and can be viewed via Reports.


Edit Client Statistics

The below steps go over how to activate Client Statistics. The statistics are split into two categories - Settings and Summary. 

  • Navigate to System > Settings and select the Client Statistic Settings. 
  • Check any desired SETTINGS to gather Statistics on them.
Settings NameDescription
ApiCallsAPI call
FlowRunInstance of a Flow being run
FormRunInstance of a Form being run
LoginInstance of a Login
LogoutInstance of a Logout
Navigation
PortalSessionStartedInstance of a Portal Session 
ReportRunInstance of a Report being run
RuleRunInstance of a Rule being run
  • Adjust the SUMMARY SETTINGS by clicking the desired summary types and setting the SummaryTime. After the desired settings are defined, click SAVE. 
Summary NameDescription
ApiCallsSummaryTotal number of API calls made
FlowRunSummaryTotal number of Flows run
FormRunSummaryTotal number of Form interactions
LoginSummaryTotal number of Logins
LogoutSummaryTotal number of Logouts
NavigationSummary
PortalSessionStartedSummaryTotal Portal sessions started
ReportRunSummaryTotal number of Reports Run
RuleRunSummaryTotal number of Rules Run

Viewing Client Statistics

After the settings have been activated a user will need to create Reports to view the statistics.

Once a new Report has been created there are two Data Sources that can be used. Statistics Data Source is used to pull information from the Settings options listed above. Statistics Summary Data Source will provide the overall summary of the actions within a time frame. Adding the Time Taken in Seconds data field to the Report is a great way to determine if Flows are performing as fast as excepted.

                                                    Example of a Report using Statistics Data Source


Troubleshooting

Using Client Statistics can cause database storage issues where too much data is stored and file sizes balloon to unmanageable levels. If this occurs, turn off the Client Statistics options and reboot. This will resolve the issue.

In v9.5 users have the option of using a scheduled job to clear the database tables. By default this feature is turned off, but enabling it allows users to set the minimum age a record must be before it is cleared out. Users can also specify the timeout duration. This option is found in the Edit Client Statistics Settings menu.


Delete Client Statistics is disabled by default. The other options appear when enabling.

 


Other Methods For recording Client Statistics

There are four Steps that can be used in Flows to build data for the client_statistics table without turning on Portal Statistics. These Steps can be helpful for users that want targeted information about a particular designer project, or have encountered the issue mentioned in the Troubleshooting section.

Step Name
Description
Record StatisticsAdds an entry to the client_statistic table.
Record Statistics for Current User StepAdds an entry to the client_statistic table and sets the Account Id and Email address to the current user.
Record Statistics With Time For Current User StepSame as above, but with an input for Time Taken.
Record Statistics With Time and Sessions StepAdds an entry to the client_statistic table but with inputs for SessionID and Time Taken.

Feature Changes

DescriptionVersionReleaseDeveloper Task
Added a thread job to clear client_statistics and new settings to the Edit Client Statistics Settings menu.9.5November 2024[DT-042465]

Was this article helpful?