data.registry.account.unsync ​
Remove aggregated registry account catalog from LtInteg (soft delete, DB only)
Soft-delete a registry account and its catalog rows (DB only).
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-registry |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
registry_account_uuid | uuid | Yes | — | UUID of the RegistryAccount to unsync |
organization_uuid | uuid | Yes | — | UUID of the organization owning the account (tenant isolation) |
actor_uuid | uuid | No | — | UUID of the user performing the unsync |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
registry_account_uuid | uuid | Yes | — | UUID of the RegistryAccount to unsync |
organization_uuid | uuid | Yes | — | UUID of the organization owning the account (tenant isolation) |
actor_uuid | uuid | No | — | UUID of the user performing the unsync |
unsynced_account_uuid | uuid | Yes | — | UUID of the RegistryAccount that was soft-deleted |
unsynced_at | string | Yes | — | ISO-8601 timestamp of the unsync operation |
failure_reason | string | No | — | Engine failure reason, present only on failed terminal state |
failure_type | string | No | — | Engine failure type classification (ADR-015 E2) |
failed_action | string | No | — | Action name that caused the failure (ADR-015 E2) |
failed_at_state | string | No | — | State name where the failure occurred |
failed_step | string | No | — | Failed DAG step name when reported by the engine |
failed_layer | integer | No | — | 1-based failed DAG layer number emitted by the engine |
error | string | No | — | Unexpected error message |
error_type | string | No | — | Unexpected error class or type |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | complete | Unsync registry account |
completed | No | Yes | Yes | — | Unsynced |
failed | No | Yes | No | — | Unsync failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "data.registry.account.unsync",
"initial_data": {
"registry_account_uuid": "value",
"organization_uuid": "value"
}
}