{"record":{"id":"9922cd10a7a21fe4","repo":"ruvnet/ruflo","slug":"workflow-workflowid-not-found","errorCode":null,"errorMessage":"Workflow ${workflowId} not found","messagePattern":"Workflow (.+?) not found","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"v3/src/task-execution/application/WorkflowEngine.ts","lineNumber":225,"sourceCode":"  async resumeWorkflow(workflowId: string): Promise<void> {\n    const execution = this.workflows.get(workflowId);\n    if (execution && execution.state.status === 'paused') {\n      execution.state.status = 'in-progress';\n      execution.eventLog.push({\n        timestamp: Date.now(),\n        event: 'workflow:resumed',\n        data: { workflowId }\n      });\n    }\n  }\n\n  /**\n   * Get workflow state\n   */\n  async getWorkflowState(workflowId: string): Promise<WorkflowState> {\n    const execution = this.workflows.get(workflowId);\n    if (!execution) {\n      throw new Error(`Workflow ${workflowId} not found`);\n    }\n    return execution.state;\n  }\n\n  /**\n   * Execute tasks in parallel\n   */\n  async executeParallel(tasks: ITask[]): Promise<TaskResult[]> {\n    return this.coordinator.executeTasksConcurrently(tasks);\n  }\n\n  /**\n   * Execute a distributed workflow\n   */\n  async executeDistributedWorkflow(\n    workflow: WorkflowDefinition,\n    coordinators: SwarmCoordinator[]\n  ): Promise<WorkflowResult> {","sourceCodeStart":207,"sourceCodeEnd":243,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/src/task-execution/application/WorkflowEngine.ts#L207-L243","documentation":"getWorkflowState() looked up workflowId in the in-memory workflows map and found no entry. The workflow was never started in this engine instance, already completed and removed, or the id is wrong — there is no execution record to report state for.","triggerScenarios":"Thrown at v3/src/task-execution/application/WorkflowEngine.ts:225 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the referenced identifier exists before use (list available items and match against user input).","Return a clear 404-style error listing valid identifiers, and have the caller retry with an existing id."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fa13ee4ad60ac2090b1480656eb233521790d640","analyzedAt":"2026-08-18T21:34:22.708Z","contentChangedAt":"2026-08-18T21:34:22.708Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}