Interface ICamundaRepository
Methods
cancelWorkflowInstance
- cancelWorkflowInstance(id: string): Promise<void>
-
Parameters
Returns Promise<void>
createWorkflowInstance
-
Type parameters
Parameters
-
idOrKey: string
-
variables: T
deployWorkflow
-
Parameters
-
deployName: string
-
absPath: string
getWorkflowCount
- getWorkflowCount(options?: { params: Record<string, unknown> }): Promise<IHttpResponse<{ count: number }>>
-
Parameters
-
Optional options: { params: Record<string, unknown> }
-
params: Record<string, unknown>
Returns Promise<IHttpResponse<{ count: number }>>
getWorkflows
- getWorkflows(options?: { params: Record<string, unknown> }): Promise<IHttpResponse<IBpmn[]>>
-
Parameters
-
Optional options: { params: Record<string, unknown> }
-
params: Record<string, unknown>
publishMessage
- publishMessage<T, K>(__namedParameters: { correlationKeys: K; messageName: string; processInstanceId: string; variables: T }): Promise<void>
-
Type parameters
Parameters
-
__namedParameters: { correlationKeys: K; messageName: string; processInstanceId: string; variables: T }
-
correlationKeys: K
-
messageName: string
-
processInstanceId: string
-
variables: T
Returns Promise<void>
resolveIncident
- resolveIncident(incidentKey: string): Promise<void>
-
Parameters
Returns Promise<void>
updateJobRetries
- updateJobRetries(id: string, retries: number): Promise<IHttpResponse<void>>
-
Parameters
-
id: string
-
retries: number
updateVariables
- updateVariables<T>(processInstanceId: string, variables: T): Promise<IHttpResponse<void>>
-
Type parameters
Parameters
-
processInstanceId: string
-
variables: T