# Options

![Set field value to a constant](/files/3T11I3b2lMA3u2cKKicu)

You can specify what fields to replace with the **Fields** table. Click **Get Fields** to populate the table with input from the PDI data stream. The table contains the following columns:

| Column                     | Description                                                                                                                                                                                                                                          |
| -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Field**                  | Specify the field that contains the value you want to replace.                                                                                                                                                                                       |
| **Replace by value**       | Specify the value that will replace the original field value specified.                                                                                                                                                                              |
| **Conversion mask (Date)** | Specify a date format for the replaced field. See [Common Formats](/pdia-data-integration/9.3-data-integration/pdi-transformation-steps-reference-overview/common-formats.md) for information on common valid date formats you can use in this step. |
| **Set empty string?**      | Specify **Y** to allow an empty string when the value is empty; otherwise, a null value is used.                                                                                                                                                     |


---

# 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/9.3-data-integration/pdi-transformation-steps-reference-overview/set-field-value-to-a-constant/options.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.
