Table of Contents

Search

  1. Preface
  2. Introduction
  3. Dashboard
  4. Resources
  5. Workflows
  6. Task Reference
  7. Services Overview
  8. Users
  9. Logs and Reports
  10. Encryption
  11. System
  12. Appendix
  13. Glossary Terms

For Loop Field Definitions

For Loop Field Definitions

A For Loop executes one or more tasks for a specified number of times.
Field
Definition
Basic Tab
Label
Specify a label for this loop.
Begin Index
Specify the begin index of the loop. The value can be any positive or negative whole number. The value must be less than or equal to End Index when Step is a positive number and must be greater than or equal to End Index when Step is a negative number.
End Index
Specify the end index of the loop. The value can be any positive or negative whole number. The value must be greater than or equal to Begin Index when Step is a positive number and must be less than or equal to Begin Index when Step is a negative number.
Step
Specify the amount by which the current index of the loop should be incremented or decremented. The value can be any positive or negative whole number except 0 (zero). If not specified, this value defaults to 1.
Advanced Tab
ID
Specify an ID for this loop. IDs are not required, but are used to conditionally exit or iterate a loop when there are nested loops. The value must be a valid identifier. The ID must be unique in a given loop hierarchy.
Current Iteration Variable
If needed, specify a variable name to hold the current iteration count. The value of this variable is a whole number that starts at 1 and is incremented every time the loop advances.
Current Index Variable
Specify the variable name to which the current index of the iteration be exported. The value must be an identifier. For example, index. The value of this variable will be a positive or negative whole number that represents the current index of the loop and the value is updated every time the loop advances. For example, if the loop is defined with begin=10, end=100 and step=10, then the code inside the loop will be executed 10 times. The first time, the value of this variable will be 10, then 20 and the last time, it will be 100.
Control Tab
Log Level
Specify the level of logging to use while executing this task. Valid options are - silent, normal, verbose and debug.
Default Value: Inherited from parent Module
Silent
Only logs any errors that are encountered in the Loop.
Normal
Additionally logs the start and stop times of the Loop, as well as the times of any Loops and Tasks contained in the Loop.
Verbose
Additionally logs task-level details, such as the names of the files that were processed.
Debug
Additionally logs detailed debugging information, such as message responses from servers.
Disabled
Whether or not this task is disabled.
Default Value: false

0 COMMENTS

We’d like to hear from you!