A model that allows you to process task events
task-event-processor
Version: 1.0.0
Infer: No
Event Aware: Yes
Option | Description |
---|---|
document_store | The document store containing documents to process |
should_update_document_status | When enabled, updates document status when all related tasks are complete |
document_status | The status to set documents to when all tasks are complete |
is_current_status_required | When enabled, only updates documents that are in a specific status |
required_current_status | The status documents must be in to qualify for status updates |
should_cancel_all_tasks_if_task_is_rejected | When enabled, cancels all other tasks when one is rejected |
rejected_status | The task status that indicates rejection |
task_status_if_task_canceled | The status to set other tasks to when a task is rejected |
Name | Label | Type | Description | Default | Required |
---|---|---|---|---|---|
should_update_document_status | If all tasks are done, update the Kodexa document status | boolean | Toggle on to update the Kodexa document status when all tasks have a status type of DONE | False | No |
is_current_status_required | Is a specific current status also required in order to update the Kodexa document status? | boolean | Toggle on to also require a specific current status to exist on the document in order to update the Kodexa document status | False | No |
required_current_status | Required current Kodexa document status | documentStatus | The Kodexa status to check for before updating the document status | - | No |
document_status | New Kodexa document status | documentStatus | The Kodexa status to update the document to when all tasks have a status type of DONE | - | No |
should_cancel_all_tasks_if_task_is_rejected | Update the status of all other document tasks if the task is rejected? | boolean | Toggle on to update the status of all other document tasks if the task is rejected | False | No |
rejected_status | Rejected Status | taskStatus | Select the rejected status to test for | - | No |
task_status_if_task_canceled | Status to set the other document tasks to if the task is rejected | taskStatus | The status to set the other document tasks to if the task is rejected | - | No |
document_store | Document Store | documentStore | The document store to update the document status in | - | Yes |