Wiki source code of ReturnScenario
Last modified by Outhman Moustaghfir on 2024/03/01 16:07
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | |||
2 | |||
3 | === Introduction === | ||
4 | |||
5 | The ReturnScenario connector facilitates the retrieval of files from a designated connector within a scenario invoked by the call scenario connector. These files serve as output for the call scenario connector. | ||
6 | |||
7 | (% id="cke_bm_168S" style="display:none" %) [[image:returnScenario.png]] | ||
8 | |||
9 | == == | ||
10 | |||
11 | == Example == | ||
12 | |||
13 | Consider a scenario named "parentScenario" with the following workflow: | ||
14 | |||
15 | [[image:parentScenario.png]] | ||
16 | |||
17 | |||
18 | The parentScenario then proceeds to zip the collected output files using the Zip connector. | ||
19 | |||
20 | Now, within the parentScenario, a child scenario named "childScenario" is invoked with the following workflow: | ||
21 | |||
22 | |||
23 | [[image:childScenario.png]] | ||
24 | |||
25 | |||
26 | Effectively, the output file generated by the Zip connector in the childScenario becomes the output file for the callScenario connector in the parentScenario. | ||
27 | |||
28 | |||
29 | **outputFiles **for zip connector in the parentScenario : | ||
30 | |||
31 | |||
32 | [[image:outputFiles1.png]] |