Skip to main content
Version: 18

IdentityDocumentExists

Business goal​

This class is used as a precondition in the identity status transition process to ensure that at least one identity document is available for a given individual. It performs a simple presence check on the documents and does not validate the document type.

Configuration​

Configure this setting as a custom validation of type IDENTITY_STATUS_TRANSITION in the FSP definition.

{
"type": "IDENTITY_STATUS_TRANSITION",
"enumValue": "APPROVED",
"className": "eu.myharmoney.app.bll.validators.identitystatustransition.IdentityDocumentExists",
"remove": false,
"enabled": true
}

⚠️ This validation is typically used to replace the 'default' validation that checks the existince of identity documents of a certain type. Make sure to disable the default validation when adding this one:

{
"type": "IDENTITY_STATUS_TRANSITION",
"enumValue": "APPROVED",
"className": "eu.myharmoney.app.bll.validators.identitystatustransition.IdentityDocumentAvailable",
"remove": true,
"enabled": true
}