.. _auto_simulation_add_from_another_simulation: *ADD A SERVER FILE FOR THE SIMULATION* ====================================== Attaches a server-side file from one simulation to another simulation record on the platform. Use this worker when you need to reuse or copy an existing simulation attachment into a target simulation without re-uploading the file. When to use ----------- Tagged: ``attachment``, ``copy``, ``file_management``, ``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 - — - - ID of the target simulation that will receive the attached file; leave blank if the simulation ID is resolved automatically upstream in the workflow. * - Parent Simulation ID - from_simulation_id - remote_lookup - — - - ID of the source (parent) simulation from which the file attachment will be copied; selected via remote lookup of available simulations. * - Att ID - attachment_id - remote_lookup - — - - ID of the specific file attachment to copy from the parent simulation; populated via remote lookup of files belonging to the selected parent simulation (depends on from_simulation_id). Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - Att Id - att_id - integer - Integer ID of the newly registered file attachment on the target simulation, referencing the copied server-side file. Disciplines ----------- - data.io.file - platform.workflow .. raw:: html

Auto-generated from platform schema. Worker id: simulation_add_from_another_simulation. Schema hash: 6068473adb02. Hand-curated docs in workerexamples/ override this page when present.