mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-10 16:46:50 +01:00
Feature: scheduled workflow trigger (#8036)
This commit is contained in:
parent
d5572137de
commit
2b29233a1e
16 changed files with 907 additions and 78 deletions
|
|
@ -409,6 +409,7 @@ def document_matches_workflow(
|
|||
elif (
|
||||
trigger_type == WorkflowTrigger.WorkflowTriggerType.DOCUMENT_ADDED
|
||||
or trigger_type == WorkflowTrigger.WorkflowTriggerType.DOCUMENT_UPDATED
|
||||
or trigger_type == WorkflowTrigger.WorkflowTriggerType.SCHEDULED
|
||||
):
|
||||
trigger_matched, reason = existing_document_matches_workflow(
|
||||
document,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue