Restate Typescript SDK
    Preparing search index...

    Represents a successful workflow submission.

    type WorkflowSubmission<T> = {
        attachable: true;
        invocationId: string;
        status: "Accepted" | "PreviouslyAccepted";
    }

    Type Parameters

    • T
    Index

    Properties

    attachable: true
    invocationId: string

    The invocation id of the workflow. You can use that id to with the introspection tools (restate cli, logging, metrics)

    status: "Accepted" | "PreviouslyAccepted"

    Whether the workflow was accepted by this request or had already been accepted.

    When automatic retries are enabled, this may be PreviouslyAccepted if an earlier attempt from the same workflowSubmit call was accepted but its response was not observed by the client.