Skip to content

bpmn-server / BPMNAPI

Class: BPMNAPI#

root object to api

to create:

api=new BPMNAPI(new BPMNServer(...));

to use:

api.engine to access engine functions (start,invoke..) api.data to access dataStore functions (find.. delete) api.model to access Model functions (list,save,export..)

api cli:

api engine start --name 'Buy Used Car' --data caseId 1003 api engine invoke --query name 'Buy Used Car' items.status wait name 'Buy' --data carModel 'Mazda 3' api data findItems --query name 'Buy Used Car' items.status wait api model list

Table of contents#

Constructors#

Properties#

Constructors#

constructor#

new BPMNAPI(server): BPMNAPI

Parameters#

Name Type
server IBPMNServer

Returns#

BPMNAPI

Defined in#

API/API.ts:34

Properties#

server#

server: IBPMNServer

Defined in#

API/API.ts:28


engine#

engine: APIEngine

Defined in#

API/API.ts:29


data#

data: APIData

Defined in#

API/API.ts:30


model#

model: APIModel

Defined in#

API/API.ts:31


defaultUser#

defaultUser: ISecureUser

Defined in#

API/API.ts:32