Openapi
Create a new process instance
Request Body schema: application/jsonrequired
processDefinitionKey required | string |
variables | object |
Responses
Request samples
- Payload
Content type
application/json
{- "processDefinitionKey": "string",
- "variables": { }
}
Response samples
- 200
- 400
- 500
- 502
Content type
application/json
{- "key": "string",
- "processDefinitionKey": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "state": "active",
- "variables": { }
}
Get list of running process instances
query Parameters
processDefinitionKey required | string |
page | integer <int32> Default: 1 |
size | integer <int32> Default: 10 |
Responses
Response samples
- 200
- 400
- 500
- 502
Content type
application/json
{- "partitions": [
- {
- "partition": 0,
- "items": [
- {
- "key": "string",
- "processDefinitionKey": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "state": "active",
- "variables": { }
}
]
}
], - "page": 0,
- "size": 0,
- "count": 0
}
Response samples
- 200
- 400
- 500
- 502
Content type
application/json
{- "items": [
- {
- "key": "string",
- "elementId": "string",
- "type": "string",
- "processInstanceKey": "string",
- "state": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "variables": { }
}
], - "offset": 0,
- "size": 0,
- "count": 0
}
Get list of activities for a process instance
path Parameters
processInstanceKey required | string |
Responses
Response samples
- 200
- 400
- 500
- 502
Content type
application/json
{- "items": [
- {
- "key": "string",
- "processInstanceKey": "string",
- "processDefinitionKey": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "state": "string",
- "elementId": "string",
- "bpmnElementType": "string"
}
], - "offset": 0,
- "size": 0,
- "count": 0
}
Get list of visited flow elements for a process instance
path Parameters
processInstanceKey required | string |
Responses
Response samples
- 200
- 400
- 500
- 502
Content type
application/json
{- "items": [
- {
- "key": "string",
- "processInstanceKey": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "elementId": "string"
}
], - "offset": 0,
- "size": 0,
- "count": 0
}
Get list of incidents for a process instance
path Parameters
processInstanceKey required | string |
Responses
Response samples
- 200
- 400
- 500
Content type
application/json
{- "items": [
- {
- "key": "string",
- "elementInstanceKey": "string",
- "elementId": "string",
- "processInstanceKey": "string",
- "message": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "resolvedAt": "2019-08-24T14:15:22Z",
- "executionToken": "string"
}
], - "offset": 0,
- "size": 0,
- "count": 0
}
Publish a message
Request Body schema: application/jsonrequired
processInstanceKey required | string |
messageName required | string |
variables | object |
Responses
Request samples
- Payload
Content type
application/json
{- "processInstanceKey": "string",
- "messageName": "string",
- "variables": { }
}
Response samples
- 400
- 502
Content type
application/json
{- "code": "string",
- "message": "string"
}