Endpoint
/api/v2/tenants/{tenantId}/metadata/processes/processInstances/{processInstanceId}
Path Parameters
tenantId
string

clientId of the tenant

processInstanceId
string

UUID of the process instance

Responses

OK

Endpoint
/api/v2/tenants/{tenantId}/metadata/processes/processInstances/{processInstanceId}
Path Parameters
tenantId
string

clientId of the tenant

processInstanceId
string

UUID of the process instance

Responses

OK

activityInstances
array

Activity instances collections

activityInstances.activityId
Unique identify of the activity
activityInstances.activityInstanceId
Acvitiy uuid
activityInstances.activityName
Acitivty Name
activityInstances.activityType
Acivity Type
activityInstances.canceled
activityInstances.completeScope
activityInstances.durationInMillis
Duration in milli seconds
activityInstances.endTime
Ending time in long number
activityInstances.startTime
Starting time in long number
deploymentId
string

Process definition delployment Id

diagram
string

Process definition workflow

errors
array

Error collections.

id
string

Unique process instance id

processDefinitionId
string

Process definition uniqueId

processDefinitionName
string

Process definition name

processDefinitionVersion
number

Process definition version

startEventId
string

unique start event idenfier

startTime
number

Start time in long number

state
string

Current state

statistics
array

Process statistics collection

statistics.id
statistics.instances
tenantId
string

Client uuid

userTasks
array

Uer

userTasks.asigneeGroup
Assigned group for the task
userTasks.canceled
userTasks.completeScope
userTasks.description
Purpose description of the user task process.
userTasks.id
Unique id of the timer event.
userTasks.name
Name of the user Task
userTasks.startTime
Start time in long number
variables
array

REST output object collection.

variables.id
variables.name
variables.type
variables.value
{
  "activityInstances": [
    {
      "activityId": "StartEvent_1cw81lg",
      "activityInstanceId": "StartEvent_1cw81lg:53db74b9-a99e-11eb-bad2-5254003eb5f4",
      "activityName": "timer",
      "activityType": "startTimerEvent",
      "canceled": false,
      "completeScope": false,
      "durationInMillis": 5,
      "endTime": 1619778304000,
      "startTime": 1619778304000
    },
    {
      "activityId": "Task_1kj1ze4",
      "activityInstanceId": "Task_1kj1ze4:53ea41cb-a99e-11eb-bad2-5254003eb5f4",
      "activityName": "Task",
      "activityResult": "{\"task\":\"TASK0000199936\"}",
      "activityType": "userTask",
      "canceled": false,
      "completeScope": false,
      "startTime": 1619778304000
    }
  ],
  "deploymentId": "2fd6e58e-a740-11eb-b0d7-525400bf3044",
  "diagram": "...",
  "errors": [],
  "id": "53db2698-a99e-11eb-bad2-5254003eb5f4",
  "processDefinitionId": "PROCESS_f8d6c135-a33e-4458-a88f-fd541e766041",
  "processDefinitionName": "Timer - daily",
  "processDefinitionVersion": 1,
  "startEventId": "StartEvent_1cw81lg",
  "startTime": 1619778304000,
  "state": "ACTIVE",
  "statistics": [
    {
      "id": "Task_1kj1ze4",
      "instances": 1
    }
  ],
  "tenantId": "client_160",
  "userTasks": [
    {
      "asigneeGroup": "5.5 Group",
      "canceled": false,
      "completeScope": false,
      "description": "User Task daily",
      "id": "TASK0000199936",
      "name": "Task",
      "startTime": 1619778304000
    }
  ],
  "variables": [
    {
      "id": "54e14bfe-a99e-11eb-bad2-5254003eb5f4",
      "name": "53db2698-a99e-11eb-bad2-5254003eb5f4",
      "type": "object",
      "value": "{task=TASK0000199936}"
    }
  ]
}