control.value.format
Interpolate {0}..{7} placeholders in a template from positional arg0..arg7 — the composition-friendly form of control.value.template (each argN is a top-level input so a composition can bind a ref to it without nesting inside a values dict).
Overview
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-control |
| Version | 1.0 |
Input Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
template | string | Yes | — | — |
arg0 | json | No | — | — |
arg1 | json | No | — | — |
arg2 | json | No | — | — |
arg3 | json | No | — | — |
arg4 | json | No | — | — |
arg5 | json | No | — | — |
arg6 | json | No | — | — |
arg7 | json | No | — | — |
strict | boolean | No | — | — |
Output Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
template | string | No | — | — |
arg0 | json | No | — | — |
arg1 | json | No | — | — |
arg2 | json | No | — | — |
arg3 | json | No | — | — |
arg4 | json | No | — | — |
arg5 | json | No | — | — |
arg6 | json | No | — | — |
arg7 | json | No | — | — |
strict | boolean | No | — | — |
result | 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 | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
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": "control.value.format",
"initial_data": {
"template": "value"
}
}