const operate = new OperateApiClient()
Optional
options: { Optional
baseOptional
oauthPrivate
getPrivate
gotPrivate
safeJSONparsePrivate
userDelete a specific process instance by key.
const operate = new OperateApiClient()
await operate.deleteProcessInstance(2251799819847322)
Retrieve the metadata for a specific process definition, by key.
const operate = new OperateApiClient()
const definition = await operate.getProcessDefinition(2251799817140074);
Retrieve a specific process instance by id.
const operate = new OperateApiClient()
const instance = await operate.getProcessInstance(2251799819847322)
Get the statistics for a process instance, grouped by flow nodes
Search and retrieve incidents.
const operate = new OperateApiClient()
const query: Query<Incident> = {
filter: {
state: "ACTIVE"
},
size: 50,
sort: [
{
field: "creationTime",
order: "ASC"
}
]
}
const incidents = operate.searchIncidents(query)
Search and retrieve process definitions.
const query: Query<ProcessDefinition> = {
filter: {},
size: 50,
sort: [
{
field: "bpmnProcessId",
order: "ASC",
},
],
};
const operate = newOperateClient()
const defs = await operate.searchProcessDefinitions(query);
Optional
query: Query<ProcessDefinition>Search and retrieve process instances.
```
const operate = new OperateApiClient()
const query: QueryFound ${instances.total} instances
)
Optional
query: Query<ProcessInstance>Generated using TypeDoc
Description
The high-level client for Operate.
Example