<
From version < 11.1 >
edited by Outhman Moustaghfir
on 2024/07/19 16:10
To version < 14.1
edited by Outhman Moustaghfir
on 2024/09/09 11:50
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,0 +1,46 @@
1 += Introduction =
2 +
3 +The Stack connector is designed to maintain a stack variable containing a list of input files for iterative processing using the 'Loop' connector.
4 +
5 +[[image:1721395923573-587.png]]
6 +
7 +
8 += Params =
9 +
10 +[[image:1725875276680-139.png]]
11 +
12 +The connector accepts 4 params :
13 +
14 +* Variable name : that will be referred to inside the [[Loop connector>>doc:iXPath V3.Connectors.Scenario.Loop.WebHome]]
15 +* Append : a checkbox, If checked, the files will be added to the end of the stack. Otherwise, they will be prepended.
16 +* Stack in variable : Select this option to stack the files into a variable. Otherwise, the files will not be added.
17 +* Return variable : When selected, the files stacked into the variable will serve as the output file for the connector. If not, the input file will be used as the output.
18 +
19 += Use =
20 +
21 +The 'Stack' must be combined with a 'Loop' connector to make it useful, depending on each use case.
22 +
23 +====== Example: ======
24 +
25 +[[image:1721397744988-575.png]]
26 +
27 +
28 +we set a variable named 'var', and put the loaded files from 'LoadFile2' as value.
29 +
30 +[[image:1721397807760-234.png]]
31 +
32 +
33 +then, we retrieve this variable using the 'Loop' connector, and iterate over the set, and make a limit of iterations as 20.
34 +
35 +
36 +[[image:1721397783048-170.png]]
37 +
38 +
39 +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.
40 +
41 +[[image:1721397954578-243.png]]
42 +\\
43 +
44 +an example of session :
45 +
46 +[[image:2024-07-19_15h08_49.png]]
1725875276680-139.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.omoustaghfir
Size
... ... @@ -1,0 +1,1 @@
1 +32.1 KB
Content
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian