@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 createGroup createJobWorker createMappingRule createProcessInstance createRole createTenant createUser deleteAuthorization deleteDocument deleteGroup deleteMappingRule deleteResource deleteRole deleteTenant deleteUser deployResourcesFromFiles emitSupportLogPreamble evaluateDecision failJob forceAuthRefresh getAuthentication getAuthHeaders getAuthorization getBackpressureState getBatchOperation getConfig getDecisionDefinition getDecisionDefinitionXml getDecisionInstance getDecisionRequirements getDecisionRequirementsXml getDocument getElementInstance getErrorMode getGroup getIncident getLicense getMappingRule getProcessDefinition getProcessDefinitionStatistics getProcessDefinitionXml getProcessInstance getProcessInstanceCallHierarchy getProcessInstanceSequenceFlows getProcessInstanceStatistics getResource getResourceContent getRole getStartProcessForm getStatus getTenant getTopology getUsageMetrics getUser getUserTask getUserTaskForm getVariable getWorkers logger migrateProcessInstance migrateProcessInstancesBatchOperation modifyProcessInstance modifyProcessInstancesBatchOperation onAuthHeaders pinClock publishMessage resetClock resolveIncident resolveIncidentsBatchOperation resumeBatchOperation searchAuthorizations searchBatchOperationItems searchBatchOperations searchClientsForGroup searchClientsForRole searchClientsForTenant searchCorrelatedMessageSubscriptions searchDecisionDefinitions searchDecisionInstances searchDecisionRequirements searchElementInstances searchGroupIdsForTenant searchGroups searchGroupsForRole searchIncidents searchJobs searchMappingRule searchMappingRulesForGroup searchMappingRulesForRole searchMappingRulesForTenant searchMessageSubscriptions searchProcessDefinitions searchProcessInstanceIncidents searchProcessInstances searchRoles searchRolesForGroup searchRolesForTenant searchTenants searchUsers searchUsersForGroup searchUsersForRole searchUsersForTenant 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 cancelation includes more than just the removal of the process instance resource, the cancelation resource must be posted. *

      Parameters

      Returns CancelablePromise<void>

      cancelProcessInstance

      Process instance

    • Create a batch operation to cancel process instances 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

      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<UserCreateResult>

      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 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 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 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.

      Parameters

      • input: { operationReference?: number } & { resourceKey: ResourceKey }

      Returns CancelablePromise<unknown>

      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 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 "throw" | "result"

    • 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 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<ProcessDefinitionElementStatisticsQueryResult>

      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<ProcessInstanceResult>

      getProcessInstance

      Process instance

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

    • Get call hierarchy for process instance 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 process instance sequence flows Get sequence flows taken by the process instance.

      Parameters

      • input: getProcessInstanceSequenceFlowsInput
      • consistencyManagement: getProcessInstanceSequenceFlowsConsistency

      Returns CancelablePromise<ProcessInstanceSequenceFlowsQueryResult>

      getProcessInstanceSequenceFlows

      Process instance

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

    • Get process instance statistics Get statistics about elements by the process instance key.

      Parameters

      • input: getProcessInstanceStatisticsInput
      • consistencyManagement: getProcessInstanceStatisticsConsistency

      Returns CancelablePromise<ProcessInstanceElementStatisticsQueryResult>

      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<string>

      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 | FormResult>

      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 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<UserTaskResult>

      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 | FormResult>

      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

    • Create a batch operation to migrate process instances Migrate multiple instances of 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

      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

    • Create a batch operation to modify process instances 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

      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

    • 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

    • Create a batch operation to resolve incidents of process instances 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

      Returns CancelablePromise<BatchOperationCreatedResult>

      resolveIncidentsBatchOperation

      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<GroupClientSearchResult>

      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<RoleClientSearchResult>

      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 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<JobSearchQueryResult>

      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<MappingRuleSearchQueryResult>

      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<MappingRuleSearchQueryResult>

      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<MappingRuleSearchQueryResult>

      searchMappingRulesForTenant

      Tenant

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

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

      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 group roles Search roles assigned to a group.

      Parameters

      • input: searchRolesForGroupInput
      • consistencyManagement: searchRolesForGroupConsistency

      Returns CancelablePromise<RoleSearchQueryResult>

      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<RoleSearchQueryResult>

      searchRolesForTenant

      Tenant

      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<GroupUserSearchResult>

      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<RoleUserSearchResult>

      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.

      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.

    • 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<UserUpdateResult>

      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>