Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021
If Loop

Logic name
If Loop
Function
This logic loops and outputs the items that match the conditions.
Data type
Location |
Type |
---|---|
First input handler |
Loop |
Second input handler |
Boolean |
Logic output |
Loop |
Property
Category |
Property |
Description |
---|---|---|
Comment |
Comment |
It does not affect the conversion processing. |
Notes
If you draw a stream flow from a Mapper logic that does not belong to the condition category to the second input handler (lower connecting line), when you execute the script, an unexpected conversion result may be output.
Therefore, when you draw the stream flow to the second input handler, draw from a Mapper logic that belongs to the condition category.
Example of logic use
Mapping definition

Logic settings and processing result
The logic only outputs data where the prefecture is "Tokyo".
Property settings
Property |
Setting Value |
---|---|
None |
Input data
001,Tokyo,108,Chiyoda-ku |
003,Chiba,301,Chiba |
001,Tokyo,101,Bunkyo-ku |
002,Osaka,201,Osaka |
001,Tokyo,128,Musashino |
Output data
108,Chiyoda-ku |
101,Bunkyo-ku |
128,Musashino |
Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021