Wiki source code of Loop
Version 8.1 by Outhman Moustaghfir on 2024/07/19 15:47
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | = Introduction = |
![]() |
5.1 | 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 | |||
![]() |
7.1 | 5 | [[image:1714408965166-600.png||height="134" width="175"]] |
![]() |
5.1 | 6 | |
7 | == Usage == | ||
8 | |||
9 | |||
10 | To use the Loop BPMN Connector effectively, follow these steps: | ||
11 | |||
12 | 1. **Place Connector:** Drag and drop the Loop BPMN Connector onto your scenario at the appropriate location where looping behavior is required. | ||
13 | 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). | ||
14 | 1. **manage deploiment error** : when missing or adding a required output or input, it could forbid the sceanrio deploiment. | ||
15 | [[image:1714408723108-457.png||height="301" width="639"]] | ||
16 | 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. | ||
17 | |||
![]() |
7.1 | 18 | = Example = |
![]() |
5.1 | 19 | |
20 | in the following example, we created scenario where multiple files are loaded by LoadFile connector (//LoadFile2//), and proceeded by Loop1. | ||
21 | |||
22 | 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) | ||
23 | |||
24 | [[image:1714408759904-198.png||height="381" width="682"]] | ||
25 | |||
26 | |||
27 | |||
28 | results shown in exploitaion page: | ||
29 | [[image:1714408918004-230.png]] |