# Input-result mapping between tasks

When you connect one node to another if the first node has results and the second node has some params that need to be given then it will ask you to map the params from the previous node to the current node

<figure><img src="/files/tU5GAHhseWJaAMwu6mWJ" alt=""><figcaption></figcaption></figure>

Let's take the example of building an image and test pipeline. In this, the first node builds the image and the image is passed through params to the second node through parameter mapping. In the below example the first node which is docker build it is building the image and the image is given to the second node ozone trivy image scan to scan the image through parameter mapping.

Advantages: You don't have to manually give params instead it will directly take from upstream and maps.\ <br>

<figure><img src="/files/WeTDuWMX1nzqYHHuGs6k" alt=""><figcaption></figcaption></figure>


---

# 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.ozone.one/ozone-end-user-guide/documentation/ci-cd/catalog/pipelines-templates-and-runs/input-result-mapping-between-tasks.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.
