A model that runs on scheduled events to determine if a document needs to be retried.
document-retry
Version: 1.0.0
Infer: No
Event Aware: Yes
retry-1
, retry-2
).
document_store_ref
: Reference to the document store to queryretry_filter
: Query filter to identify documents for retryfailed_status_id
: Status ID to assign when max retries are exceedednumber_of_retries
: Maximum retry attempts allowedlabel_prefix
: Prefix for retry count labelsproject
: Project endpoint for status definitionsassistant
: Assistant endpoint for document reprocessingName | Label | Type | Description | Default | Required |
---|---|---|---|---|---|
database_host | Database Host | string | N/A | - | No |
database_port | Database Port | integer | N/A | - | No |
database_username | Database Username | string | N/A | - | No |
database_password | Database Password | password | N/A | - | No |
database_name | Database Name | string | N/A | - | No |
document_store_ref | Document Store | documentStore | N/A | - | No |
retry_filter | Retry Filter | string | N/A | exists(statistics.recentExecutions.execution.status: ‘FAILED’) | No |
failed_status_id | Failed Status | documentStatus | N/A | - | No |
number_of_retries | Number of Retries | integer | N/A | 3 | No |
label_prefix | Label Prefix | string | N/A | retry- | No |
assistant | Assistant | assistant | N/A | - | No |