# Function cancelExecution

Workflows exports - Workflow engine with parallel execution Split from index.ts for file size compliance (Issue #285)

- cancelExecution(context: WorkflowExecutionContext): void

  Marks the execution as cancelled.

  #### Parameters

  - context: WorkflowExecutionContext

    The execution context

  #### Returns void

  - Defined in packages/nexus-agents/src/workflows/execution-context.ts:180