Skip to main content
Utils

Custom Statistic

Custom Statistic

Records a custom metric in the robot's statistics panel, incrementing or decrementing a counter identified by a key. Useful for tracking processed quantities, errors that happened or any indicator worth following to see how the automation performs over time.


Options

Statistic identifier

Unique name identifying the statistic to record. Use a descriptive identifier so the panel is easy to read, such as cadastrosDeFuncionarios or errosDeProcessamento.

Amount

Value to add to the statistic's running total. Use positive numbers to increment and negative ones to decrement. The default value is 1.

Returns

This action has no returns.

Rules and Conditions

  • The Statistic identifier and Amount fields are required.
  • Every run adds the given value to the running total of the identified statistic.
  • The data is shown in the robot's statistics panel in Roberty Studio.