*Document(s)Required
Business goal​
These classes validate whether a (configurable) set of documents is present. Depending on the class, they have additional behavior
Configuration​
Enum value​
Needs to contain a FlowStep identifier.
Some classes have limitations or behave differently depending on the selected flow step:
- Class
FlowStepClientDocumentRequiredonly supports:PROFILE_DOCUMENTS- Note: will only execute when the
Clientis not anIndividualor when theClientis theResponsible.
- Note: will only execute when the
CLIENT_DOCUMENTS- Note: will only execute when the
Clientis not anIndividual.
- Note: will only execute when the
CLIENT_INDIVIDUAL_PROFILE_DOCUMENTS- Note: will only execute when the
Clientis anIndividual.
- Note: will only execute when the
- Class
IdentityProviderDocumentsPresentonly supports:IDENTITY_READOUTIDENTITY_PROFILECLIENT_INDIVIDUAL_IDENTITY_READOUTCLIENT_INDIVIDUAL_PROFILE
- Class
FlowStepResponsibleDocumentRequiredonly supports:PROFILE_DOCUMENTS
Settings​
The settings of this validation consist primarily of:
- An
errorCodeto be translated & send to the FE. - A set of validation settings:
- A set of
documentTypesthat are required on theClient. - A list of
nestedValidationsthat allows more complex document type filters. - A
documentTypesCardinalitythat indicates whether onlyONEorALLdocument types or nested validations in the list are required.
- A set of
Additionally, some classes support additional settings or need to be configured slightly different:
- Classes
FlowStepClientDocumentRequiredandFlowStepResponsibleDocumentRequired:- An optional
partyTypeto only apply the validation when theClientis of a certain party type.
- An optional
- Class
DocumentsRequired:- The above validation settings are nested inside a
validationfield - A
sourcefield that defines what document set is validated. Holds one of:IDENTITY: The client's identity documents.DOSSIER: The dossier documents.CLIENT: The client documents.
- The above validation settings are nested inside a