.. _auto_responsetemplate_modify_response_expression: *MODIFIES RESPONSE EXPRESSION VALUE* ==================================== Updates the mathematical or logical expression assigned to a specific response within a response template. Use this worker when you need to programmatically redefine how a KPI or response value is computed without rebuilding the entire template. When to use ----------- Tagged: ``expression``, ``kpi``, ``modify``, ``response``, ``responsetemplate``, ``template_edit``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Choose Responsetemplate - rt_id - remote_lookup - — - ✓ - Remote lookup selecting the target response template by ID; must resolve to a valid responsetemplate record before the dependent response list is populated. * - Response to Modify - rsp_id - remote_lookup - — - ✓ - Remote lookup selecting the specific response to modify within the chosen template; filtered dynamically to responses belonging to the selected rt_id. * - New Expression - expression - textarea - — - ✓ - New expression string (formula, mathematical or logical) to assign to the selected response; replaces the existing expression verbatim, so ensure syntax is valid for the platform's expression engine. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - Rt Id - rt_id - integer - Integer ID of the response template that was updated; can be passed downstream to workers that consume or re-read the modified template. * - Rsp Id - rsp_id - integer - Integer ID of the individual response whose expression was modified; useful for chaining into validation or re-extraction steps. Disciplines ----------- - cae.postprocessing.response - platform.workflow .. raw:: html

Auto-generated from platform schema. Worker id: responsetemplate_modify_response_expression. Schema hash: e52b27b88a47. Hand-curated docs in workerexamples/ override this page when present.