.. _auto_simulation_add_server_file: *ADD A SERVER FILE FOR THE SIMULATION* ====================================== Attaches a local file to an existing simulation as a server-side resource. Use this worker when you need to associate supplementary files (e.g., input decks, geometry, results) with a specific simulation record on the platform. When to use ----------- Tagged: ``attachment``, ``file_upload``, ``server_file``, ``simulation``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Simulation Id - simulation_id - text - — - - Platform ID of the target simulation to which the file will be attached; leave blank if the simulation context is inherited from an upstream workflow node. * - Local File - add_file - file - — - ✓ - Local file to be uploaded and registered as a server-side attachment on the simulation (any format accepted; required). Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - Att Id - att_id - integer - Integer attachment ID assigned by the platform after the file is successfully registered against the simulation; use in downstream workers to reference the file. Disciplines ----------- - data.io.file - platform.workflow .. raw:: html
Auto-generated from platform schema. Worker id: simulation_add_server_file. Schema hash: bad2e0741e49. Hand-curated docs in workerexamples/ override this page when present.