Skip to content

bpm/deployer

Documentation

Overview

Classes

Deployer

deployProcess()

Deploys a new process definition from a specified location (e.g., a file path).

ts
static deployProcess(location: string): string;
ParameterTypeDescription
locationstringThe path or location of the BPMN XML file to be deployed.

Returns

  • Type: string
  • Description: The deployment ID assigned to the new process definition.

undeployProcess()

Undeploys a process definition previously deployed from the specified location.

ts
static undeployProcess(location: string): void;
ParameterTypeDescription
locationstringThe path or location associated with the deployed BPMN file.

Returns

  • Type: void
  • Description:

deleteProcess()

Deletes a deployed process definition by its ID.

> Note: This permanently removes the process definition and all its associated history and runtime data.

ts
static deleteProcess(id: string, reason: string): void;
ParameterTypeDescription
idstringThe ID of the process definition to delete.
reasonstringThe reason for deleting the process definition (e.g., "Obsolete").

Returns

  • Type: void
  • Description: