> For the complete documentation index, see [llms.txt](https://help.claritylims.illumina.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.claritylims.illumina.com/clarity-lims-v6.2-and-lablink-v2.4/clarity-lims-v6.2-guide/configuration/automations/copy-custom-fields-from-step-input-to-output.md).

# Copy Custom Fields from Step Input to Output

Use an automation with the copyUDFs script and to copy custom fields from a step input to a step output. This example uses the Library Normalization master step, and shows how to copy the Concentration field from the step input samples to the output samples.

### To copy a custom field from step input to output

1. On the **Lab Work** configuration screen, select the **Automation** tab, then select the **Step Automation** tab.
   * Add a new automation.
   * Name the automation and enter the channel name.
   * In the Command Line field, copy the following command, replacing the { } placeholders with your own information:

     `bash -c "/opt/gls/clarity/bin/java -jar /opt/gls/clarity/extensions/ngs-common/v5/EPP/ngs-extensions.jar script:copyUDFs -u {username} -p {password} -i {processURI:v3:http} -f Concentration"`
   * In the Automation Use section, enable the automation on the desired master step (this example uses the Library Normalization master step).
   * Save the automation.
2. Return to the Lab Work configuration screen and select the **Lab Work** tab. In the Master Steps list, select the master step on which you enabled the automation.
3. In the Automation section, the new automation is listed. Configure as follows:
   * Trigger Location: Record Details
   * Trigger Style: Automatic upon entry

     NOTE: Automation triggers can be configured at the master step or the step level. If configured on the master step, the trigger settings are locked on all steps derived from that master step.
4. You can add it as an expanded view field or as a column header (for details, refer to [Step Milestones](/clarity-lims-v6.2-and-lablink-v2.4/clarity-lims-v6.2-guide/configuration/lab-work/steps-and-master-steps/step-milestones.md#configure-record-details-milestone)).
5. Save your changes.

   At run time:

   * When the Record Details screen is entered, the automation are automatically triggered.
   * The copyUDFs script runs and copies the Concentration field values from the step input samples to the output samples.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.claritylims.illumina.com/clarity-lims-v6.2-and-lablink-v2.4/clarity-lims-v6.2-guide/configuration/automations/copy-custom-fields-from-step-input-to-output.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
