String data type
reference brazil Updated Sep 10, 2026 1 min read string-data.md
Store alphanumeric text values using JavaScript data conventions.
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 String variables
| Option | Description |
|---|---|
| Max length | Specifies the maximum length a string value can have when entered from the user interface. The variable can store longer strings than it can display. |
| Hint | Provides guidance to flow or action designers on how to configure the data. |
| Default value | Specifies the value used when a flow or action designer does not provide a value. |
Parent Topic:Workflow Studio input and output data variables
38 lines · 1.8 KB
--- title: String data type description: Store alphanumeric text values using JavaScript data conventions. locale: en-US canonical_url: https://www.servicenow.com/docs/r/build-workflows/workflow-studio/string-data.html release: brazil product: Workflow Studio classification: workflow-studio topic_type: reference last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [Input and output data variables, Flows, subflows, and actions reference, Flows, subflows, and actions, Workflow Studio, Build workflows] --- # String data type Store alphanumeric text values using JavaScript data conventions. ## 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 String variables |Option|Description| |------|-----------| |Max length|Specifies the maximum length a string value can have when entered from the user interface. The variable can store longer strings than it can display.| |Hint|Provides guidance to flow or action designers on how to configure the data.| |Default value|Specifies the value used when a flow or action designer does not provide a value.| **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)
| title | String data type |
| description | Store alphanumeric text values using JavaScript data conventions. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/build-workflows/workflow-studio/string-data.html |
| release | brazil |
| product | Workflow Studio |
| classification | workflow-studio |
| topic_type | reference |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Input and output data variablesFlowssubflowsand actions referenceFlowssubflowsand actionsWorkflow StudioBuild workflows |