# Get Rows from Result

## ![](/files/9nv6RufdUkAIHwc974jr) Get Rows from Result

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

The Get Rows from Result transform returns rows that were previously generated by another pipeline in a workflow. You do not need to define any fields in the Get rows from result transform to retrieve all data row fields.

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

The rows were passed on to this transform using either the Copy rows to result transform or the Pipeline Executor transform.

You can enter the metadata of the fields you are expecting from the previous pipeline in a workflow.

{% hint style="info" %}
Tip: The Get Rows From Result is mainly available for historical reasons to build loops through workflows. Check the [Best Practices](/data-shaper-1.21/knowing-the-data-shaper-designer/index-3.md) for better ways of looping in Hop.
{% endhint %}

### Options

| Option         | Description                                                                                                                                                                                                                                                                                   |
| -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Transform name | Name of the transform this name has to be unique in a single pipeline.                                                                                                                                                                                                                        |
| Fieldname      | Name of the field that contains the rows from the previous result.                                                                                                                                                                                                                            |
| Type           | <p>Type of data. Options include:</p><ul><li>Number</li><li>String</li><li>Date</li><li>Boolean</li><li>Integer</li><li>BigNumber</li><li>Serializable</li><li>Binary</li><li>Timestamp</li><li>Internet Address</li></ul>                                                                    |
| Length         | <ul><li>For a field with the type of 'Number', enter the total number of significant figures in a number.</li><li>For a field with the type of 'String', enter the total length of the string.</li><li>For a field with type of 'String', enter the length of output of the string.</li></ul> |
| Precision      | <ul><li>For a field with the type of 'Number', enter the number of floating point digits. Otherwise, leave blank.</li></ul>                                                                                                                                                                   |


---

# 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/getrowsfromresult.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.
