you can declare a string buffer using the expression component
<expression-component doc:name="Expression"><![CDATA[StringBuffer sb = new StringBuffer(); flowVars.stBuffer=sb; ]]></expression-component>
and then add using append in the string buffer somewhere in the stream.
flowVars.stBuffer.append ("string to append")
After using #[flowVars.stBuffer] to access the concatenated string
source share