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

    Type Alias CompleteJobData

    type CompleteJobData = {
        body?: {
            result?:
                | { type: "userTask" } & JobResultUserTask
                | {
                    activateElements?: {
                        elementId?: ElementId;
                        variables?: { [key: string]: unknown };
                    }[];
                    isCancelRemainingInstances?: boolean;
                    isCompletionConditionFulfilled?: boolean;
                    type?: string;
                }
                | null;
            variables?: { [key: string]: unknown }
            | null;
        };
        path: { jobKey: JobKey };
        query?: never;
        url: "/jobs/{jobKey}/completion";
    }
    Index

    Properties

    Properties

    body?: {
        result?:
            | { type: "userTask" } & JobResultUserTask
            | {
                activateElements?: {
                    elementId?: ElementId;
                    variables?: { [key: string]: unknown };
                }[];
                isCancelRemainingInstances?: boolean;
                isCompletionConditionFulfilled?: boolean;
                type?: string;
            }
            | null;
        variables?: { [key: string]: unknown }
        | null;
    }

    Type Declaration

    • Optionalresult?:
          | { type: "userTask" } & JobResultUserTask
          | {
              activateElements?: {
                  elementId?: ElementId;
                  variables?: { [key: string]: unknown };
              }[];
              isCancelRemainingInstances?: boolean;
              isCompletionConditionFulfilled?: boolean;
              type?: string;
          }
          | null

      The result of the completed job as determined by the worker.

    • Optionalvariables?: { [key: string]: unknown } | null

      The variables to complete the job with.

    path: { jobKey: JobKey }

    Type Declaration

    • jobKey: JobKey

      The key of the job to complete.

    query?: never
    url: "/jobs/{jobKey}/completion"