Help ELMA BPM Platform
×
Menu

Integer


The Integer data type is used for storing integer values. An integer can be positive or negative. This is a 64-bit type. You can use a number from -9223372036854775808 to 9223372036854775807 in an Integer variable.
In Web Application, an Integer field looks as shown in Fig. 1, which features an editing form of a property.
Fig. 1. Integer field in Web Application (editing form)
In ELMA, there are two similar data types: Integer (16 bit) and Integer (32 bit) .

Integer type settings in ELMA Designer

When you select Integer in the Type * field, additional fields appear on the Common and Advanced tabs apart from the basic fields.
Common tab
Fig. 2 shows the additional fields that appear if the Integer type is selected on the Common tab.
Fig. 2. Common tab. Additional fields
Can be empty – when this box is checked, the field can be empty. If you leave this field empty in Web Application, "Empty" will be displayed in this field (the variable will have the Null value). When this box is not checked, the field's default value is "0" (the variable will have the 0 value).
Default Value – select the value, which will be used by default in Web Application.
Advanced tab
Fig. 3 shows the additional fields that appear if the Integer type is selected on the Advanced tab.
Fig. 3. Integer settings in ELMA Designer, Advanced tab
Minimum and maximum values – define the range, which limits the value of the field. When you enter a value, outside of the range, a notification is shown (fig. 4). The value will be automatically changed to the minimum or the maximum value (depending on which one is closer to the entered value).
Fig. 4. Integer field in Web Application (editing form). Invalid value notification
When you check the Participates in Search (Filter), this tab displays the Value range in filter box (fig. 5).
Fig. 5. Integer settings in ELMA Designer, Advanced tab
When you check this box, the filter or advanced search form will display an additional field, where you can specify the range of integer values.
Copyright © 2006–2019 ELMA