Skip to content

For loop with iterations

Function Description

TIP

Perform a specified number of iterations on a set of instructions

For loop with iterations

Configuration Item Description

General

Command Input

  • Start numberInteger: Set the starting value for the loop counter

  • End numberInteger: Set the end value for the loop counter

  • Step sizeInteger: Set the increment value after each iteration

Command Output

  • Save current loop item toInteger: Enter a name for the variable that will store the current loop value. Starting from the initial value, this variable's value will change with each iteration

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None