Changes for page Stack
Last modified by Outhman Moustaghfir on 2024/09/09 11:50
<
>
edited by Outhman Moustaghfir
on 2024/07/19 16:10
on 2024/07/19 16:10
edited by Outhman Moustaghfir
on 2024/09/09 11:47
on 2024/09/09 11:47
Change comment:
Uploaded new attachment "1725875276680-139.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,0 +1,44 @@ 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:1721396080125-263.png]] 11 + 12 +The connector accepts 2 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 + 17 += Use = 18 + 19 +The 'Stack' must be combined with a 'Loop' connector to make it useful, depending on each use case. 20 + 21 +====== Example: ====== 22 + 23 +[[image:1721397744988-575.png]] 24 + 25 + 26 +we set a variable named 'var', and put the loaded files from 'LoadFile2' as value. 27 + 28 +[[image:1721397807760-234.png]] 29 + 30 + 31 +then, we retrieve this variable using the 'Loop' connector, and iterate over the set, and make a limit of iterations as 20. 32 + 33 + 34 +[[image:1721397783048-170.png]] 35 + 36 + 37 +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. 38 + 39 +[[image:1721397954578-243.png]] 40 +\\ 41 + 42 +an example of session : 43 + 44 +[[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