Wiki source code of Loop
Version 6.1 by Outhman Moustaghfir on 2024/04/29 18:42
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | = Introduction = | ||
2 | |||
3 | The Loop BPMN Connector is designed to facilitate looping behavior within scenario diagrams. It enables processes to iterate over a set of files multiple times based on specified conditions. | ||
4 | |||
5 | |||
6 | == Usage == | ||
7 | |||
8 | |||
9 | To use the Loop BPMN Connector effectively, follow these steps: | ||
10 | |||
11 | 1. **Place Connector:** Drag and drop the Loop BPMN Connector onto your scenario at the appropriate location where looping behavior is required. | ||
12 | 1. **Connect Inputs and Outputs:** Connect the input and output connectors of the Loop BPMN Connector to the relevant elements in your BPMN diagram (the connector must have exactly 2 inputs and 2 outputs). | ||
13 | 1. **manage deploiment error** : when missing or adding a required output or input, it could forbid the sceanrio deploiment. | ||
14 | [[image:1714408723108-457.png||height="301" width="639"]] | ||
15 | 1. **Handle Loop Exit:** Ensure that the exit output is connected to the appropriate elements in your scenario diagram to handle the termination of the loop. | ||
16 | |||
17 | = Example = | ||
18 | |||
19 | in the following example, we created scenario where multiple files are loaded by LoadFile connector (//LoadFile2//), and proceeded by Loop1. | ||
20 | |||
21 | the Loop1 has 2 inputs ( 1 to ensure triggering the connector, and other to ensure the loop over) and 2 outputs (1 for the loop, and other for the exit) | ||
22 | |||
23 | [[image:1714408759904-198.png||height="381" width="682"]] | ||
24 | |||
25 | |||
26 | |||
27 | results shown in exploitaion page: | ||
28 | [[image:1714408918004-230.png]] |