SongGuess
    Preparing search index...

    Interface WorkflowInstanceRestartOptions

    interface WorkflowInstanceRestartOptions {
        from?: {
            count?: number;
            name: string;
            type?: "do" | "sleep" | "waitForEvent";
        };
    }
    Index

    Properties

    Properties

    from?: { count?: number; name: string; type?: "do" | "sleep" | "waitForEvent" }

    Restart from a specific step. If omitted, the instance restarts from the beginning. The step must exist in the instance's execution history.

    Type Declaration

    • Optionalcount?: number

      1-indexed occurrence of this step name. Use when the same step name appears multiple times (e.g. in a loop).

      1
      
    • name: string

      The step name as defined in your workflow code.

    • Optionaltype?: "do" | "sleep" | "waitForEvent"

      Step type filter. Use when different step types share the same name.