RETURN THE LAST VALUE OF THE DEFINE TABLE¶
Reads a Define Table input and returns its last scalar value. Use this worker when you need to extract the final entry from a key-value/curve-associated table within a workflow.
When to use¶
Classification: process.
Tagged: define_table, definetable, extraction, last_value, scalar, transformations.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Define Table | kv1 | define_table | — | Define Table containing one or more value-curve pairs; the worker will read the last entry — leave unpopulated only if the output is not needed downstream. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| Value | value | scalar | The last scalar value found in the Define Table (dimensionless numeric); reflects the final row/entry of the supplied table. |
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_last_value
Auto-generated from transformation schema. Worker id: definetable_get_last_value. Schema hash: 2f2d026d988d. Hand-curated docs in workerexamples/ override this page when present.