GetBWActivityStatistics

Retrieves statistics about the activities of processes that have been executed for a given application since the instrumentation was enabled.

Arguments

Argument Name Description Required?
Application Name Name of the application Yes
Application Version Version of the application Yes
Process Name Name of the process. If not configured, the statistics for all activities in all processes in the application are retrieved. No

Returns

Item Description
Process Name Name of the process definition
Activity Name Name of the activity
Application Name Name of the application
Application Version Version of the application
Execution Count Number of times the activity has been executed
Elapsed Time Total clock time (in milliseconds) used by all executions of this activity. This includes waiting time for Sleep, Call Process, and Wait For... activities.
Execution Time Total clock time (in milliseconds) used by all executions of this activity. This does not include waiting time for Sleep, Call Process, and Wait For... activities.
Error Count Total number of executions of the activity that have returned an error
Last Return Code Status code returned by most recent execution of this activity. This can be either OK, DEAD, or ERROR.
Min Elapsed Time Elapsed clock time (in milliseconds) of the activity execution that has completed in the shortest amount of elapsed time
Max Elapsed Time Elapsed clock time (in milliseconds) of the activity execution that has completed in the longest amount of elapsed time
Min Execution Time Execution time (in milliseconds) of the activity execution that has completed in the shortest amount of execution time
Max Execution Time Execution time (in milliseconds) of the activity execution that has completed in the longest amount of execution time
Most Recent Elapsed Time Elapsed clock time (in milliseconds) of the most recently completed activity execution
Most Recent Execution Time Execution time (in milliseconds) of the most recently completed activity execution
Execution Count Since Reset Number of activity executions that have completed since the last reset of the statistics