@camunda8/orchestration-cluster-api
    Preparing search index...

    Type Alias JobFailRequest

    type JobFailRequest = {
        errorMessage?: string;
        retries?: number;
        retryBackOff?: number;
        variables?: { [key: string]: unknown };
    }
    Index

    Properties

    errorMessage?: string

    An optional error message describing why the job failed; if not provided, an empty string is used.

    retries?: number

    The amount of retries the job should have left

    retryBackOff?: number

    An optional retry back off for the failed job. The job will not be retryable before the current time plus the back off time. The default is 0 which means the job is retryable immediately.

    variables?: { [key: string]: unknown }

    JSON object that will instantiate the variables at the local scope of the job's associated task.