ruvnet/ruflo · error · Error
Workflow not found: ${workflowId}
Error message
Workflow not found: ${workflowId} What it means
MaestroPlugin.executeWorkflow could not find a workflow with the given workflowId in the in-memory workflows map. The workflow was never created via createWorkflow, was completed and removed, or the id is wrong, so there is nothing to execute or resume.
Source
Thrown at v3/@claude-flow/shared/src/plugins/official/maestro-plugin.ts:182
status: 'pending',
})),
status: 'created',
progress: 0,
createdAt: new Date(),
checkpoints: new Map(),
};
this.workflows.set(workflow.id, workflow);
return workflow;
}
/**
* Execute a workflow
*/
async executeWorkflow(workflowId: string): Promise<OrchestrationResult> {
const workflow = this.workflows.get(workflowId);
if (!workflow) {
throw new Error(`Workflow not found: ${workflowId}`);
}
if (this.activeWorkflows >= this.config.maxConcurrentWorkflows) {
throw new Error('Maximum concurrent workflows reached');
}
const startTime = Date.now();
workflow.status = 'running';
workflow.startedAt = new Date();
this.activeWorkflows++;
const errors: Array<{ stepId: string; error: string }> = [];
const outputs: Record<string, unknown> = {};
try {
switch (this.config.orchestrationMode) {
case 'sequential':
await this.executeSequential(workflow, outputs, errors);View on GitHub (pinned to fa13ee4ad6)
Solutions
- Verify the workflow id exists before starting or resuming.
- Create the workflow first or list workflows to obtain a valid id.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at v3/@claude-flow/shared/src/plugins/official/maestro-plugin.ts:182 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of ruvnet/ruflo@fa13ee4ad6 (2026-08-18).
Data as JSON: /api/errors/89fb003fdb049356.
Report an issue: GitHub.