fixed automation issue
This commit is contained in:
parent
b16420db41
commit
0e6d4130ad
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ async def executeAutomation(automationId: str, automation, creatorUser: User, se
|
||||||
# Set workflow name with "automated" prefix
|
# Set workflow name with "automated" prefix
|
||||||
automationLabel = automation.label or "Unknown Automation"
|
automationLabel = automation.label or "Unknown Automation"
|
||||||
workflowName = f"automated: {automationLabel}"
|
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}")
|
logger.info(f"Set workflow {workflow.id} name to: {workflowName}")
|
||||||
|
|
||||||
# Save execution log (bypasses RBAC — system operation, not a user edit)
|
# Save execution log (bypasses RBAC — system operation, not a user edit)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue