lumen.error-group.resolve ​
Mark a Lumen error group as resolved and store the resolution knowledge.
Mark a Lumen error group as resolved, recording root cause and fix.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-lumen |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Caller org UUID; injected by the engine from the token context. |
error_group_uuid | uuid | Yes | — | Public UUID of the error group to resolve. |
root_cause | string | Yes | — | Non-empty string describing the root cause. |
solution | string | Yes | — | Non-empty string describing the fix applied. |
resolved_by | string | No | — | Free-form resolver identifier; null when absent. |
workflow_run_id | string | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
error_group_uuid | uuid | No | — | UUID of the resolved error group. |
fingerprint | string | No | — | — |
status | string | No | — | — |
resolved_at | string | No | — | — |
root_cause | string | No | — | — |
solution | string | No | — | — |
resolved_by | string | No | — | — |
organization_uuid | uuid | No | — | — |
error_group_uuid_input | uuid | No | — | — |
workflow_run_id | string | No | — | — |
reason | string | No | — | — |
http_status | integer | No | — | — |
detail | 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 | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | Resolve request accepted |
completed | No | Yes | Yes | — | Error group resolved |
failed | No | Yes | No | — | Resolve request failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | Call Lumen PATCH /api/error-groups/{uuid}/resolve |
* (any state) | fail | failed | Mark workflow failed |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "lumen.error-group.resolve",
"initial_data": {
"organization_uuid": "value",
"error_group_uuid": "value",
"root_cause": "value",
"solution": "value"
}
}