Enumerated values
Configuring enumerated values. Usage in the rule builder.
Focusing back in the field edition, a string or number type field can be marked as "enumerated". You should do this if you know in advance that the field will take values from a relatively small pool of distinct possible values.
Typically, a "status" field is likely to be enumerated, while a "value" or "account_id" field most likely aren't.
If a field is marked as enumerated, we will keep track (within limits) of all the distinct values it takes. We will then display those values (or a subset of them) in the rule builder, as additional context for the builder using the field.
![Display of known values when using an enumerated field in the rule engine](https://files.readme.io/0629664-Capture_decran_2024-05-29_a_14.18.45.png)
Display of known values when using an enumerated field in the rule engine
Updated 3 months ago