Administer a Getriebe server
Start with the intended database
Section titled “Start with the intended database”The local quickstart uses transient SQLite. To keep
local data across an orderly restart, set GETRIEBE_SQLITE_PATH to a file
and use the same path when restarting. To select PostgreSQL, set
GETRIEBE_STORAGE=postgres and GETRIEBE_POSTGRES_URL for a database the
server account can use. The server checks its schema and identity state
before listening. Check GET /api/v1/health/ready for readiness.
A newly initialized Effect-server database supports task deadlines. With
a signed-in session, check GET /api/v1/capabilities before deploying a timed
model. The boundary-timer feature must have status supported. A database
initialized with the previous schema can continue to run its existing profile.
Use GETRIEBE_DEMO=false for a separate installation with operator
credentials. A new store in this mode requires GETRIEBE_ADMIN_PASSWORD;
GETRIEBE_ADMIN_USERNAME defaults to admin. Changing demo settings
does not reset existing accounts. The demo is a local loopback setup.
Manage access
Section titled “Manage access”Create or update users through /api/v1/users. Use
PUT /api/v1/users/{userId}/roles with the complete role list to replace
memberships. Keep role keys stable and update display names separately.
References held by users or retained workflow history can prevent deletion.
Grant model_manage to deploy and manage model versions and
process_start to start instances. These permissions, the administrator
flag, and the task’s required role control distinct operations. Deactivation
or a password reset invalidates the affected account’s sessions. The
HTTP account contract
explains how patches replace permissions.
Investigate a process problem
Section titled “Investigate a process problem”Open Getriebe Admin, or list open problems with
GET /api/v1/admin/problems. Use the instance ID and model version to
locate the affected process. Instance detail identifies current issues.
Task history at GET /api/v1/tasks/{taskId}/history shows what actor
claimed, completed or released a task and which attempt supplied an accepted
result. Follow an opaque nextCursor with the same filters when there are
more entries.
For a service problem, inspect
GET /api/v1/service-tasks/{executionId}/attempts/{attemptId}.
Compare the frozen inputs, result or diagnostic with the external system.
An unknown outcome may already have produced an external effect. Reconcile
it before an administrator requests a fresh attempt at
POST /api/v1/service-tasks/{executionId}/attempts. The retry response
identifies the new attempt. A current running attempt or completed
execution cannot be retried.
Read BPMN Error history
Section titled “Read BPMN Error history”In Getriebe Admin, open the instance and find BPMN Error history in
Execution details. The entry identifies the code, the source BPMN
element and model version, and its execution path. A caught Error records
the Error Boundary Event and the activity or call it handled. A Service
Task fault also shows its execution and attempt IDs. The attempt has
state faulted. Use the IDs to distinguish repeated activations of the
same Service Task.
A caught error can leave the instance running on its recovery path. An
unhandled error ends it with status Failed and appears once in
Process problems. The problem links to the instance history. Authorized
readers can also retrieve modeledErrors from the instance detail. An
administrator can retrieve the same history through
GET /api/v1/admin/instances/{instanceId}/execution.
Recover and investigate deadlines
Section titled “Recover and investigate deadlines”The server checks persistent deadlines when it starts and processes overdue work. If storage is temporarily unavailable, it retries and logs repeated processing failures. An unconfirmed timer commit is followed by a read of the stored activation. The worker may retry if that same activation remains open and due. A personal assignment that cannot be resolved on the timeout path appears as an instance problem.
Use task history to compare the withdrawn event’s at and dueAt
timestamps. The event also identifies the Boundary Event, activation and
the attempt when one was present. Firing can occur after the due time according to server clock,
load and retry conditions. The supported configuration has one server
process. See the deadline transaction contract.
See the administrative problem contract for the visibility rules and the fields returned by the live list.
Reconcile a message dispatch
Section titled “Reconcile a message dispatch”Open the authorized instance detail and identify the entry in
messageDispatches. Use the dispatch endpoint to inspect the attempt
history and transport status. Retry a confirmed failure through its
attempts operation. For an unknown outcome, obtain a reference from the
transport and submit it to the acceptance operation. The adapter verifies
the reference before execution continues.
A late supplier reply appears in the instance beside the correlation value and receipt time. Inspect the selected branch and the open follow-up to see how the instance handled the deadline.
See the administrative HTTP binding.