Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

CONNECT EAP

Create enum type

  • Last UpdatedAug 17, 2026
  • 2 minute read

You can add enumeration sets as properties to a type while completing Create type. However, before you can add the enumeration set to the type, you must create the enumeration independently. Then later, when creating a standard type, you can add the enum type as a property. Think of an enum type as a module that you can add to a standard type.

Use this option to create a type constrained to a specific list of options. For example, if you are storing the status of a machine, the possible statuses might be defined as an enumeration set with values like: Success, Error, or Unknown.

To add an enum type

  1. In the navigation rail, select Data stores.

  2. From the Change data store dropdown, verify that the data store instance containing the resources and data you want to work with is selected.

  3. Select the Streams card.

  4. Select the Streams types tab.

  5. Choose Create type.

    The Create type side sheet opens.

  6. Select Enum type.

  7. Enter identification information for the type.

    Complete the following fields:

    1. ID: Identifier for the type.

    2. Name: Name for the type.

    3. Description: A description of the type.

  8. From the Enum type dropdown list, select the data type that you want to use for the enumeration. For a list of supported enumeration data types, see Supported enum types.

  9. Enumerate the enum type. Add a property for each member of the enumeration, mapping an identifier to each value.

    For example, you can add three properties, assigning enumerator identifiers to a value, such as: Success = 0, Error = 1, and Unknown = 255.

    1. Choose Add Property.

    2. In ID, enter an identifier for the enumerator.

    3. In Value, enter an integer for the enumerator.

    4. Repeat the substeps to complete the enumeration set.

  10. Choose Save.

    The enum type is added to the system. You can now add the enum type as a property for a standard type while completing Create type.

Related Links