# Copy rows to result

## ![](/files/9wiaE58OOV6AIDmZr39g) Copy rows to result

### Description <a href="#description" id="description"></a>

The Copy Rows To Result transform allows you to transfer rows of data (in memory) to the next pipeline (or workflow action) in a workflow via an internal result row set.

| Hop Engine | <sup>✓</sup> |
| ---------- | ------------ |
| Spark      | X            |
| Flink      | X            |
| Dataflow   | X            |

### Usage

The Copy Rows To Result transform can be paired with the Get Rows from Result transform to retrieve the result row set in a pipeline. In some cases, the Get rows from Result transform is not required to retrieve the result set such as a pipeline transform in a workflow. Data rows can be passed from and to pipelines on a workflow, but data rows cannot be accessed directly in a workflow.

This transform can be used by the Get Rows from Result transform and some workflow actions that allow to process the internal result row set.

| Note | this transform is mainly available for historical reasons. There are newer and better ways to create loops in Hop, check the [Best Practices](/data-shaper-1.21/knowing-the-data-shaper-designer/index-3.md) for more information. |
| ---- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

### Options

| Option         | Description                                                            |
| -------------- | ---------------------------------------------------------------------- |
| Transform name | Name of the transform this name has to be unique in a single pipeline. |


---

# Agent Instructions: 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:

```
GET https://docs.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/pipelines/transforms/copyrowstoresult.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
