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?
optionaleventName: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?
optionalexecutionId: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?
optionalinputs: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?
optionaltimeoutMs:number
Defined in: packages/fireflow-types/src/execution/services/dbos-types.ts:81
Maximum execution timeout in milliseconds.
Default
3600000 (1 hour)