LoopEnd

Stream Information

InputFormatAll
Number of Inputs1
Description Accepts all stream types.
OutputFormatNONE
Description

The input stream is copied to the output stream.

Component Properties

NameData TypeMappingDescription
LoopStartcomponentName- Specifies a components which starts loop.
The component list is displayed in the dropdown list.
ReturnStreamchoice- Specifies whether multiple streams are to be packed in the case of looping.
For details, please refer to following topic "Output format".
PackRecords - Pack streams
Last - Output only last stream
PackStreams - Output streams as a contaitner

Loop

Ends looping. When this component completes execution, the flow execution returns control to the last loop initiator component executed prior to this End component.

Transaction

CommitDo nothing
RollbackDo nothing

Exceptions

This component never causes any exceptions.

This component's behavior

When this component is used, the part from the component specified by LoopStart to this component is handled as a sub-flow internally. Please note that:

Output fomat

By ReturnStream, specifies a format of output stream when the flow is looped. By this property, output streamm can be packed as one stream, or can be put in a stream container.

Only when all input stream, that are also output stream into this component, should have the same type and the same fields. Different streams by branching flow cannot be packed.

If there is no loop section and input stream is only one, the last stream becomes output stream. In the case of MIME, each part itself, not multipart, is output. In the case of XML, no error occurs when it has no field definitions.

Packing stream

When "Pack streams" is specified, input streams are packed according to the stream type.

Binary, TextStreams are concatenated.
Record, CSV, FixedLengthAll records in the streams are joined in one output stream.
ParameterListThe value of last stream is set except for String[] type.
The values of String[] type field are joined.
XMLXML is re-constructed according to field definition.
If field definition is not defined, error occurs.
MIMEMultipart MIME is generated.

Stream container

"Stream container" is used in the case to attach the multiple streams to a single mail.