# Mapping Input Specification

The **Mapping Input Specification** step is an input placeholder used inside a mapping *sub-transformation*.

Use this step to define where the sub-transformation expects input rows from the parent transformation.

You can think of it as a special input step that receives data from the parent transformation at runtime.

![Mapping Input Specification dialog](/files/irLoMibYch0P5dE9JwjP)

### When to use

Use **Mapping Input Specification** when your transformation is designed to be executed as a mapping (for example, from the [Mapping](/pdia-data-integration/pdi-transformation-steps-reference-overview/mapping.md) step or the [Simple Mapping (sub-transformation)](/pdia-data-integration/pdi-transformation-steps-reference-overview/simple-mapping-sub-transformation.md) step).

A sub-transformation can contain:

* One Mapping Input Specification step (common)
* Multiple Mapping Input Specification steps (multiple entry points)
* No Mapping Input Specification steps (no input)

### Options

| Option                                          | Description                                                                                                                                                                                                                                                                                         |
| ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Step name**                                   | Name of the step. This name must be unique within the transformation.                                                                                                                                                                                                                               |
| **Name**                                        | Field name as it is used inside the sub-transformation.                                                                                                                                                                                                                                             |
| **Type**                                        | Data type of the field.                                                                                                                                                                                                                                                                             |
| **Length**                                      | Maximum string length.                                                                                                                                                                                                                                                                              |
| **Precision**                                   | Maximum number of decimals.                                                                                                                                                                                                                                                                         |
| **Include unspecified fields, ordered by name** | <p>In some cases, you may want all incoming fields, not only the required fields. For example, you might remove certain fields later while retaining all others.<br><br>During design time, unspecified fields are not available in field picklists because they are available only at runtime.</p> |


---

# 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.pentaho.com/pdia-data-integration/pdi-transformation-steps-reference-overview/mapping-input-specification.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.
