EXTRACT THE VALUE OF A RESPONSE NAME FROM A KEYVALUE¶
Extracts the value associated with a named key from a KeyValue input and returns it as plain text. Use this worker when a downstream step requires a scalar string pulled from a structured key-value response.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Response To Extract From | responsetoextractfrom | keyvalue | — | The KeyValue pair object to query; supply the structured key-value response from which the target value should be extracted (optional — leave unconnected if the value will be injected at runtime). |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| keyvalue_get_value_as_text_output_1 | keyvalue_get_value_as_text_output_1 | text | The extracted value returned as a plain-text string corresponding to the requested key in the input KeyValue object. |
Disciplines¶
- cae.postprocessing.response
- data.dataset.transform
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=keyvalue_get_value_as_text
Auto-generated from transformation schema. Worker id: keyvalue_get_value_as_text. Schema hash: 94bc1f312415. Hand-curated docs in workerexamples/ override this page when present.