Configuring a Loop Processor
The Loop processor iterates over each element in the input array, executing a subprocess or function once per loop.
Notes and Constraints
- Function flows created in Data Workroom (DWR) can only be viewed on the FunctionGraph console; editing and deletion must be done within DWR.
- The subflows in a loop must satisfy the following rules:
- Start with a function or wait node.
- Only include function, wait, and error handling nodes.
Prerequisites
- You have created a function on the FunctionGraph console. For details, see Creating a Function from Scratch.
- Before using flows, learn about Expression Description and Operators.
Configuration Description

Parameter |
Description |
---|---|
Array Path |
JSONPath expression used to obtain an array from the input. For an input of {"arr": [1,2,3]}, set Array Path to $.arr to obtain the array. |
Iteration Variable |
Temporary variable for each element in the array during the traversal of the array. For example, if item is used as the temporary variable, set this parameter to $.item. |
Result Output Path |
JSONPath expression used to output results in JSON format. For a Result Output Path of $.result, the output result will be {"result": [2,3,4]}. |
Parallel Iterations |
Range: 0 to 100, where 0 means no limit on the number of parallel iterations. |
Iteration Interval (s) |
Interval between parallel iterations. |
Input Filter Expression |
JSONPath expression used to filter the input information of the node. |
Output Filter Expression |
JSONPath expression used to filter the output information of the node. |
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