.. _auto_physicaltest_remove_responses_by_template: *REMOVE RESPONSES BY TEMPLATE* ============================== Removes response entries from a physical test record by matching against a specified template or a list of explicit response names. Use this worker to bulk-clean unwanted or obsolete responses from a physical test without manually deleting them one by one. When to use ----------- Tagged: ``cleanup``, ``delete``, ``physical_test``, ``responses``, ``template``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Physicaltest - physicaltest_id - remote_lookup - — - ✓ - The physical test record from which responses will be removed; resolved via remote lookup against the physicaltests datastore (required). * - Response Names - response_names - textarea - — - - Newline- or comma-separated list of explicit response names to delete; used when no template is supplied or to supplement template-based removal. * - Template - template_id - remote_lookup - — - - Template whose associated response definitions determine which responses are targeted for removal; leave blank if supplying explicit response names instead. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - Physicaltest Id - physicaltest_id - integer - Integer ID of the physical test record that was modified, passed through for downstream chaining. * - Num Found - num_found - integer - Count of responses that matched the supplied template or name criteria before deletion. * - Num Deleted - num_deleted - integer - Count of responses successfully deleted from the physical test record. Disciplines ----------- - data.dataset.transform - platform.workflow .. raw:: html
Auto-generated from platform schema. Worker id: physicaltest_remove_responses_by_template. Schema hash: e9ac216a945f. Hand-curated docs in workerexamples/ override this page when present.