Loop
What is Loop Entity
In straightforward terms, looping means repeating actions. The Loop entity is applied when a user desires to perform a specific task repeatedly. The Loop entity streamlines and automates repetitive tasks, making them more efficient.
For example, if a user aims to access all files in their OneDrive folder, the Loop entity is used. This eliminates the need to run the process multiple times, producing a single file output with each flow execution.
Built-in operations in Loop Entity
Loop Operations | Description |
---|---|
Loop Forever | It can be used to execute an indefinite loop. An indefinite loop will continue to run until a stop condition is applied. |
Stream Reader | It can be used to loop over an input stream data. |
Loop List | It can be used to loop over an input list. |
Loop Object | It can be used to loop over an object. |
Loop List
For example:
The below image provides a reference to the Input and Output parameters of the Loop List operation with a Loop entity.
Loop Object
For example:
The below image provides a reference to the Input and Output parameters of the Loop Object operation with a Loop entity. In this example we loop through the object, getting the value of each key-value pair in the loop, and then splitting it with the delimiter_.