Fix: use explicit order field for workflow actions (#11781)

This commit is contained in:
shamoon
2026-01-15 14:49:21 -08:00
committed by GitHub
parent 1b41559067
commit 055ce9172c
7 changed files with 60 additions and 14 deletions

View File

@@ -781,7 +781,7 @@ def run_workflows(
if matching.document_matches_workflow(document, workflow, trigger_type):
action: WorkflowAction
for action in workflow.actions.all():
for action in workflow.actions.order_by("order", "pk"):
message = f"Applying {action} from {workflow}"
if not use_overrides:
logger.info(message, extra={"group": logging_group})