# Files from result

## ![](/files/XWfpTKc9IT7gY5jACGsM) Files from result

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

The Files From Result transform reads filenames and additional metadata that were added through the 'add filename to result' in other transforms.

Every time a file gets processed, used or created in a pipeline or a workflow, the details of the file, the workflow action, the transform, etc. is captured and added to an internal result set when the option 'Add file names to result' is set, e.g. in a Text File Output transform.

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

### Options

| Option         | Description                                   |
| -------------- | --------------------------------------------- |
| Transform name | The unique transform name within the pipeline |

### Output fields

| Field name   | Type   | Example                              |
| ------------ | ------ | ------------------------------------ |
| type         | String | Normal, Log, Error, Error-line, etc. |
| filename     | String | somefile.txt                         |
| path         | String | C:\Foo\Bar\somefile.txt              |
| parentorigin | String | Process files pipeline               |
| origin       | String | Text File Input                      |
| comment      | String | Read by text file input              |
| timestamp    | Date   | 2006-06-23 12:34:56                  |


---

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