Record Statistics
  • 16 Dec 2022
  • 1 Minute to read
  • Dark
    Light

Record Statistics

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.0.0
LocationSystem > Advanced > Client Statistics

The Record Statistics step adds an entry to the client_statistic table.



Properties

Inputs

PropertyDescriptionData Type
Account IdAccount id of the user
String
Action NameName of action taken
Int32
Application NameName of the current application. This can be the Flow name or a general/project name.
Int32
Email AddressThe email address of the user who took action in Flow

Section NameUsed to indicate a specific section of the application where action was taken. Depending on the size of the application, there could be some actions that share the same name. This field is used to specifically name where the action occurred.

Sub Section NameProvides an additional location to help identify where an action was taken



Common Errors

Incorrect Parameter Count, Data Not Mapped Correctly

If the fields do not contain data, an error will occur.

To correct this, ensure that each value is mapped to a specified value or that a value is inserted into the field.

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Record Statistics 1[RecordStatistics] in flow [Flow 1]: Incorrect Parmater Count, Data Not Mapped Correctly
 ---> DecisionsFramework.LoggedException: Incorrect Parmater Count, Data Not Mapped Correctly
 ---> System.Reflection.TargetParameterCountException: Parameter count mismatch. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture
 at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data)
   --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data
 at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData
 at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)
   --- End of inner exception stack trace ---

Was this article helpful?