# Function resolveInput

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

- resolveInput(input: unknown, context: WorkflowExecutionContext): unknown

  Recursively resolves expressions in a value.

  Handles strings, arrays, and objects. Primitives other than strings are returned unchanged.

  #### Parameters

  - input: unknown

    Value containing potential expressions

  - context: WorkflowExecutionContext

    Execution context

  #### Returns unknown

  Resolved value

  #### Throws

  ValidationError if resolution fails

  - Defined in packages/nexus-agents/src/workflows/expression-resolver.ts:153