maxAttempts
Maximum number of document capture attempts.
Details
Attribute: max-attempts
Type: number
Supported values: 0 or higher
Default value: the one from the capture engine (the property is only sent if it is defined)
Morphology
selphid.maxAttempts = 3;Description
Maximum number of capture attempts that the user can make in facephi-selphid-widget before the widget considers the process exhausted.
When the limit is exceeded, the widget emits maxAttemptsExceeded and stops retrying the capture. Without this property, the Integration had to keep track of retries on its own starting from extractionTimeout and timeoutErrorButtonClick.
Considerations
If the property is not defined, the widget does not send it to the engine and the default value of the capture engine is applied.
This property limits the attempts of the entire capture Flow. It does not replace captureRetries, which controls the capture retries for each side of the document.
Example
Last updated