Interface WorkflowProps<Input, Output>

Source
interface WorkflowProps<
    Input extends Type,
    Output extends Type,
> {
    active?: boolean;
    definition: WorkflowDefinitionProvider<
        Input,
        Output,
        Chain<any, any, false>
        | Node<any, unknown>,
    >;
    inputSchema?: Input;
    name?: string;
    outputSchema?: Output;
    settings?: {
        callerPolicy?: "workflowsFromSameOwner";
        executionOrder?: "v1" | "v2";
        executionTimeout?: number;
        saveDataErrorExecution?: "all" | "none";
        saveDataSuccessExecution?: "all" | "none";
        saveExecutionProgress?: boolean;
        saveManualExecutions?: boolean;
        timezone?: string;
    };
    tags?: string[];
}

Properties§

Source§

active?: boolean

Source§

definition: WorkflowDefinitionProvider<
    Input,
    Output,
    Chain<any, any, false>
    | Node<any, unknown>,
>

Source§

inputSchema?: Input

{@inheritDoc InputSchema}

Source§

name?: string

Source§

outputSchema?: Output

{@inheritDoc OutputSchema}

Source§

settings?: {
    callerPolicy?: "workflowsFromSameOwner";
    executionOrder?: "v1" | "v2";
    executionTimeout?: number;
    saveDataErrorExecution?: "all" | "none";
    saveDataSuccessExecution?: "all" | "none";
    saveExecutionProgress?: boolean;
    saveManualExecutions?: boolean;
    timezone?: string;
}

Source§

tags?: string[]