# Enumerable

This Datastream specific fields INCOMING and OUTCOME allow to transform integer data to string.&#x20;

![](/files/-MS3M6Y7FX-xGOwEKXdE)

Example:\
Device has sets of three positions: Open, Vent, Closed. In means of servo they are: 130, 20 and 0 \
This Datastream allows you to link these values: 130=Open, 20=Vent, 0=Closed\
So each time servo reaches any of those positions you'll get a readable state result instead of degrees.\
\
Follow these steps to create value translation:

1. click **add row**
2. set integer value than can be sent by your Device in **INCOMING** field
3. in **OUTCOME** type string value that will be used/viewed instead of original integer value
4. you can assign a color to this conversion
5. click **add row** to set further conversion values

![](/files/-MSh4nL9gvnfPXwD_g5k)

{% hint style="info" %}
Suppose the device sends a value that is not within the specified range of options for the Enumerable datastream. In that case, the cloud will set the datastream's value to the specified Fallback value. This ensures that the datastream maintains a valid state even if unexpected or erroneous data is received from the device.
{% endhint %}


---

# 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.blynk.io/en/blynk.console/templates/datastreams/enumerable.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.
