Bot Control Center


This activity is used to record the execution time of parts of the scenario and is used by the BCC's slowdown mechanism.

Time information is sent to the database each time the scenario reaches Checkpoint. Thanks to this, BCC can see the time of task execution (completion of part of a scenario: between checkpoints or start point and first checkpoint or last checkpoint and end of the scenario). When executing the same task multiple times, the slowdown mechanism can calculate the average execution time for that task, and when it begins to significantly exceed this value, the slowdown mechanism reacts and slows down the execution of the scenario. This may be the case when the scenario uses shared resources that are temporarily very busy.

NOTE: Checkpoint should be inserted into the scenario in such a place that it is possible to assess the time of the task execution (e.g. it should be set inside the loop, which will allow to calculate the average execution time of the loop, regardless of the number of its repetitions).

Acquired TextStringOutputtext input by user
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
Checkpoint IDStringInputcheckpoint ID
Display NameLiteralInputchanges display name of the activity
Exclude from Transaction CheckBooleanInputcheckbox; default is "off"
ResultBooleanOutputreturns a Boolean value. True if no error in activity, otherwise will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases will return 1. See the table of Extended Result Codes for more info