.. _auto_definetable_get_first_value: *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 ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - 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 ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - 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 `_ .. raw:: html

Auto-generated from transformation schema. Worker id: definetable_get_first_value. Schema hash: f958ad9a99d4. Hand-curated docs in workerexamples/ override this page when present.