Theme switcher

List process definitions

Header Parameters

Authorizationstring

Keycloak access token (OAuth2). Replace [HOST] and [YOUR_REALM] with the values of your installation. OAuth2 flows: Implicit (authorization URL: https://[HOST]/realms/[YOUR_REALM]/protocol/openid-connect/auth)

Response

200
Object

Process definitions.

Response Attributes

_idstring

Technical MongoDB document id. Not a business identifier - do not use it to address objects.

eccTypestring

Object type, e.g. process, task, history, process_history, process_node, event.

eccClassnamestring

Java class name of the object.

processInstanceIdstring

Unique id of the process instance. The only identifier used for instances in the API. Saved drafts use the prefix 'tmp.'.

processIdstring

Id of the process definition (name of the BPMN process), used to start new instances.

rootProcessIdstring

processId of the root process. Null for root processes.

rootProcessInstanceIdstring

processInstanceId of the root process. Null for root processes.

parentProcessInstanceIdstring

processInstanceId of the calling process. Null for root processes.

parentProcessInstanceallof

A process instance, a saved process draft or a process definition. Which fields are filled depends on the source: process lists are read from the MongoDB projection 'ecc_process_instances', single instances are additionally enriched with live data from the BPM engine, drafts come from 'ecc_saved' (state SAVED, processInstanceId prefixed 'tmp.') and process definitions only carry processId, processName and version.

childProcessInstancesallof

A process instance, a saved process draft or a process definition. Which fields are filled depends on the source: process lists are read from the MongoDB projection 'ecc_process_instances', single instances are additionally enriched with live data from the BPM engine, drafts come from 'ecc_saved' (state SAVED, processInstanceId prefixed 'tmp.') and process definitions only carry processId, processName and version.

nodesarray

Nodes the instance has passed or is currently in (live data from the BPM engine).

Show child attributes

errorallof

Error information of a process instance.

Show child attributes

processNamestring

Name of the process as defined in the BPMN model.

businessKeystring

Human-readable business key generated at process start from the configured pattern (eccatm.keyindex).

versionstring

Version of the process definition.

slaDueDatestring

Due date of the process, if an SLA is defined in the model.

createdByallof

Reference to a user.

Show child attributes

updatedBystring

Last user who changed the instance (live data from the BPM engine).

lastUpdatestring

Time of the last change.

startstring

Start time of the instance.

endstring

End time of the instance, if completed or aborted.

serviceUrlstring

Service URL reported by the BPM engine.

endpointstring

REST endpoint of the process in the BPM engine.

statestring

State of the instance: PENDING, ACTIVE, COMPLETED, ABORTED, SUSPENDED, ERROR. Saved drafts have the state SAVED.

variablesstring

Business data of the process. Structure depends on the process model, e.g. { "purchase": { ... } }.

sourcestring

BPMN source of the process definition (schema endpoints only).

infostring

Free-text note stored with a saved draft.

processInstanceDescriptionstring

Process Instance Description from the BPM engine's process definition (as shown in its admin console).

eccSyncboolean

Result of the consistency check between the MongoDB projection and the live data of the BPM engine (only set by GET /api/v1/process/{processInstanceId}):

  • true: in sync
  • false: diverged
  • not set: not checked
diagramstring

SVG diagram of the process instance (only when requested explicitly).

eccVersionstring
eccUiPagestring

Name of the process instance page in the frontend: src/apps/{eccUiDirectory}/{eccUiPage}.tsx

readOnly
eccUiDirectorystring

App folder of the process in the frontend: src/apps/{eccUiDirectory}/

readOnly
stateActiveboolean

true if state is ACTIVE.

readOnly
statePendingboolean

true if state is PENDING.

readOnly
stateCompletedboolean

true if state is COMPLETED.

readOnly
stateAbortedboolean

true if state is ABORTED.

readOnly
stateSuspendedboolean

true if state is SUSPENDED.

readOnly
stateFailedboolean

true if state is FAILED.

readOnly
overdueboolean

true if slaDueDate is in the past.

readOnly
401
Object

Missing, invalid or expired access token.

Response Attributes

successboolean

true for 2xx responses, false for errors.

httpStatusinteger

HTTP status code, same as the response status.

httpStatusReasonPhrasestring

HTTP reason phrase.

messageCodestring

Message code for application errors with a defined code (EccException), e.g. EAP0001.

messagestring

Message text. Localized for coded application errors, otherwise the technical exception message.

dataTypestring

Simple class name of the error or its data (errors only).

datastring

Payload. Type depends on the endpoint. For coded application errors the EccException.

403
Object

Not Allowed

500
Object

Unexpected error, e.g. the BPM engine or MongoDB is not reachable. The message contains the cause.

Response Attributes

successboolean

true for 2xx responses, false for errors.

httpStatusinteger

HTTP status code, same as the response status.

httpStatusReasonPhrasestring

HTTP reason phrase.

messageCodestring

Message code for application errors with a defined code (EccException), e.g. EAP0001.

messagestring

Message text. Localized for coded application errors, otherwise the technical exception message.

dataTypestring

Simple class name of the error or its data (errors only).

datastring

Payload. Type depends on the endpoint. For coded application errors the EccException.

Was this section helpful?

GET

/

Select
1

Response

Was this section helpful?