Conditional Loop

Operation Name

Conditional Loop

Function overview

Repeats the process while the specified condition is satisfied.

Conditional Loop structure

Icon Name Description
Conditional Loop Conditional Loop starts.
End Conditional Loop Conditional Loop ends.

Properties

For information about using variables, refer to "variables".
Basic settings
Item name Required/Optional Use of Variables Description Remarks
Name Required Not available Enter the name on the script canvas.  
Required settings
Item name Required/Optional Use of Variables Description Remarks
Condition list Optional - Specifies the conditions to continue the iteration.

Each column can be operated with the following buttons.
  • [Add]:
    Add a condition.
  • [Up]:
    Move the order of the selected condition upwards by one.
  • [Down]:
    Move the order of the selected condition downwards by one.
  • [Delete]:
    Delete the condition.
  • The maximum [Condition list / Condition] allowed is "253".
  • Refer to here for more information about the priority of the conditions.
Condition list / Condition Optional Not available Specifies the condition.

Specified variable can be compared with fixed value or variable.
  • Types of Condition
    • [Compare with variable and fixed value]: (default)
      Select when compared with variable and fixed value.
    • [Compare between variable and variable]:
      Select when compared with variable and variable.
  • Contents of condition
    Content can be specified as a condition depending on the type of selected variables as follows.
    • Integer/decimal type variables
      • [equal to]:
      • [not equal to]:
      • [less than]:
      • [greater than]:
      • [no less than]:
      • [no more than]:
    • String type variables
      • [equal to]:
      • [not equal to]:
      • [start with]:
      • [not start with]:
      • [end with]:
      • [not end with]:
      • [contain]:
      • [not contain]:
    • Boolean type variables
      • [equal to]:
      • [not equal to]:
  • Type of variables that can be specified to Loop.
    • Integer type
    • Decimal type
    • String type
    • Boolean type
  • Depending on the type of the variable specified on the left side of the predicate, the right side will only display the values that are comparable with it.
Condition expression Optional Not available Condition expression is performed as a format of string specified by [Condition].  
Property Action
Item name Description Remarks
[and] / [or] Select [and] or [or].  
Edit parentheses Use parentheses to specify the priority of the conditions.  
Log setting
Item name Required/Optional Use of Variables Description Remarks
Edit log setting Optional Not available Select whether to temporarily edit the log setting in the loop processing.
  • [Checked]:
    Enables to edit log setting.
  • [Not checked]:(default)
    Does not enable to edit log setting.
 
Output logs Optional Not available Select whether to output logs.
  • [Checked]:(default)
    Enables to output logs.
  • [Not checked]:
    Stops outputting logs.
  • This action is available if you check the [Edit log setting] box.
Log level Optional Not available Select the editing log level.
  • [NOTICE]:
  • [INFO]:(default)
  • [FINFO]:
  • [FINEST]:
  • [DEBUG]:
  • This action is available, if you check the [Output logs] box.
Comment
Item name Required/Optional Use of Variables Description Remarks
Comment Optional Not available You can write a short description of this adapter.
The description will be reflected in the specifications.
 

PSP Usage

PSP is not supported.

Available component variables

Component variable name Description Remarks
count The number of repeat counts returns.
  • The value defaults to null.

Priorities of the conditions

Priority of the conditions are as follows.

Operate Conditional Loop

Create Conditional Loop

Set the process to repeat between [Conditional Loop] and [End Conditional Loop].

Specification Limits

Main exceptions

None.

Sample

Use [Conditional Loop] to create a script that "Launch External Application" 3 times.
  1. Create script as follows.



  2. Set the properties of [Conditional Loop] as follows.



    Use the "count" component variable of the [Conditional Loop].

  3. Check the process from execution log.