Iterator
The iterator processor is used to process data cyclically. You can specify the number of iterations, conditions, or arrays.
Configuration Parameters
Parameter |
Description |
---|---|
Criteria |
Specify the iteration criteria.
|
Count |
When Criteria is set to Repeat, configure the number of iterations. The default value is 3. A maximum of 100 iterations can be executed. Any access will trigger an error report. |
Condition |
When Criteria is set to Do While, configure the iteration conditions. When the conditions are met, a maximum of 100 iterations can be executed. Any access will trigger an error report. |
Array |
When Criteria is set to Foreach, configure the arrays to be iterated, which can be obtained from the preceding node. For details, see Referencing Variables. A maximum of 100 elements can be included in an array. Any access will trigger an error report. |
Output variables
Parameter |
Description |
---|---|
payload |
Data that is traversed. |
Loop size |
Loop count. |
Loop index |
Index of the current loop, starting from 0. |
Start time |
Start time of node execution. |
End time |
End time of node execution. |
Execution time |
Node execution duration, in milliseconds. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot