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§

§active?: boolean
§definition: WorkflowDefinitionProvider<
    Input,
    Output,
    Chain<any, any, false>
    | Node<any, unknown>,
>
§inputSchema?: Input

{@inheritDoc InputSchema}

§name?: string
§outputSchema?: Output

{@inheritDoc OutputSchema}

§settings?: { ... }
§tags?: string[]