Metis Smart Modeling - Rules
From Metis Documentation
(→Maximal Selection) |
(→Minimal Selection) |
||
Line 531: | Line 531: | ||
| If the “Q from” field is left empty, this means ‘from 0'. If the “Q to” field is left empty, this means “up to ∞” (or > 999'999'999). | | If the “Q from” field is left empty, this means ‘from 0'. If the “Q to” field is left empty, this means “up to ∞” (or > 999'999'999). | ||
}} | }} | ||
+ | |||
+ | |||
+ | In the “Modeling” menu, make sure that the “Rules” sub-menu has been selected. | ||
+ | On the left, in the “Groups of rules” dropdown list, select “Server Software 1.” | ||
+ | Click on add. A window opens where the new rule will be created. | ||
+ | In the “Type” field, select “Maximal” from the dropdown list. In the “comment” field, enter a name for the rule, for example “Determine number of MS licenses.” | ||
+ | Click on the add button near the “input” field. A window opens where it is possible to select positions, variables, and attributes. | ||
+ | Select “Variables.” | ||
+ | Select “$NB_Users” from the list and confirm. | ||
+ | Repeat the previous steps, but this time select the variable “$NB_Mailboxes” from the list and click on confirm. | ||
+ | Click on the add button near the “Output” field. | ||
+ | The same window from before opens, but it is only possible to select positions or variables. | ||
+ | Select “Variables.” | ||
+ | Select “$NB_Licences” from the list and confirm. | ||
+ | To test this new rule, click on the “test” button. | ||
+ | The test window opens. | ||
+ | In the “test value” field for “$NB_Users” enter “25.” For “$NB_Mailboxes” enter “50.” | ||
+ | Click on the test button. The results appear below. | ||
+ | The purpose of the maximal rule is to output the maximum value found amongst several input values. This explains why the output value is “50” in this specific example. | ||
+ | Close the test window. | ||
+ | Click on confirm to save the rule. It now appears in the list of rules. | ||
+ | |||