Stack
Version 12.1 by Outhman Moustaghfir on 2024/07/19 16:10
Introduction
The Stack connector is designed to maintain a stack variable containing a list of input files for iterative processing using the 'Loop' connector.
Params
The connector accepts 2 params :
- Variable name : that will be referred to inside the Loop connector
- Append : a checkbox, If checked, the files will be added to the end of the stack. Otherwise, they will be prepended.
Use
The 'Stack' must be combined with a 'Loop' connector to make it useful, depending on each use case.
Example:
we set a variable named 'var', and put the loaded files from 'LoadFile2' as value.
then, we retrieve this variable using the 'Loop' connector, and iterate over the set, and make a limit of iterations as 20.
inside every iteration we add a new file coming from the 'XMLToXML1'. and we chose to append ie add files at the end of the array.
an example of session :