Wiki source code of 4. Conditions
Version 9.1 by Outhman Moustaghfir on 2022/06/13 13:17
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | = Introduction = | ||
2 | |||
3 | Conditions are a concept that maintains and check a certain statement if it is true or false. | ||
4 | |||
5 | In iXPath, that concept allows or not access a connector that holds the condition. | ||
6 | |||
7 | = Structure and use = | ||
8 | |||
9 | On each connector, we find a condition field to fill in or not. | ||
10 | |||
11 | we can take AS2listener as an example : | ||
12 | |||
13 | [[image:2021-04-27_23h10_16.png||height="270" width="329"]] | ||
14 | |||
15 | Let's set a simple scenario and make a condition to explain more this concept : | ||
16 | |||
17 | [[image:2021-04-27_21h31_55.png||height="100" width="319"]] | ||
18 | |||
19 | |||
20 | We want to send a mail only if the size file is inferior to 1 Mo. | ||
21 | |||
22 | [[image:2021-04-27_23h26_43.png||height="340" width="339"]] | ||
23 | |||
24 | If the statement is true, then we send a mail to the target with the body message. | ||
25 | |||
26 | |||
27 | |||
28 |