Introduction

The Stack connector is designed to maintain a stack variable containing a list of input files for iterative processing using the 'Loop' connector.

1721395923573-587.png

Params

1721396080125-263.png

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:

1721397744988-575.png

we set a variable named 'var', and put the loaded files from 'LoadFile2' as value.

1721397807760-234.png

then, we retrieve this variable using the 'Loop' connector, and iterate over the set, and make a limit of iterations as 20. 

1721397783048-170.png

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. 

1721397954578-243.png

 

an example of session : 

2024-07-19_15h08_49.png

Tags:
Created by Outhman Moustaghfir on 2024/07/19 13:09
    
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian