# Creating Constant Value Maps

Constant Value map returns a single, predefined value for all records.

{% embed url="<https://youtu.be/16pBRuzLho4>" %}

To add a Constant Value map, drag the *Constant Value* object from the *Maps* group in the Flow toolbox and drop it on the dataflow.

An example of what a *Constant Value* object might look like is shown below:

![](https://3768133094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH4WCHHphSt0ALtMJlqot%2Fuploads%2FofGTKo5LGz8x31nDcZiY%2F0.jpeg?alt=media)

To configure the properties of a *Constant Value* map object after it was added to the dataflow, right-click on it and select *Properties* from the context menu. The following properties are available:

* *Constant Value:* Enter the value that will be returned by this object.
* *General Options screen:* This screen shares the options common to most objects on the dataflow.

## **Usage**

An example of a dataflow using *Constant Value* objects is shown below:

![](https://3768133094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH4WCHHphSt0ALtMJlqot%2Fuploads%2FocsERhKU6AIGRUGNsx9U%2F1.png?alt=media)


---

# 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://documentation.astera.com/astera-data-stack-v6/dataflows/maps/creating-constant-value-maps.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.
