fixed automation issue

This commit is contained in:
patrick-motsch 2026-02-10 09:55:51 +01:00
parent b16420db41
commit 0e6d4130ad

View file

@ -161,7 +161,7 @@ async def executeAutomation(automationId: str, automation, creatorUser: User, se
# Set workflow name with "automated" prefix
automationLabel = automation.label or "Unknown Automation"
workflowName = f"automated: {automationLabel}"
workflow = services.interfaceDbChat.updateWorkflow(workflow.id, {"name": workflowName})
services.interfaceDbChat.updateWorkflow(workflow.id, {"name": workflowName})
logger.info(f"Set workflow {workflow.id} name to: {workflowName}")
# Save execution log (bypasses RBAC — system operation, not a user edit)