aria.auto-input-set ​
Declare an input the service resolves for the caller (account ids, connection uuids).
Resolve one required input server-side instead of asking for it.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-aria |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
slug | string | Yes | — | — |
input_name | string | Yes | — | — |
resolver_workflow | string | Yes | — | — |
item_path | string | Yes | — | — |
value_key | string | Yes | — | — |
args | json | No | — | — |
label_key | string | No | — | — |
on_ambiguous | string | No | — | ask |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
service | json | No | — | — |
auto_inputs | list | No | — | — |
failure_reason | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | json | No | — | — |
failed_layer | integer | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
failed_at | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
Outcomes ​
| Outcome | Type | Description | State Data Keys |
|---|---|---|---|
set | SUCCESS | The auto-input was declared | auto_inputs |
failed | FAILURE | The action was refused or failed | failure_reason |
Business Errors ​
| Code | Message Template |
|---|---|
ARIA_SERVICE_NOT_FOUND | No such service in this organization |
ARIA_REFUSED | The action was refused |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "aria.auto-input-set",
"initial_data": {
"slug": "value",
"input_name": "value",
"resolver_workflow": "value",
"item_path": "value"
}
}