.. _auto_responsetemplate_modify_response_option: *MODIFIES RESPONSE OPTION VALUE* ================================ Modifies one or more option values on a specific response within a response template. Use this worker when you need to programmatically update response attributes (e.g., units, scale factors, labels) on an existing template without manually editing it in the UI. When to use ----------- Tagged: ``keyvalue``, ``modify``, ``response_options``, ``responsetemplate``, ``template_editing``. 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 - — - ✓ - The response template to target; select from the remote lookup of available response templates — required before a response can be chosen. * - Response to Modify - rsp_id - remote_lookup - — - ✓ - The specific response within the selected template whose options will be modified; the dropdown is filtered automatically by the chosen rt_id. * - Response Options - rsp_options - keyvalue - — - ✓ - Key-value pairs representing the response attributes to update (e.g., unit, scale, label); consult the template's response options list for valid keys — all entries provided here will overwrite the corresponding existing values. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - Rt Id - rt_id - integer - Integer ID of the parent response template that was targeted, passed downstream for chaining or logging purposes. * - Rsp Id - rsp_id - integer - Integer ID of the response that was modified, useful for referencing the updated response in subsequent workers. * - Rsp New Value - rsp_new_value - keyvalue - The full set of key-value pairs that were applied to the response, reflecting all option fields updated during this worker's execution. Disciplines ----------- - cae.postprocessing.response - platform.workflow .. raw:: html
Auto-generated from platform schema. Worker id: responsetemplate_modify_response_option. Schema hash: 3d6e56cf5ab3. Hand-curated docs in workerexamples/ override this page when present.