diff --git a/services/task-service/src/commands/create-task.ts b/services/task-service/src/commands/create-task.ts index 34849da77c..96a58af8cd 100644 --- a/services/task-service/src/commands/create-task.ts +++ b/services/task-service/src/commands/create-task.ts @@ -128,7 +128,7 @@ export class CreateTaskCommand implements ICommand { const promises = tasks.map(async dbTask => { if (workflow.id) { const result = await workflowCtrl.startWorkflow( - workflow.id!, + workflow.id, new ExecuteWorkflowDto({ input: { taskId: dbTask.id,