Skip to main content

beginExecution

@forge/monorepo


@forge/monorepo / backend/src / beginExecution

Function: beginExecution()

beginExecution(input): FlowExecution

Defined in: backend/src/flows/interpreter.ts:538

A fresh execution, at the start step, with nothing spent.

Parameters

input

conversationId?

ConversationId

definition

FlowDefinition

depth?

number

id

string

nowIso

string

nowMs

number

principalId

PrincipalId

runId

RunId

state?

Readonly<Record<string, unknown>>

tenantId

TenantId

Returns

FlowExecution