diff --git a/packages/cli/src/Server.ts b/packages/cli/src/Server.ts index e52ac7f80..fbf493a70 100644 --- a/packages/cli/src/Server.ts +++ b/packages/cli/src/Server.ts @@ -2658,7 +2658,8 @@ class App { for (const data of executingWorkflows) { if ( (filter.workflowId !== undefined && filter.workflowId !== data.workflowId) || - !sharedWorkflowIds.includes(data.workflowId.toString()) + (data.workflowId !== undefined && + !sharedWorkflowIds.includes(data.workflowId.toString())) ) { continue; }