Skip to content

PersistentAI API Documentation / @persistentai/fireflow-types / ISubflowParams

Interface: ISubflowParams

Defined in: packages/fireflow-types/src/execution/services/dbos-types.ts:53

Parameters for executing a subflow

Properties

eventName?

optional eventName: string

Defined in: packages/fireflow-types/src/execution/services/dbos-types.ts:63

Target EventListener name within the flow. If omitted, the flow starts without event context.


executionId?

optional executionId: string

Defined in: packages/fireflow-types/src/execution/services/dbos-types.ts:75

Custom execution ID for idempotency. If omitted, a new ID is auto-generated.


flowId

flowId: string

Defined in: packages/fireflow-types/src/execution/services/dbos-types.ts:57

Target flow ID (from database)


inputs?

optional inputs: Record<string, unknown>

Defined in: packages/fireflow-types/src/execution/services/dbos-types.ts:69

Input data to pass to the called flow. This becomes the event payload for EventListener nodes.


timeoutMs?

optional timeoutMs: number

Defined in: packages/fireflow-types/src/execution/services/dbos-types.ts:81

Maximum execution timeout in milliseconds.

Default

ts
3600000 (1 hour)

Licensed under BUSL-1.1