Validations
Business goalâ
Validations (often called "completion checks") will at certain points in the application validate (check) whether a certain step is completed, or if all minimum requirements are met before a next step can be started.
Implementationsâ
See Validation classes for more information.
Configurationâ
Typeâ
- Advice (ADV)
- Dossier status transition (DST)
âšī¸ Most validations are included in the Status Transition Configuration (JSON or class). In exceptional cases, custom validations are defined (e.g. removing default validations).- Enum Value: This value corresponds with the
DossierStatusthe user wants to transition to.
- Enum Value: This value corresponds with the
- UBO status transition (UBO)
- Identity status transition (ID)
- Flow step precondition (FSPC)
âšī¸ Allows a flow step to be unavailable for the current user.f - Flow step completeness (FSC): Checks whether all data for a given flow step is available.
- Enum Value: This value corresponds with the
FlowStepfor which the validation must be performed
- Enum Value: This value corresponds with the
- Conditional AML (AML)
- RBA
- Due diligence precondition (DDPC)
Generic Validation settingsâ
Some implementations have highly configurable validation possibilites, referred as 'conditions'. Below you can find more details on how such validations/conditions are configurable.
Validation Concept
Validation Conceptâ
The validations are a list of Validation objects (see below). Each Validation consists out of 3 parts:
- An optional
condition, holding aConditionDTOobject (see below) - A
validation, holding aConditionDTOobject (see below) - An optional
errorCode.
Note that an optional errorCode can also be added next to validations as a global fallback code for
individual Validation objects what would not have their own errorCode. If any validations are configured, there
must be at least a global errorCode, or every validation must have its own errorCode.
ConditionDTOâ
Both the condition and the validation fields hold a ConditionDTO object. This object evaluates
to true or false. In this model, it is possible to combine the evaluation of different fields
using operators such as and, or and not. The evaluation itself can be performed using the
following comparisons:
equals,notEqualslike,notLike. Optionally using wildcards (%).in,notIn. Only for collections.contains,notContains. Only for multi-value fields.greaterThan,smallerThan. Useful for checking if numeric values are in a certain range.isNull,isNotNull. Useful for checking on requiredness of fields.
See the Condition reference for the full list of operators, the supported value shapes and examples.