@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 message describing why the job failed. This is particularly useful if a job runs out of retries and an incident is raised, as this message can help explain why an incident was raised.

    retries?: number

    The amount of retries the job should have left

    retryBackOff?: number

    The backoff timeout (in ms) for the next retry.

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

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