Skip to main content

Process Metrics

Less than 1 minute

Process Metrics

Managing process metrics via the REST API. General rules (authentication, limits) — see the REST API overview.

Process Metrics Management

Updating a metric value

Path: POST /public-api/v1/processes/metrics

This method allows you to populate or update metric values for processes. The metric itself (custom field) must be created in advance in the system interface.

Request Structure

{
    "processId": "94d2e63f-f84a-40d4-b4a3-592b0cc7c7d9",
    "metricName": "Среднее время выполнения",
    "metricValue": 45.5,
    "metricPlanValue": 30.0,
    "comment": "Значение за январь 2025",
    "metricDate": "2025-01-15T10:30:00"
}

Request Parameters

FieldTypeRequiredDescription
processIdUUID✅Process identifier
metricNamestring✅Metric name
metricValuenumber📄Actual metric value
metricPlanValuenumber📄Planned metric value
commentstring📄Comment on the value
metricDatedatetime📄Measurement date/time (ISO 8601)

Response Structure

{
    "processId": "94d2e63f-f84a-40d4-b4a3-592b0cc7c7d9",
    "metricName": "Среднее время выполнения",
    "metricValue": 45.5,
    "metricPlanValue": 30.0,
    "delta": 15.5,
    "comment": "Значение за январь 2025",
    "metricDate": "2025-01-15T10:30:00"
}

Response Fields

FieldTypeDescription
processIdUUIDProcess identifier
metricNamestringMetric name
metricValuenumberActual metric value
metricPlanValuenumberPlanned metric value
deltanumberDeviation from plan (metricValue - metricPlanValue)
commentstringComment on the value
metricDatedatetimeMeasurement date/time

Use Cases

  • BPMS Integration: Automatic loading of performance metrics from process execution systems (Camunda, Activiti, etc.)
  • BI Systems: Export of analytical indicators from data warehouses
  • SLA Monitoring: Automatic updating of SLA compliance indicators