.. _auto_simulation_add_local_file: *ADD A FILE FOR THE SIMULATION* =============================== Attaches a local (client-side) file to an existing simulation record on the d3VIEW platform. Use this worker when you need to associate a locally sourced file as an attachment to a specific simulation for downstream processing or reference. When to use ----------- Tagged: ``attachment``, ``file_upload``, ``local_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 - — - - Unique identifier of the target simulation to which the file will be attached; leave blank if the simulation context is inherited from a parent workflow step. * - Local File - add_file - file - — - ✓ - Local file to upload and attach to the simulation; any file format is accepted — the file is transferred from the client machine to the platform server. 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 to the newly uploaded file, usable in subsequent workers to reference or retrieve the attachment. Disciplines ----------- - data.io.file - platform.workflow .. raw:: html
Auto-generated from platform schema. Worker id: simulation_add_local_file. Schema hash: fe80d1a5510c. Hand-curated docs in workerexamples/ override this page when present.