RETURN THE FIRST VALUE OF THE DEFINE TABLE¶
Extracts and returns the first scalar value from a Define Table input. Use this worker when you need to retrieve the leading value entry from a key-value/curve-paired table within a workflow.
When to use¶
Classification: process.
Tagged: define_table, first_value, scalar, table_lookup, transformations.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Define Tabel | kv1 | define_table | — | The Define Table containing one or more value–curve pairs; the worker reads the first value entry. Optional — if omitted, no output is produced. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| Value | value | scalar | The first scalar value extracted from the Define Table (dimensionless or inherits the table’s units); returned as a single numeric scalar. |
Disciplines¶
- 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=definetable_get_first_value
Auto-generated from transformation schema. Worker id: definetable_get_first_value. Schema hash: f958ad9a99d4. Hand-curated docs in workerexamples/ override this page when present.