.. _auto_workflow_cleanup_data: *REMOVE ALL DATA ASSOCIATED WITH THE SELECTED WORKFLOW* ======================================================= Removes all data assets (files, results, and associated records) linked to a selected workflow, freeing up storage and keeping the platform tidy. Use this worker to perform a full cleanup after a workflow has completed or is no longer needed. When to use ----------- Tagged: ``cleanup``, ``data_removal``, ``files``, ``housekeeping``, ``workflow``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Workflow - workflow_id - remote_lookup - — - ✓ - The target workflow whose associated data assets will be deleted; select from the available workflows list — required, no default. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - Workflow Id - workflow_id - scalar - The identifier of the workflow that was cleaned up, passed through for downstream chaining or confirmation. * - Clean up Report - report - dataset - Tabular dataset summarising all assets that were removed during the cleanup operation, including file names, types, and deletion status. Disciplines ----------- - data.io.file - platform.workflow .. raw:: html
Auto-generated from platform schema. Worker id: workflow_cleanup_data. Schema hash: 7a9899822866. Hand-curated docs in workerexamples/ override this page when present.