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

    Class CamundaClient

    Index

    Constructors

    Accessors

    Methods

    _getSupportLogger _invokeWithRetry activateAdHocSubProcessActivities activateJobs assignClientToGroup assignClientToTenant assignGroupToTenant assignMappingRuleToGroup assignMappingRuleToTenant assignRoleToClient assignRoleToGroup assignRoleToMappingRule assignRoleToTenant assignRoleToUser assignUserTask assignUserToGroup assignUserToTenant broadcastSignal cancelBatchOperation cancelProcessInstance cancelProcessInstancesBatchOperation clearAuthCache completeJob completeUserTask configure correlateMessage createAdminUser createAuthorization createDeployment createDocument createDocumentLink createDocuments createElementInstanceVariables createGlobalClusterVariable createGroup createJobWorker createMappingRule createProcessInstance createRole createTenant createTenantClusterVariable createUser deleteAuthorization deleteDocument deleteGlobalClusterVariable deleteGroup deleteMappingRule deleteProcessInstance deleteProcessInstancesBatchOperation deleteResource deleteRole deleteTenant deleteTenantClusterVariable deleteUser deployResourcesFromFiles emitSupportLogPreamble evaluateConditionals evaluateDecision evaluateExpression failJob forceAuthRefresh getAuditLog getAuthentication getAuthHeaders getAuthorization getBackpressureState getBatchOperation getConfig getDecisionDefinition getDecisionDefinitionXml getDecisionInstance getDecisionRequirements getDecisionRequirementsXml getDocument getElementInstance getErrorMode getGlobalClusterVariable getGlobalJobStatistics getGroup getIncident getLicense getMappingRule getProcessDefinition getProcessDefinitionInstanceStatistics getProcessDefinitionInstanceVersionStatistics getProcessDefinitionMessageSubscriptionStatistics getProcessDefinitionStatistics getProcessDefinitionXml getProcessInstance getProcessInstanceCallHierarchy getProcessInstanceSequenceFlows getProcessInstanceStatistics getProcessInstanceStatisticsByDefinition getProcessInstanceStatisticsByError getResource getResourceContent getRole getStartProcessForm getStatus getTenant getTenantClusterVariable getTopology getUsageMetrics getUser getUserTask getUserTaskForm getVariable getWorkers logger migrateProcessInstance migrateProcessInstancesBatchOperation modifyProcessInstance modifyProcessInstancesBatchOperation onAuthHeaders pinClock publishMessage resetClock resolveIncident resolveIncidentsBatchOperation resolveProcessInstanceIncidents resumeBatchOperation searchAuditLogs searchAuthorizations searchBatchOperationItems searchBatchOperations searchClientsForGroup searchClientsForRole searchClientsForTenant searchClusterVariables searchCorrelatedMessageSubscriptions searchDecisionDefinitions searchDecisionInstances searchDecisionRequirements searchElementInstanceIncidents searchElementInstances searchGroupIdsForTenant searchGroups searchGroupsForRole searchIncidents searchJobs searchMappingRule searchMappingRulesForGroup searchMappingRulesForRole searchMappingRulesForTenant searchMessageSubscriptions searchProcessDefinitions searchProcessInstanceIncidents searchProcessInstances searchRoles searchRolesForGroup searchRolesForTenant searchTenants searchUsers searchUsersForGroup searchUsersForRole searchUsersForTenant searchUserTaskAuditLogs searchUserTasks searchUserTaskVariables searchVariables stopAllWorkers suspendBatchOperation throwJobError unassignClientFromGroup unassignClientFromTenant unassignGroupFromTenant unassignMappingRuleFromGroup unassignMappingRuleFromTenant unassignRoleFromClient unassignRoleFromGroup unassignRoleFromMappingRule unassignRoleFromTenant unassignRoleFromUser unassignUserFromGroup unassignUserFromTenant unassignUserTask updateAuthorization updateGroup updateJob updateMappingRule updateRole updateTenant updateUser updateUserTask withCorrelation

    Constructors

    Accessors

    Methods

    • Internal accessor for support logger (no public API commitment yet).

      Returns SupportLogger

    • Internal invocation helper to apply global backpressure gating + retry + normalization

      Type Parameters

      • T

      Parameters

      • op: () => Promise<T>
      • opts: {
            classify?: (e: any) => { reason: string; retryable: boolean };
            exempt?: boolean;
            opId: string;
        }

      Returns Promise<T>

    • Activate activities within an ad-hoc sub-process

      Activates selected activities within an ad-hoc sub-process identified by element ID. The provided element IDs must exist within the ad-hoc sub-process instance identified by the provided adHocSubProcessInstanceKey.

      Parameters

      • input: activateAdHocSubProcessActivitiesInput

      Returns CancelablePromise<void>

      activateAdHocSubProcessActivities

      Ad-hoc sub-process

    • Assign a client to a group

      Assigns a client to a group, making it a member of the group. Members of the group inherit the group authorizations, roles, and tenant assignments.

      Parameters

      • input: assignClientToGroupInput

      Returns CancelablePromise<void>

      assignClientToGroup

      Group

    • Assign a client to a tenant

      Assign the client to the specified tenant. The client can then access tenant data and perform authorized actions.

      Parameters

      • input: assignClientToTenantInput

      Returns CancelablePromise<void>

      assignClientToTenant

      Tenant

    • Assign a group to a tenant

      Assigns a group to a specified tenant. Group members (users, clients) can then access tenant data and perform authorized actions.

      Parameters

      • input: assignGroupToTenantInput

      Returns CancelablePromise<void>

      assignGroupToTenant

      Tenant

    • Assign a mapping rule to a group

      Assigns a mapping rule to a group. *

      Parameters

      • input: assignMappingRuleToGroupInput

      Returns CancelablePromise<void>

      assignMappingRuleToGroup

      Group

    • Assign a mapping rule to a tenant

      Assign a single mapping rule to a specified tenant. *

      Parameters

      • input: assignMappingRuleToTenantInput

      Returns CancelablePromise<void>

      assignMappingRuleToTenant

      Tenant

    • Assign a role to a client

      Assigns the specified role to the client. The client will inherit the authorizations associated with this role. *

      Parameters

      • input: assignRoleToClientInput

      Returns CancelablePromise<void>

      assignRoleToClient

      Role

    • Assign a role to a group

      Assigns the specified role to the group. Every member of the group (user or client) will inherit the authorizations associated with this role. *

      Parameters

      • input: assignRoleToGroupInput

      Returns CancelablePromise<void>

      assignRoleToGroup

      Role

    • Assign a role to a mapping rule

      Assigns a role to a mapping rule. *

      Parameters

      • input: assignRoleToMappingRuleInput

      Returns CancelablePromise<void>

      assignRoleToMappingRule

      Role

    • Assign a role to a tenant

      Assigns a role to a specified tenant. Users, Clients or Groups, that have the role assigned, will get access to the tenant's data and can perform actions according to their authorizations.

      Parameters

      • input: assignRoleToTenantInput

      Returns CancelablePromise<void>

      assignRoleToTenant

      Tenant

    • Assign a role to a user

      Assigns the specified role to the user. The user will inherit the authorizations associated with this role. *

      Parameters

      • input: assignRoleToUserInput

      Returns CancelablePromise<void>

      assignRoleToUser

      Role

    • Assign user task

      Assigns a user task with the given key to the given assignee. *

      Parameters

      • input: assignUserTaskInput

      Returns CancelablePromise<void>

      assignUserTask

      User task

    • Assign a user to a group

      Assigns a user to a group, making the user a member of the group. Group members inherit the group authorizations, roles, and tenant assignments.

      Parameters

      • input: assignUserToGroupInput

      Returns CancelablePromise<void>

      assignUserToGroup

      Group

    • Assign a user to a tenant

      Assign a single user to a specified tenant. The user can then access tenant data and perform authorized actions. *

      Parameters

      • input: assignUserToTenantInput

      Returns CancelablePromise<void>

      assignUserToTenant

      Tenant

    • Cancel Batch operation

      Cancels a running batch operation. This is done asynchronously, the progress can be tracked using the batch operation status endpoint (/batch-operations/{batchOperationKey}).

      Parameters

      • input: { batchOperationKey: BatchOperationKey }
      • consistencyManagement: cancelBatchOperationConsistency

      Returns CancelablePromise<void>

      cancelBatchOperation

      Batch operation

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Cancel process instance

      Cancels a running process instance. As a cancellation includes more than just the removal of the process instance resource, the cancellation resource must be posted. *

      Parameters

      Returns CancelablePromise<void>

      cancelProcessInstance

      Process instance

    • Cancel process instances (batch)

      Cancels multiple running process instances. Since only ACTIVE root instances can be cancelled, any given filters for state and parentProcessInstanceKey are ignored and overridden during this batch operation. This is done asynchronously, the progress can be tracked using the batchOperationKey from the response and the batch operation status endpoint (/batch-operations/{batchOperationKey}).

      Parameters

      • input: { filter: ProcessInstanceFilter; operationReference?: number }
      • consistencyManagement: cancelProcessInstancesBatchOperationConsistency

      Returns CancelablePromise<BatchOperationCreatedResult>

      cancelProcessInstancesBatchOperation

      Process instance

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Parameters

      • Optionalopts: { disk?: boolean; memory?: boolean }

      Returns void

    • Complete job

      Complete a job with the given payload, which allows completing the associated service task.

      Parameters

      • input: completeJobInput

      Returns CancelablePromise<void>

      completeJob

      Job

    • Complete user task

      Completes a user task with the given key. *

      Parameters

      • input: completeUserTaskInput

      Returns CancelablePromise<void>

      completeUserTask

      User task

    • Create admin user

      Creates a new user and assigns the admin role to it. This endpoint is only usable when users are managed in the Orchestration Cluster and while no user is assigned to the admin role. *

      Parameters

      • input: UserRequest
      • consistencyManagement: createAdminUserConsistency

      Returns CancelablePromise<unknown>

      createAdminUser

      Setup

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Deploy resources

      Deploys one or more resources (e.g. processes, decision models, or forms). This is an atomic call, i.e. either all resources are deployed or none of them are.

      Parameters

      • input: createDeploymentInput

      Returns CancelablePromise<ExtendedDeploymentResult>

      Enriched deployment result with typed arrays (processes, decisions, decisionRequirements, forms, resources).

      createDeployment

      Resource

    • Upload document

      Upload a document to the Camunda 8 cluster.

      Note that this is currently supported for document stores of type: AWS, GCP, in-memory (non-production), local (non-production)

      Parameters

      • input: createDocumentInput

      Returns CancelablePromise<DocumentReference>

      createDocument

      Document

    • Create document link

      Create a link to a document in the Camunda 8 cluster.

      Note that this is currently supported for document stores of type: AWS, GCP

      Parameters

      • input: createDocumentLinkInput

      Returns CancelablePromise<DocumentLink>

      createDocumentLink

      Document

    • Upload multiple documents

      Upload multiple documents to the Camunda 8 cluster.

      The caller must provide a file name for each document, which will be used in case of a multi-status response to identify which documents failed to upload. The file name can be provided in the Content-Disposition header of the file part or in the fileName field of the metadata. You can add a parallel array of metadata objects. These are matched with the files based on index, and must have the same length as the files array. To pass homogenous metadata for all files, spread the metadata over the metadata array. A filename value provided explicitly via the metadata array in the request overrides the Content-Disposition header of the file part.

      In case of a multi-status response, the response body will contain a list of DocumentBatchProblemDetail objects, each of which contains the file name of the document that failed to upload and the reason for the failure. The client can choose to retry the whole batch or individual documents based on the response.

      Note that this is currently supported for document stores of type: AWS, GCP, in-memory (non-production), local (non-production)

      Parameters

      • input: createDocumentsInput

      Returns CancelablePromise<DocumentCreationBatchResponse>

      createDocuments

      Document

    • Update element instance variables

      Updates all the variables of a particular scope (for example, process instance, element instance) with the given variable data. Specify the element instance in the elementInstanceKey parameter.

      Parameters

      • input: createElementInstanceVariablesInput

      Returns CancelablePromise<void>

      createElementInstanceVariables

      Element instance

    • Create a job worker that activates and processes jobs of the given type.

      Type Parameters

      • In extends ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>> = any
      • Out extends ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>> = any
      • Headers extends ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>> = any

      Parameters

      Returns JobWorker

    • Create process instance

      Creates and starts an instance of the specified process. The process definition to use to create the instance can be specified either using its unique key (as returned by Deploy resources), or using the BPMN process id and a version.

      Waits for the completion of the process instance before returning a result when awaitCompletion is enabled.

      Parameters

      • input:
            | {
                awaitCompletion?: boolean;
                fetchVariables?: string[];
                operationReference?: number;
                processDefinitionId: ProcessDefinitionId;
                processDefinitionVersion?: number;
                requestTimeout?: number;
                runtimeInstructions?: { afterElementId: ElementId; type?: string }[];
                startInstructions?: { elementId: ElementId }[];
                tags?: TagSet;
                tenantId?: TenantId;
                variables?: { [key: string]: unknown };
            }
            | {
                awaitCompletion?: boolean;
                fetchVariables?: string[];
                operationReference?: number;
                processDefinitionKey: ProcessDefinitionKey;
                requestTimeout?: number;
                runtimeInstructions?: { afterElementId: ElementId; type?: string }[];
                startInstructions?: { elementId: ElementId }[];
                tags?: TagSet;
                tenantId?: TenantId;
                variables?: { [key: string]: unknown };
            }
        • {
              awaitCompletion?: boolean;
              fetchVariables?: string[];
              operationReference?: number;
              processDefinitionId: ProcessDefinitionId;
              processDefinitionVersion?: number;
              requestTimeout?: number;
              runtimeInstructions?: { afterElementId: ElementId; type?: string }[];
              startInstructions?: { elementId: ElementId }[];
              tags?: TagSet;
              tenantId?: TenantId;
              variables?: { [key: string]: unknown };
          }
          • OptionalawaitCompletion?: boolean

            Wait for the process instance to complete. If the process instance completion does not occur within the requestTimeout, the request will be closed. This can lead to a 504 response status. Disabled by default.

          • OptionalfetchVariables?: string[]

            List of variables by name to be included in the response when awaitCompletion is set to true. If empty, all visible variables in the root scope will be returned.

          • OptionaloperationReference?: number
          • processDefinitionId: ProcessDefinitionId

            The BPMN process id of the process definition to start an instance of.

          • OptionalprocessDefinitionVersion?: number

            The version of the process. By default, the latest version of the process is used.

          • OptionalrequestTimeout?: number

            Timeout (in ms) the request waits for the process to complete. By default or when set to 0, the generic request timeout configured in the cluster is applied.

          • OptionalruntimeInstructions?: { afterElementId: ElementId; type?: string }[]

            Runtime instructions (alpha). List of instructions that affect the runtime behavior of the process instance. Refer to specific instruction types for more details.

            This parameter is an alpha feature and may be subject to change in future releases.

          • OptionalstartInstructions?: { elementId: ElementId }[]

            List of start instructions. By default, the process instance will start at the start event. If provided, the process instance will apply start instructions after it has been created.

          • Optionaltags?: TagSet
          • OptionaltenantId?: TenantId

            The tenant id of the process definition.

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

            JSON object that will instantiate the variables for the root variable scope of the process instance.

        • {
              awaitCompletion?: boolean;
              fetchVariables?: string[];
              operationReference?: number;
              processDefinitionKey: ProcessDefinitionKey;
              requestTimeout?: number;
              runtimeInstructions?: { afterElementId: ElementId; type?: string }[];
              startInstructions?: { elementId: ElementId }[];
              tags?: TagSet;
              tenantId?: TenantId;
              variables?: { [key: string]: unknown };
          }
          • OptionalawaitCompletion?: boolean

            Wait for the process instance to complete. If the process instance completion does not occur within the requestTimeout, the request will be closed. This can lead to a 504 response status. Disabled by default.

          • OptionalfetchVariables?: string[]

            List of variables by name to be included in the response when awaitCompletion is set to true. If empty, all visible variables in the root scope will be returned.

          • OptionaloperationReference?: number
          • processDefinitionKey: ProcessDefinitionKey

            The unique key identifying the process definition, for example, returned for a process in the deploy resources endpoint.

          • OptionalrequestTimeout?: number

            Timeout (in ms) the request waits for the process to complete. By default or when set to 0, the generic request timeout configured in the cluster is applied.

          • OptionalruntimeInstructions?: { afterElementId: ElementId; type?: string }[]

            Runtime instructions (alpha). List of instructions that affect the runtime behavior of the process instance. Refer to specific instruction types for more details.

            This parameter is an alpha feature and may be subject to change in future releases.

          • OptionalstartInstructions?: { elementId: ElementId }[]

            List of start instructions. By default, the process instance will start at the start event. If provided, the process instance will apply start instructions after it has been created.

          • Optionaltags?: TagSet
          • OptionaltenantId?: TenantId

            The tenant id of the process definition.

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

            JSON object that will instantiate the variables for the root variable scope of the process instance.

      Returns CancelablePromise<CreateProcessInstanceResult>

      createProcessInstance

      Process instance

    • Create a tenant-scoped cluster variable *

      Parameters

      • input: createTenantClusterVariableInput

      Returns CancelablePromise<ClusterVariableResult>

      createTenantClusterVariable

      Cluster Variable

    • Create user

      Create a new user. *

      Parameters

      • input: UserRequest
      • consistencyManagement: createUserConsistency

      Returns CancelablePromise<UserCreateResult>

      createUser

      User

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Delete authorization

      Deletes the authorization with the given key. *

      Parameters

      • input: deleteAuthorizationInput

      Returns CancelablePromise<void>

      deleteAuthorization

      Authorization

    • Delete document

      Delete a document from the Camunda 8 cluster.

      Note that this is currently supported for document stores of type: AWS, GCP, in-memory (non-production), local (non-production)

      Parameters

      • input: deleteDocumentInput

      Returns CancelablePromise<void>

      deleteDocument

      Document

    • Delete a global-scoped cluster variable *

      Parameters

      • input: deleteGlobalClusterVariableInput

      Returns CancelablePromise<void>

      deleteGlobalClusterVariable

      Cluster Variable

    • Delete group

      Deletes the group with the given ID. *

      Parameters

      • input: deleteGroupInput

      Returns CancelablePromise<void>

      deleteGroup

      Group

    • Delete a mapping rule

      Deletes the mapping rule with the given ID.

      Parameters

      • input: deleteMappingRuleInput

      Returns CancelablePromise<void>

      deleteMappingRule

      Mapping rule

    • Delete process instance

      Deletes a process instance. Only instances that are completed or terminated can be deleted. *

      Parameters

      • input: { operationReference?: number } & { processInstanceKey: ProcessInstanceKey }
      • consistencyManagement: deleteProcessInstanceConsistency

      Returns CancelablePromise<BatchOperationCreatedResult>

      deleteProcessInstance

      Process instance

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Delete process instances (batch)

      Delete multiple process instances. This will delete the historic data from secondary storage. Only process instances in a final state (COMPLETED or TERMINATED) can be deleted. This is done asynchronously, the progress can be tracked using the batchOperationKey from the response and the batch operation status endpoint (/batch-operations/{batchOperationKey}).

      Parameters

      • input: { filter: ProcessInstanceFilter; operationReference?: number }
      • consistencyManagement: deleteProcessInstancesBatchOperationConsistency

      Returns CancelablePromise<BatchOperationCreatedResult>

      deleteProcessInstancesBatchOperation

      Process instance

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Delete resource

      Deletes a deployed resource. This can be a process definition, decision requirements definition, or form definition deployed using the deploy resources endpoint. Specify the resource you want to delete in the resourceKey parameter.

      Once a resource has been deleted it cannot be recovered. If the resource needs to be available again, a new deployment of the resource is required.

      By default, only the resource itself is deleted from the runtime state. To also delete the historic data associated with a resource, set the deleteHistory flag in the request body to true. The historic data is deleted asynchronously via a batch operation. The details of the created batch operation are included in the response. Note that history deletion is only supported for process resources; for other resource types this flag is ignored and no history will be deleted. *

      Parameters

      • input: { deleteHistory?: boolean; operationReference?: number } & {
            resourceKey: ResourceKey;
        }
        • OptionaldeleteHistory?: boolean

          Indicates if the historic data of a process resource should be deleted via a batch operation asynchronously.

          This flag is only effective for process resources. For other resource types (decisions, forms, generic resources), this flag is ignored and no history will be deleted. In those cases, the batchOperation field in the response will not be populated.

        • OptionaloperationReference?: number

      Returns CancelablePromise<DeleteResourceResponse>

      deleteResource

      Resource

    • Delete role

      Deletes the role with the given ID. *

      Parameters

      • input: deleteRoleInput

      Returns CancelablePromise<void>

      deleteRole

      Role

    • Delete tenant

      Deletes an existing tenant. *

      Parameters

      • input: deleteTenantInput

      Returns CancelablePromise<void>

      deleteTenant

      Tenant

    • Delete a tenant-scoped cluster variable *

      Parameters

      • input: deleteTenantClusterVariableInput

      Returns CancelablePromise<void>

      deleteTenantClusterVariable

      Cluster Variable

    • Delete user

      Deletes a user. *

      Parameters

      • input: deleteUserInput
      • consistencyManagement: deleteUserConsistency

      Returns CancelablePromise<void>

      deleteUser

      User

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Node-only convenience: deploy resources from local filesystem paths.

      Parameters

      • resourceFilenames: string[]

        Absolute or relative file paths to BPMN/DMN/form/resource files.

      • Optionaloptions: { tenantId?: string }

        Optional: tenantId.

      Returns CancelablePromise<ExtendedDeploymentResult>

      ExtendedDeploymentResult

    • Emit the standard support log preamble & redacted configuration to the current support logger. Safe to call multiple times; subsequent calls are ignored (idempotent). Useful when a custom supportLogger was injected and you still want the canonical header & config dump.

      Returns void

    • Fail job

      Mark the job as failed.

      Parameters

      • input: failJobInput

      Returns CancelablePromise<void>

      failJob

      Job

    • Get authorization

      Get authorization by the given key. *

      Parameters

      • input: getAuthorizationInput
      • consistencyManagement: getAuthorizationConsistency

      Returns CancelablePromise<AuthorizationResult>

      getAuthorization

      Authorization

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Public accessor for current backpressure adaptive limiter state (stable)

      Returns
          | {
              consecutive: number;
              permitsCurrent: number;
              permitsMax: number
              | null;
              severity: BackpressureSeverity;
              waiters: number;
          }
          | {
              consecutive: number;
              permitsCurrent: number;
              permitsMax: null;
              severity: string;
              waiters: number;
          }

    • Get batch operation

      Get batch operation by key. *

      Parameters

      • input: getBatchOperationInput
      • consistencyManagement: getBatchOperationConsistency

      Returns CancelablePromise<BatchOperationResponse>

      getBatchOperation

      Batch operation

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Read-only snapshot of current hydrated configuration (do not mutate directly). Use configure(...) to apply changes.

      Returns Readonly<CamundaConfig>

    • Get decision definition

      Returns a decision definition by key. *

      Parameters

      • input: getDecisionDefinitionInput
      • consistencyManagement: getDecisionDefinitionConsistency

      Returns CancelablePromise<DecisionDefinitionResult>

      getDecisionDefinition

      Decision definition

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get decision definition XML

      Returns decision definition as XML. *

      Parameters

      • input: getDecisionDefinitionXmlInput
      • consistencyManagement: getDecisionDefinitionXmlConsistency

      Returns CancelablePromise<string>

      getDecisionDefinitionXML

      Decision definition

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get decision instance

      Returns a decision instance. *

      Parameters

      • input: getDecisionInstanceInput
      • consistencyManagement: getDecisionInstanceConsistency

      Returns CancelablePromise<DecisionInstanceGetQueryResult>

      getDecisionInstance

      Decision instance

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get decision requirements

      Returns Decision Requirements as JSON. *

      Parameters

      • input: getDecisionRequirementsInput
      • consistencyManagement: getDecisionRequirementsConsistency

      Returns CancelablePromise<DecisionRequirementsResult>

      getDecisionRequirements

      Decision requirements

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get decision requirements XML

      Returns decision requirements as XML. *

      Parameters

      • input: getDecisionRequirementsXmlInput
      • consistencyManagement: getDecisionRequirementsXmlConsistency

      Returns CancelablePromise<string>

      getDecisionRequirementsXML

      Decision requirements

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Download document

      Download a document from the Camunda 8 cluster.

      Note that this is currently supported for document stores of type: AWS, GCP, in-memory (non-production), local (non-production)

      Parameters

      • input: getDocumentInput

      Returns CancelablePromise<Blob>

      getDocument

      Document

    • Get element instance

      Returns element instance as JSON. *

      Parameters

      • input: getElementInstanceInput
      • consistencyManagement: getElementInstanceConsistency

      Returns CancelablePromise<ElementInstanceResult>

      getElementInstance

      Element instance

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Internal accessor (read-only) for eventual consistency error mode.

      Returns "result" | "throw"

    • Get a global-scoped cluster variable *

      Parameters

      • input: getGlobalClusterVariableInput
      • consistencyManagement: getGlobalClusterVariableConsistency

      Returns CancelablePromise<ClusterVariableResult>

      getGlobalClusterVariable

      Cluster Variable

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get group

      Get a group by its ID. *

      Parameters

      • input: getGroupInput
      • consistencyManagement: getGroupConsistency

      Returns CancelablePromise<GroupResult>

      getGroup

      Group

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get incident

      Returns incident as JSON.

      Parameters

      • input: getIncidentInput
      • consistencyManagement: getIncidentConsistency

      Returns CancelablePromise<IncidentResult>

      getIncident

      Incident

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get a mapping rule

      Gets the mapping rule with the given ID.

      Parameters

      • input: getMappingRuleInput
      • consistencyManagement: getMappingRuleConsistency

      Returns CancelablePromise<MappingRuleResult>

      getMappingRule

      Mapping rule

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get process definition

      Returns process definition as JSON. *

      Parameters

      • input: getProcessDefinitionInput
      • consistencyManagement: getProcessDefinitionConsistency

      Returns CancelablePromise<ProcessDefinitionResult>

      getProcessDefinition

      Process definition

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get process instance statistics

      Get statistics about process instances, grouped by process definition and tenant.

      Parameters

      • input: {
            page?: OffsetPagination;
            sort?: {
                field:
                    | "processDefinitionId"
                    | "activeInstancesWithIncidentCount"
                    | "activeInstancesWithoutIncidentCount";
                order?: SortOrderEnum;
            }[];
        }
        • Optionalpage?: OffsetPagination
        • Optionalsort?: {
              field:
                  | "processDefinitionId"
                  | "activeInstancesWithIncidentCount"
                  | "activeInstancesWithoutIncidentCount";
              order?: SortOrderEnum;
          }[]

          Sort field criteria.

      • consistencyManagement: getProcessDefinitionInstanceStatisticsConsistency

      Returns CancelablePromise<ProcessDefinitionInstanceStatisticsQueryResult>

      getProcessDefinitionInstanceStatistics

      Process definition

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get process instance statistics by version

      Get statistics about process instances, grouped by version for a given process definition.

      Parameters

      • input: getProcessDefinitionInstanceVersionStatisticsInput
      • consistencyManagement: getProcessDefinitionInstanceVersionStatisticsConsistency

      Returns CancelablePromise<ProcessDefinitionInstanceVersionStatisticsQueryResult>

      getProcessDefinitionInstanceVersionStatistics

      Process definition

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get process definition statistics

      Get statistics about elements in currently running process instances by process definition key and search filter. *

      Parameters

      • input: getProcessDefinitionStatisticsInput
      • consistencyManagement: getProcessDefinitionStatisticsConsistency

      Returns CancelablePromise<
          {
              items?: {
                  active?: number;
                  canceled?: number;
                  completed?: number;
                  elementId?: ElementId;
                  incidents?: number;
              }[];
          },
      >

      getProcessDefinitionStatistics

      Process definition

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get process definition XML

      Returns process definition as XML. *

      Parameters

      • input: getProcessDefinitionXmlInput
      • consistencyManagement: getProcessDefinitionXmlConsistency

      Returns CancelablePromise<string>

      getProcessDefinitionXML

      Process definition

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get process instance

      Get the process instance by the process instance key. *

      Parameters

      • input: getProcessInstanceInput
      • consistencyManagement: getProcessInstanceConsistency

      Returns CancelablePromise<
          {
              endDate?: string;
              hasIncident: boolean;
              parentElementInstanceKey?: ElementInstanceKey;
              parentProcessInstanceKey?: ProcessInstanceKey;
              processDefinitionId: ProcessDefinitionId;
              processDefinitionKey: ProcessDefinitionKey;
              processDefinitionName: string;
              processDefinitionVersion: number;
              processDefinitionVersionTag?: string;
              processInstanceKey: ProcessInstanceKey;
              startDate: string;
              state: ProcessInstanceStateEnum;
              tags?: TagSet;
              tenantId: TenantId;
          },
      >

      getProcessInstance

      Process instance

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get call hierarchy

      Returns the call hierarchy for a given process instance, showing its ancestry up to the root instance. *

      Parameters

      • input: getProcessInstanceCallHierarchyInput
      • consistencyManagement: getProcessInstanceCallHierarchyConsistency

      Returns CancelablePromise<ProcessInstanceCallHierarchyEntry[]>

      getProcessInstanceCallHierarchy

      Process instance

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get sequence flows

      Get sequence flows taken by the process instance. *

      Parameters

      • input: getProcessInstanceSequenceFlowsInput
      • consistencyManagement: getProcessInstanceSequenceFlowsConsistency

      Returns CancelablePromise<
          {
              items?: {
                  elementId?: ElementId;
                  processDefinitionId?: ProcessDefinitionId;
                  processDefinitionKey?: ProcessDefinitionKey;
                  processInstanceKey?: ProcessInstanceKey;
                  sequenceFlowId?: string;
                  tenantId?: TenantId;
              }[];
          },
      >

      getProcessInstanceSequenceFlows

      Process instance

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get element instance statistics

      Get statistics about elements by the process instance key. *

      Parameters

      • input: getProcessInstanceStatisticsInput
      • consistencyManagement: getProcessInstanceStatisticsConsistency

      Returns CancelablePromise<
          {
              items?: {
                  active?: number;
                  canceled?: number;
                  completed?: number;
                  elementId?: ElementId;
                  incidents?: number;
              }[];
          },
      >

      getProcessInstanceStatistics

      Process instance

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get resource

      Returns a deployed resource. :::info Currently, this endpoint only supports RPA resources. :::

      Parameters

      • input: getResourceInput

      Returns CancelablePromise<ResourceResult>

      getResource

      Resource

    • Get resource content

      Returns the content of a deployed resource. :::info Currently, this endpoint only supports RPA resources. :::

      Parameters

      • input: getResourceContentInput

      Returns CancelablePromise<Blob>

      getResourceContent

      Resource

    • Get role

      Get a role by its ID. *

      Parameters

      • input: getRoleInput
      • consistencyManagement: getRoleConsistency

      Returns CancelablePromise<RoleResult>

      getRole

      Role

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get process start form

      Get the start form of a process. Note that this endpoint will only return linked forms. This endpoint does not support embedded forms.

      Parameters

      • input: getStartProcessFormInput
      • consistencyManagement: getStartProcessFormConsistency

      Returns CancelablePromise<
          | void
          | {
              formId?: FormId;
              formKey?: FormKey;
              schema?: { [key: string]: unknown };
              tenantId?: TenantId;
              version?: number;
          },
      >

      getStartProcessForm

      Process definition

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get cluster status

      Checks the health status of the cluster by verifying if there's at least one partition with a healthy leader. *

      Returns CancelablePromise<void>

      getStatus

      Cluster

    • Get tenant

      Retrieves a single tenant by tenant ID. *

      Parameters

      • input: getTenantInput
      • consistencyManagement: getTenantConsistency

      Returns CancelablePromise<TenantResult>

      getTenant

      Tenant

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get a tenant-scoped cluster variable *

      Parameters

      • input: getTenantClusterVariableInput
      • consistencyManagement: getTenantClusterVariableConsistency

      Returns CancelablePromise<ClusterVariableResult>

      getTenantClusterVariable

      Cluster Variable

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get usage metrics

      Retrieve the usage metrics based on given criteria. *

      Parameters

      • input: getUsageMetricsInput
      • consistencyManagement: getUsageMetricsConsistency

      Returns CancelablePromise<UsageMetricsResponse>

      getUsageMetrics

      System

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get user

      Get a user by its username. *

      Parameters

      • input: getUserInput
      • consistencyManagement: getUserConsistency

      Returns CancelablePromise<UserResult>

      getUser

      User

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get user task

      Get the user task by the user task key. *

      Parameters

      • input: getUserTaskInput
      • consistencyManagement: getUserTaskConsistency

      Returns CancelablePromise<
          {
              assignee?: string;
              candidateGroups?: string[];
              candidateUsers?: string[];
              completionDate?: string;
              creationDate?: string;
              customHeaders?: { [key: string]: string };
              dueDate?: string;
              elementId?: ElementId;
              elementInstanceKey?: ElementInstanceKey;
              externalFormReference?: string;
              followUpDate?: string;
              formKey?: FormKey;
              name?: string;
              priority?: number;
              processDefinitionId?: ProcessDefinitionId;
              processDefinitionKey?: ProcessDefinitionKey;
              processDefinitionVersion?: number;
              processInstanceKey?: ProcessInstanceKey;
              processName?: string;
              state?: UserTaskStateEnum;
              tags?: TagSet;
              tenantId?: TenantId;
              userTaskKey?: UserTaskKey;
          },
      >

      getUserTask

      User task

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get user task form

      Get the form of a user task. Note that this endpoint will only return linked forms. This endpoint does not support embedded forms.

      Parameters

      • input: getUserTaskFormInput
      • consistencyManagement: getUserTaskFormConsistency

      Returns CancelablePromise<
          | void
          | {
              formId?: FormId;
              formKey?: FormKey;
              schema?: { [key: string]: unknown };
              tenantId?: TenantId;
              version?: number;
          },
      >

      getUserTaskForm

      User task

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Get variable

      Get the variable by the variable key. *

      Parameters

      • input: getVariableInput
      • consistencyManagement: getVariableConsistency

      Returns CancelablePromise<VariableResult>

      getVariable

      Variable

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Return a read-only snapshot of currently registered job workers.

      Returns any[]

    • Migrate process instance

      Migrates a process instance to a new process definition. This request can contain multiple mapping instructions to define mapping between the active process instance's elements and target process definition elements.

      Use this to upgrade a process instance to a new version of a process or to a different process definition, e.g. to keep your running instances up-to-date with the latest process improvements.

      Parameters

      • input: migrateProcessInstanceInput

      Returns CancelablePromise<void>

      migrateProcessInstance

      Process instance

    • Migrate process instances (batch)

      Migrate multiple process instances. Since only process instances with ACTIVE state can be migrated, any given filters for state are ignored and overridden during this batch operation. This is done asynchronously, the progress can be tracked using the batchOperationKey from the response and the batch operation status endpoint (/batch-operations/{batchOperationKey}).

      Parameters

      • input: {
            filter: ProcessInstanceFilter;
            migrationPlan: {
                mappingInstructions: {
                    sourceElementId: ElementId;
                    targetElementId: ElementId;
                }[];
                targetProcessDefinitionKey: ProcessDefinitionKey;
            };
            operationReference?: number;
        }
        • filter: ProcessInstanceFilter

          The process instance filter.

        • migrationPlan: {
              mappingInstructions: {
                  sourceElementId: ElementId;
                  targetElementId: ElementId;
              }[];
              targetProcessDefinitionKey: ProcessDefinitionKey;
          }

          The migration instructions describe how to migrate a process instance from one process definition to another.

          • mappingInstructions: { sourceElementId: ElementId; targetElementId: ElementId }[]

            The mapping instructions.

          • targetProcessDefinitionKey: ProcessDefinitionKey

            The target process definition key.

        • OptionaloperationReference?: number
      • consistencyManagement: migrateProcessInstancesBatchOperationConsistency

      Returns CancelablePromise<BatchOperationCreatedResult>

      migrateProcessInstancesBatchOperation

      Process instance

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Modify process instance

      Modifies a running process instance. This request can contain multiple instructions to activate an element of the process or to terminate an active instance of an element.

      Use this to repair a process instance that is stuck on an element or took an unintended path. For example, because an external system is not available or doesn't respond as expected.

      Parameters

      • input: modifyProcessInstanceInput

      Returns CancelablePromise<void>

      modifyProcessInstance

      Process instance

    • Modify process instances (batch)

      Modify multiple process instances. Since only process instances with ACTIVE state can be modified, any given filters for state are ignored and overridden during this batch operation. In contrast to single modification operation, it is not possible to add variable instructions or modify by element key. It is only possible to use the element id of the source and target. This is done asynchronously, the progress can be tracked using the batchOperationKey from the response and the batch operation status endpoint (/batch-operations/{batchOperationKey}).

      Parameters

      • input: {
            filter: ProcessInstanceFilter;
            moveInstructions: {
                sourceElementId: ElementId;
                targetElementId: ElementId;
            }[];
            operationReference?: number;
        }
        • filter: ProcessInstanceFilter

          The process instance filter.

        • moveInstructions: { sourceElementId: ElementId; targetElementId: ElementId }[]

          Instructions for moving tokens between elements.

        • OptionaloperationReference?: number
      • consistencyManagement: modifyProcessInstancesBatchOperationConsistency

      Returns CancelablePromise<BatchOperationCreatedResult>

      modifyProcessInstancesBatchOperation

      Process instance

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Parameters

      • h: (
            headers: Record<string, string>,
        ) => Record<string, string> | Promise<Record<string, string>>

      Returns void

    • Pin internal clock (alpha)

      Set a precise, static time for the Zeebe engine's internal clock. When the clock is pinned, it remains at the specified time and does not advance. To change the time, the clock must be pinned again with a new timestamp.

      This endpoint is an alpha feature and may be subject to change in future releases.

      Parameters

      Returns CancelablePromise<void>

      pinClock

      Clock

    • Publish message

      Publishes a single message. Messages are published to specific partitions computed from their correlation keys. Messages can be buffered. The endpoint does not wait for a correlation result. Use the message correlation endpoint for such use cases.

      Parameters

      Returns CancelablePromise<{ messageKey?: MessageKey; tenantId?: TenantId }>

      publishMessage

      Message

    • Reset internal clock (alpha)

      Resets the Zeebe engine's internal clock to the current system time, enabling it to tick in real-time. This operation is useful for returning the clock to normal behavior after it has been pinned to a specific time.

      This endpoint is an alpha feature and may be subject to change in future releases.

      Returns CancelablePromise<void>

      resetClock

      Clock

    • Resolve incident

      Marks the incident as resolved; most likely a call to Update job will be necessary to reset the job's retries, followed by this call.

      Parameters

      • input: resolveIncidentInput

      Returns CancelablePromise<void>

      resolveIncident

      Incident

    • Resolve related incidents (batch)

      Resolves multiple instances of process instances. Since only process instances with ACTIVE state can have unresolved incidents, any given filters for state are ignored and overridden during this batch operation. This is done asynchronously, the progress can be tracked using the batchOperationKey from the response and the batch operation status endpoint (/batch-operations/{batchOperationKey}).

      Parameters

      • input: { filter: ProcessInstanceFilter; operationReference?: number }
      • consistencyManagement: resolveIncidentsBatchOperationConsistency

      Returns CancelablePromise<BatchOperationCreatedResult>

      resolveIncidentsBatchOperation

      Process instance

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Resolve related incidents

      Creates a batch operation to resolve multiple incidents of a process instance. *

      Parameters

      • input: resolveProcessInstanceIncidentsInput
      • consistencyManagement: resolveProcessInstanceIncidentsConsistency

      Returns CancelablePromise<BatchOperationCreatedResult>

      resolveProcessInstanceIncidents

      Process instance

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Resume Batch operation

      Resumes a suspended batch operation. This is done asynchronously, the progress can be tracked using the batch operation status endpoint (/batch-operations/{batchOperationKey}).

      Parameters

      • input: { batchOperationKey: BatchOperationKey }
      • consistencyManagement: resumeBatchOperationConsistency

      Returns CancelablePromise<void>

      resumeBatchOperation

      Batch operation

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search group clients

      Search clients assigned to a group. *

      Parameters

      • input: searchClientsForGroupInput
      • consistencyManagement: searchClientsForGroupConsistency

      Returns CancelablePromise<SearchQueryResponse & { items?: TenantClientResult[] }>

      searchClientsForGroup

      Group

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search role clients

      Search clients with assigned role. *

      Parameters

      • input: searchClientsForRoleInput
      • consistencyManagement: searchClientsForRoleConsistency

      Returns CancelablePromise<TenantClientSearchResult>

      searchClientsForRole

      Role

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search clients for tenant

      Retrieves a filtered and sorted list of clients for a specified tenant. *

      Parameters

      • input: searchClientsForTenantInput
      • consistencyManagement: searchClientsForTenantConsistency

      Returns CancelablePromise<TenantClientSearchResult>

      searchClientsForTenant

      Tenant

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search for cluster variables based on given criteria. By default, long variable values in the response are truncated. *

      Parameters

      • input: searchClusterVariablesInput
      • consistencyManagement: searchClusterVariablesConsistency

      Returns CancelablePromise<
          SearchQueryResponse & {
              items?: (
                  ClusterVariableResultBase & { isTruncated?: boolean; value?: string }
              )[];
          },
      >

      searchClusterVariables

      Cluster Variable

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search for incidents of a specific element instance

      Search for incidents caused by the specified element instance, including incidents of any child instances created from this element instance.

      Although the elementInstanceKey is provided as a path parameter to indicate the root element instance, you may also include an elementInstanceKey within the filter object to narrow results to specific child element instances. This is useful, for example, if you want to isolate incidents associated with nested or subordinate elements within the given element instance while excluding incidents directly tied to the root element itself.

      Parameters

      • input: searchElementInstanceIncidentsInput
      • consistencyManagement: searchElementInstanceIncidentsConsistency

      Returns CancelablePromise<IncidentSearchQueryResult>

      searchElementInstanceIncidents

      Element instance

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search groups for tenant

      Retrieves a filtered and sorted list of groups for a specified tenant. *

      Parameters

      • input: searchGroupIdsForTenantInput
      • consistencyManagement: searchGroupIdsForTenantConsistency

      Returns CancelablePromise<TenantGroupSearchResult>

      searchGroupIdsForTenant

      Tenant

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search role groups

      Search groups with assigned role. *

      Parameters

      • input: searchGroupsForRoleInput
      • consistencyManagement: searchGroupsForRoleConsistency

      Returns CancelablePromise<RoleGroupSearchResult>

      searchGroupsForRole

      Role

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search jobs

      Search for jobs based on given criteria. *

      Parameters

      Returns CancelablePromise<
          SearchQueryResponse & {
              items?: {
                  creationTime?: string;
                  customHeaders: { [key: string]: string };
                  deadline?: string | null;
                  deniedReason?: string | null;
                  elementId: ElementId;
                  elementInstanceKey: ElementInstanceKey;
                  endTime?: string;
                  errorCode?: string | null;
                  errorMessage?: string | null;
                  hasFailedWithRetriesLeft: boolean;
                  isDenied?: boolean | null;
                  jobKey: JobKey;
                  kind: JobKindEnum;
                  lastUpdateTime?: string;
                  listenerEventType: JobListenerEventTypeEnum;
                  processDefinitionId: ProcessDefinitionId;
                  processDefinitionKey: ProcessDefinitionKey;
                  processInstanceKey: ProcessInstanceKey;
                  retries: number;
                  state: JobStateEnum;
                  tenantId: TenantId;
                  type: string;
                  worker: string;
              }[];
          },
      >

      searchJobs

      Job

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search group mapping rules

      Search mapping rules assigned to a group. *

      Parameters

      • input: searchMappingRulesForGroupInput
      • consistencyManagement: searchMappingRulesForGroupConsistency

      Returns CancelablePromise<SearchQueryResponse>

      searchMappingRulesForGroup

      Group

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search role mapping rules

      Search mapping rules with assigned role. *

      Parameters

      • input: searchMappingRulesForRoleInput
      • consistencyManagement: searchMappingRulesForRoleConsistency

      Returns CancelablePromise<SearchQueryResponse>

      searchMappingRulesForRole

      Role

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search mapping rules for tenant

      Retrieves a filtered and sorted list of MappingRules for a specified tenant. *

      Parameters

      • input: searchMappingRulesForTenantInput
      • consistencyManagement: searchMappingRulesForTenantConsistency

      Returns CancelablePromise<SearchQueryResponse>

      searchMappingRulesForTenant

      Tenant

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search process definitions

      Search for process definitions based on given criteria. *

      Parameters

      • input: SearchQueryRequest & {
            filter?: ProcessDefinitionFilter;
            sort?: {
                field:
                    | "processDefinitionId"
                    | "processDefinitionKey"
                    | "tenantId"
                    | "name"
                    | "version"
                    | "resourceName"
                    | "versionTag";
                order?: SortOrderEnum;
            }[];
        }
        • Optionalfilter?: ProcessDefinitionFilter

          The process definition search filters.

        • Optionalsort?: {
              field:
                  | "processDefinitionId"
                  | "processDefinitionKey"
                  | "tenantId"
                  | "name"
                  | "version"
                  | "resourceName"
                  | "versionTag";
              order?: SortOrderEnum;
          }[]

          Sort field criteria.

      • consistencyManagement: searchProcessDefinitionsConsistency

      Returns CancelablePromise<ProcessDefinitionSearchQueryResult>

      searchProcessDefinitions

      Process definition

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search related incidents

      Search for incidents caused by the process instance or any of its called process or decision instances.

      Although the processInstanceKey is provided as a path parameter to indicate the root process instance, you may also include a processInstanceKey within the filter object to narrow results to specific child process instances. This is useful, for example, if you want to isolate incidents associated with subprocesses or called processes under the root instance while excluding incidents directly tied to the root.

      Parameters

      • input: searchProcessInstanceIncidentsInput
      • consistencyManagement: searchProcessInstanceIncidentsConsistency

      Returns CancelablePromise<IncidentSearchQueryResult>

      searchProcessInstanceIncidents

      Process instance

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search process instances

      Search for process instances based on given criteria. *

      Parameters

      Returns CancelablePromise<
          SearchQueryResponse & {
              items: {
                  endDate?: string;
                  hasIncident: boolean;
                  parentElementInstanceKey?: ElementInstanceKey;
                  parentProcessInstanceKey?: ProcessInstanceKey;
                  processDefinitionId: ProcessDefinitionId;
                  processDefinitionKey: ProcessDefinitionKey;
                  processDefinitionName: string;
                  processDefinitionVersion: number;
                  processDefinitionVersionTag?: string;
                  processInstanceKey: ProcessInstanceKey;
                  startDate: string;
                  state: ProcessInstanceStateEnum;
                  tags?: TagSet;
                  tenantId: TenantId;
              }[];
          },
      >

      searchProcessInstances

      Process instance

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search group roles

      Search roles assigned to a group. *

      Parameters

      • input: searchRolesForGroupInput
      • consistencyManagement: searchRolesForGroupConsistency

      Returns CancelablePromise<SearchQueryResponse>

      searchRolesForGroup

      Group

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search roles for tenant

      Retrieves a filtered and sorted list of roles for a specified tenant. *

      Parameters

      • input: searchRolesForTenantInput
      • consistencyManagement: searchRolesForTenantConsistency

      Returns CancelablePromise<SearchQueryResponse>

      searchRolesForTenant

      Tenant

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search tenants

      Retrieves a filtered and sorted list of tenants. *

      Parameters

      • input: SearchQueryRequest & {
            filter?: TenantFilter;
            sort?: { field: "tenantId" | "name" | "key"; order?: SortOrderEnum }[];
        }
        • Optionalfilter?: TenantFilter

          The tenant search filters.

        • Optionalsort?: { field: "tenantId" | "name" | "key"; order?: SortOrderEnum }[]

          Sort field criteria.

      • consistencyManagement: searchTenantsConsistency

      Returns CancelablePromise<TenantSearchQueryResult>

      searchTenants

      Tenant

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search users

      Search for users based on given criteria. *

      Parameters

      • input: SearchQueryRequest & {
            filter?: UserFilter;
            sort?: { field: "name" | "username" | "email"; order?: SortOrderEnum }[];
        }
        • Optionalfilter?: UserFilter

          The user search filters.

        • Optionalsort?: { field: "name" | "username" | "email"; order?: SortOrderEnum }[]

          Sort field criteria.

      • consistencyManagement: searchUsersConsistency

      Returns CancelablePromise<UserSearchResult>

      searchUsers

      User

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search group users

      Search users assigned to a group. *

      Parameters

      • input: searchUsersForGroupInput
      • consistencyManagement: searchUsersForGroupConsistency

      Returns CancelablePromise<SearchQueryResponse & { items?: TenantUserResult[] }>

      searchUsersForGroup

      Group

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search role users

      Search users with assigned role. *

      Parameters

      • input: searchUsersForRoleInput
      • consistencyManagement: searchUsersForRoleConsistency

      Returns CancelablePromise<TenantUserSearchResult>

      searchUsersForRole

      Role

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search users for tenant

      Retrieves a filtered and sorted list of users for a specified tenant. *

      Parameters

      • input: searchUsersForTenantInput
      • consistencyManagement: searchUsersForTenantConsistency

      Returns CancelablePromise<TenantUserSearchResult>

      searchUsersForTenant

      Tenant

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search user task variables

      Search for user task variables based on given criteria. By default, long variable values in the response are truncated. *

      Parameters

      • input: searchUserTaskVariablesInput
      • consistencyManagement: searchUserTaskVariablesConsistency

      Returns CancelablePromise<VariableSearchQueryResult>

      searchUserTaskVariables

      User task

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Search variables

      Search for process and local variables based on given criteria. By default, long variable values in the response are truncated. *

      Parameters

      • input: searchVariablesInput
      • consistencyManagement: searchVariablesConsistency

      Returns CancelablePromise<VariableSearchQueryResult>

      searchVariables

      Variable

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Suspend Batch operation

      Suspends a running batch operation. This is done asynchronously, the progress can be tracked using the batch operation status endpoint (/batch-operations/{batchOperationKey}).

      Parameters

      • input: { batchOperationKey: BatchOperationKey }
      • consistencyManagement: suspendBatchOperationConsistency

      Returns CancelablePromise<void>

      suspendBatchOperation

      Batch operation

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Throw error for job

      Reports a business error (i.e. non-technical) that occurs while processing a job.

      Parameters

      • input: throwJobErrorInput

      Returns CancelablePromise<void>

      throwJobError

      Job

    • Unassign a client from a group

      Unassigns a client from a group. The client is removed as a group member, with associated authorizations, roles, and tenant assignments no longer applied.

      Parameters

      • input: unassignClientFromGroupInput

      Returns CancelablePromise<void>

      unassignClientFromGroup

      Group

    • Unassign a client from a tenant

      Unassigns the client from the specified tenant. The client can no longer access tenant data.

      Parameters

      • input: unassignClientFromTenantInput

      Returns CancelablePromise<void>

      unassignClientFromTenant

      Tenant

    • Unassign a group from a tenant

      Unassigns a group from a specified tenant. Members of the group (users, clients) will no longer have access to the tenant's data - except they are assigned directly to the tenant.

      Parameters

      • input: unassignGroupFromTenantInput

      Returns CancelablePromise<void>

      unassignGroupFromTenant

      Tenant

    • Unassign a mapping rule from a group

      Unassigns a mapping rule from a group. *

      Parameters

      • input: unassignMappingRuleFromGroupInput

      Returns CancelablePromise<void>

      unassignMappingRuleFromGroup

      Group

    • Unassign a mapping rule from a tenant

      Unassigns a single mapping rule from a specified tenant without deleting the rule. *

      Parameters

      • input: unassignMappingRuleFromTenantInput

      Returns CancelablePromise<void>

      unassignMappingRuleFromTenant

      Tenant

    • Unassign a role from a client

      Unassigns the specified role from the client. The client will no longer inherit the authorizations associated with this role. *

      Parameters

      • input: unassignRoleFromClientInput

      Returns CancelablePromise<void>

      unassignRoleFromClient

      Role

    • Unassign a role from a group

      Unassigns the specified role from the group. All group members (user or client) no longer inherit the authorizations associated with this role. *

      Parameters

      • input: unassignRoleFromGroupInput

      Returns CancelablePromise<void>

      unassignRoleFromGroup

      Role

    • Unassign a role from a mapping rule

      Unassigns a role from a mapping rule. *

      Parameters

      • input: unassignRoleFromMappingRuleInput

      Returns CancelablePromise<void>

      unassignRoleFromMappingRule

      Role

    • Unassign a role from a tenant

      Unassigns a role from a specified tenant. Users, Clients or Groups, that have the role assigned, will no longer have access to the tenant's data - unless they are assigned directly to the tenant.

      Parameters

      • input: unassignRoleFromTenantInput

      Returns CancelablePromise<void>

      unassignRoleFromTenant

      Tenant

    • Unassign a role from a user

      Unassigns a role from a user. The user will no longer inherit the authorizations associated with this role. *

      Parameters

      • input: unassignRoleFromUserInput

      Returns CancelablePromise<void>

      unassignRoleFromUser

      Role

    • Unassign a user from a group

      Unassigns a user from a group. The user is removed as a group member, with associated authorizations, roles, and tenant assignments no longer applied.

      Parameters

      • input: unassignUserFromGroupInput

      Returns CancelablePromise<void>

      unassignUserFromGroup

      Group

    • Unassign a user from a tenant

      Unassigns the user from the specified tenant. The user can no longer access tenant data.

      Parameters

      • input: unassignUserFromTenantInput

      Returns CancelablePromise<void>

      unassignUserFromTenant

      Tenant

    • Unassign user task

      Removes the assignee of a task with the given key. *

      Parameters

      • input: unassignUserTaskInput

      Returns CancelablePromise<void>

      unassignUserTask

      User task

    • Update authorization

      Update the authorization with the given key. *

      Parameters

      • input: updateAuthorizationInput

      Returns CancelablePromise<void>

      updateAuthorization

      Authorization

    • Update job

      Update a job with the given key. *

      Parameters

      • input: updateJobInput

      Returns CancelablePromise<void>

      updateJob

      Job

    • Update user

      Updates a user. *

      Parameters

      • input: updateUserInput
      • consistencyManagement: updateUserConsistency

      Returns CancelablePromise<UserResult>

      updateUser

      User

      eventual - this endpoint is backed by data that is eventually consistent with the system state.

    • Update user task

      Update a user task with the given key. *

      Parameters

      • input: updateUserTaskInput

      Returns CancelablePromise<void>

      updateUserTask

      User task

    • Type Parameters

      • T

      Parameters

      • id: string
      • fn: () => T | Promise<T>

      Returns Promise<T>