Choice data

reference brazil Updated Sep 10, 2026 1 min read choice-data.md
Raw file servicenow.com

Store choice list values for a specific choice field.

Basic options

Option Description
Label Displays the label used to identify the data variable in the Workflow Studio interface. The label can consist of any text.
Name Displays the name used to identify the data variable in script calls. The name can only consist of alphanumeric and underscore characters. The system automatically converts the label into a valid name by removing or replacing any special characters.
Type Indicates the type of data stored by the data variable.
Mandatory Indicates whether the data variable must contain a value when configured in an action.

Advanced options for Choice variables

Option

Description

Name

Displays the name used to identify the data variable in script calls.

Max length

Specifies the maximum length a user can enter for a choice value. Use this option to restrict the length of input values stored during action design.

Hint

Provides guidance to flow or action designers on how to configure the data.

Choice

Specifies whether the choice list has a value for no selection. Options include:- Dropdown with --None--

  • Dropdown without --None--

Note: The Dropdown with --None-- option requires selecting a default choice.

Default

Specifies the choice used when a flow or action designer does not select a choice.

Choices

Specify the choices available to select. Use the add button ([Omitted image "green-add-button.png"] Alt text: Add button) to create a choice. Each choice must have a Name, Value, and Order. See Choice list field type for more information about choice lists.

**Parent Topic:**[Workflow Studio input and output data variables](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/workflow-studio/action-inputs-outputs.md)
Search documentation
Search document titles and file paths on the brazil branch