lumen.error-group.assign ​
Assign or clear assignee/team on a Lumen error group
Assign or clear the assignee/team on a Lumen error group.
Calls PATCH /api/error-groups/<error_group_uuid>/assign using the service-key (X-Api-Key) path with X-Lumen-Organization-UUID for tenant scoping. Both assignee and team are optional; omitting either (or passing null) clears that field.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-lumen |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | Yes | — | UUID of the organisation that owns the error group. |
error_group_uuid | string | Yes | — | Public UUID of the error group (not the internal int id). |
assignee | string | No | — | Free-form owner identifier. Null/absent clears the field. |
team | string | No | — | Free-form team name. Null/absent clears the field. |
workflow_run_id | string | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
error_group_uuid | string | No | — | — |
assignee | string | No | — | — |
team | string | No | — | — |
status | string | No | — | — |
error_code | string | No | — | — |
reason | string | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
organization_uuid | string | No | — | — |
error_group_uuid_input | string | No | — | — |
workflow_run_id | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | Queued; will call Lumen PATCH /api/error-groups/<uuid>/assign |
completed | No | Yes | Yes | — | Assignment written; response payload stored in state_data |
failed | No | Yes | No | — | Lumen returned a non-2xx response or was unreachable |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "lumen.error-group.assign",
"initial_data": {
"organization_uuid": "value",
"error_group_uuid": "value"
}
}