network.scope-unsync ​
Remove synced network scope inventory from LtInteg (soft delete, DB only)
Soft-delete one scope and its inventory rows (DB only).
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-network |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
network_scope_uuid | uuid | Yes | — | UUID of the NetworkScope to unsync |
organization_uuid | uuid | Yes | — | Organization UUID for tenant isolation |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
unsynced_scope_uuid | uuid | Yes | — | UUID of the NetworkScope that was soft-deleted |
unsynced_at | string | Yes | — | ISO-8601 timestamp of the unsync operation |
failure_reason | string | No | — | Engine-stamped human-readable failure reason |
failed_at_state | string | No | — | Engine-stamped state when the workflow failed |
failed_step | string | No | — | Engine-stamped step name (DAG path) |
failed_layer | integer | No | — | Engine-stamped layer index (DAG path) |
error | string | No | — | Engine-stamped exception message |
error_type | string | No | — | Engine-stamped exception class name |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | complete | Unsync scope |
completed | No | Yes | Yes | — | Unsynced |
failed | No | Yes | No | — | Unsync failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | complete | completed | — |
pending | fail | failed | — |
Outcomes ​
| Outcome | Type | Description | State Data Keys |
|---|---|---|---|
removed | SUCCESS | Remove synced network scope inventory from LtInteg (soft delete, DB only) | — |
failed | FAILURE | Network workflow failed | failure_reason |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "network.scope-unsync",
"initial_data": {
"network_scope_uuid": "value",
"organization_uuid": "value"
}
}