Skip to main content

HTTP administrative problem overview

This binding supplements the server contract, the session binding, and the task assignment binding.

GET /api/v1/admin/problems returns open workflow, service and personal assignment problems across process instances. It requires a current administrator session. An absent or invalid session is rejected with 401; an authenticated non-administrator receives 403. Responses must not be cached.

The response has an items array and an optional nextCursor. A client may pass limit (1 through 100, default 25) and the opaque cursor returned by the preceding page. Ordering uses problem identifiers; the list is a live view, not a snapshot across requests. Concurrent changes can affect identifiers and subsequent pages. A problem summary contains an opaque id, type, a safe human-readable title, instanceId, modelId, versionId, and where known bpmnElementId, taskId, serviceExecutionId and lastOccurredAt. Legacy problems may lack a recorded occurrence time. The overview does not expose process input data or unfiltered technical diagnostics.

Each open assignment problem is keyed to its originating transition; a repeat updates that problem and a successful retry clears it. Other concurrent problems remain independent. Service failures are represented by their current attempt; a service-related assignment problem for the same attempt replaces the generic service summary to avoid duplicates. Workflow failures use the instance’s current issues. This is a list of current open problems, not a historical record. It provides no operation to manually resolve a problem.

An instance viewer who is not an administrator can see safe problem summaries for a visible instance. Internal diagnostic messages and codes are not exposed via instance issues or service-attempt diagnostics solely because the instance is visible. An administrator may inspect the underlying service attempt using the existing authorized service-task endpoint. A service attempt with unknown outcome may have affected an external system and must not be retried automatically.

Unhandled BPMN Error

An unhandled modeled Error ends the root instance with status failed and appears as one open workflow problem of type unhandled-bpmn-error under the usual problem URI namespace. Its optional modeledError field identifies the explicit code, the source Error End Event or Service Task and model version, the occurrence time, and the active scope path when present. Service Task sources add serviceExecutionId and serviceAttemptId. These fields come from the published model and execution.

The instance detail exposes the committed modeledErrors history to authorized instance viewers. Caught entries add handler with the Error Boundary Event, its model version and either callExecutionId or serviceActivityId. An accepted service fault ends its attempt in faulted and records faultCode. Getriebe Admin identifies the service execution, attempt and route in instance history. A caught fault has a history entry. An unhandled fault also has an open problem.

Uncertain message dispatch

An authorized instance detail includes messageDispatches. It identifies each dispatch, outgoing message ID, attempt, current state, the correlation value, and the recorded resolution or receipt when available. Administrators can inspect transport details using GET /api/v1/message-dispatches/{dispatchId}.

POST /api/v1/message-dispatches/{dispatchId}/attempts retries a confirmed failure. The stored payload, recipient and outgoing ID are reused. A dispatch with an unknown outcome stays open for reconciliation. POST /api/v1/message-dispatches/{dispatchId}/acceptance submits the transport’s reference for the configured adapter to verify. Verified acceptance completes the Send Task once. An unsuitable dispatch state returns 409 message-dispatch-state-conflict. A reference the adapter cannot verify returns 422 unverified-message-acceptance.

The dispatch history records each transition and, for administrative actions, the actor. The normal instance timeline records the winning branch and any later reply with its receipt time.

Administrative client

A same-origin administrative client can use this endpoint with the session and CSRF rules in the session binding. Its problem list is a live view; refreshing the first page and requesting additional pages do not create a snapshot. Instance inspection uses the normal authorized instance endpoint.