Angular Modernizer
    Preparing search index...
    interface WorkflowExecutionResult {
        errors: { error: Error; stepId: string }[];
        finalCheckpoint?: WorkflowCheckpoint;
        metrics: {
            checkpointsCreated: number;
            failedSteps: number;
            skippedSteps: number;
            successfulSteps: number;
            totalSteps: number;
        };
        status: "completed"
        | "failed"
        | "partial";
        stepResults: StepExecutionResult[];
        totalDurationMs: number;
        workflowId: string;
    }
    Index

    Properties

    errors: { error: Error; stepId: string }[]

    Errors of failed steps. An error no step reported (for example a stuck workflow) is listed with the step ID workflow.

    Type Declaration

    • error: Error

      The error.

    • stepId: string

      ID of the failed step, or workflow.

    finalCheckpoint?: WorkflowCheckpoint

    Last checkpoint of the run, if any

    metrics: {
        checkpointsCreated: number;
        failedSteps: number;
        skippedSteps: number;
        successfulSteps: number;
        totalSteps: number;
    }

    Success metrics

    Type Declaration

    • checkpointsCreated: number

      Checkpoints created or loaded during the run.

    • failedSteps: number

      Steps with status failed.

    • skippedSteps: number

      Optional steps that failed (status skipped).

    • successfulSteps: number

      Steps with status completed.

    • totalSteps: number

      Number of steps in the workflow.

    status: "completed" | "failed" | "partial"

    Overall status: completed when no step failed, partial when some steps failed and at least one completed, failed otherwise

    stepResults: StepExecutionResult[]

    All step results

    totalDurationMs: number

    Total execution time

    workflowId: string

    Workflow ID