feat(automations): ctx.tasks.sendMessage — сообщение в чат задачи от Системы; userId в triggerData status_changed

This commit is contained in:
2026-09-08 16:31:59 +03:00
parent 163351b345
commit 0b2319b11d
13 changed files with 171 additions and 32 deletions

View File

@@ -538,6 +538,7 @@ export async function executeTaskTransition(options: ExecuteTaskTransitionOption
oldStatusId: transition.fromStatusId,
newStatusId: targetStatusId,
task: updatedTask,
userId: user!.id,
}).catch(err => console.error('[automation] task.status_changed error:', err));
}