mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-06 16:34:50 -05:00
Fix check scheduled workflows docstring
This commit is contained in:
parent
f940ed0b7b
commit
1cd21d0f38
@ -394,11 +394,9 @@ def check_scheduled_workflows():
|
|||||||
Check and run all enabled scheduled workflows.
|
Check and run all enabled scheduled workflows.
|
||||||
|
|
||||||
Scheduled triggers are evaluated based on a target date field (e.g. added, created, modified, or a custom date field),
|
Scheduled triggers are evaluated based on a target date field (e.g. added, created, modified, or a custom date field),
|
||||||
combined with a day offset.
|
combined with a day offset:
|
||||||
|
- Positive offsets mean the workflow should trigger AFTER the specified date (e.g., offset = +7 → trigger 7 days after)
|
||||||
The offset is mathematically negated resulting in the following behavior:
|
- Negative offsets mean the workflow should trigger BEFORE the specified date (e.g., offset = -7 → trigger 7 days before)
|
||||||
- Positive offsets mean the workflow should trigger BEFORE the specified date (e.g., offset = +7 → trigger 7 days before)
|
|
||||||
- Negative offsets mean the workflow should trigger AFTER the specified date (e.g., offset = -7 → trigger 7 days after)
|
|
||||||
|
|
||||||
Once a document satisfies this condition, and recurring/non-recurring constraints are met, the workflow is run.
|
Once a document satisfies this condition, and recurring/non-recurring constraints are met, the workflow is run.
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user