EXTRACT THE VALUE OF A RESPONSE NAME FROM A KEYVALUE¶
Extracts the name field from a KeyValue response object and returns it as plain text. Use this worker when you need to surface a response’s label/name downstream as a text value in a workflow.
When to use¶
Classification: process.
Tagged: extract, keyvalue, name, response, text, transformation.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Response To Extract From | responsetoextractfrom | keyvalue | — | The KeyValue response object whose name field will be extracted; accepts a key-value pair from any upstream response-producing worker — leave unconnected only if the name is not yet available. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| keyvalue_get_name_as_text_output_1 | keyvalue_get_name_as_text_output_1 | text | Plain-text string containing the name of the supplied KeyValue response (e.g. ‘Peak Acceleration’); consumed by any downstream worker that expects a text input. |
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_name_as_text
Auto-generated from transformation schema. Worker id: keyvalue_get_name_as_text. Schema hash: 978a403e15ed. Hand-curated docs in workerexamples/ override this page when present.