Bot Control Center

Checkpoint

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).

v2_bcc_checkpoint2
Parameter NameParameter TypeIn/OutDescription
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 it will return 1, the extended result code will show only in several chosen activities