{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":3954,"path":"build-workflows/workflow-studio/array-integer-data.md","title":"Array.Integer data type","bundle":null,"doc_type":null,"release":"australia","body":"\n# Array.Integer data type\n\nStore a sequence of numeric integer data in an array.\n\n## Basic options\n\n|Option|Description|\n|------|-----------|\n|Label|Displays the label used to identify the data variable in the Workflow Studio interface. The label can consist of any text.|\n|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.|\n|Type|Indicates the type of data stored by the data variable.|\n|Mandatory|Indicates whether the data variable must contain a value when configured in an action.|\n\n## Advanced options for Array variables\n\n|Option|Description|\n|------|-----------|\n|Hint|Provides guidance to flow or action designers on how to configure the data.|\n|Max rows|Specifies the maximum number of entries to display in the Workflow Studio interface. The array can store more values than it displays.|\n\n## Advanced options for Integer variables\n\n|Option|Description|\n|------|-----------|\n|Hint|Provides guidance to flow or action designers on how to configure the data.|\n|Default value|Specifies the value used when a flow or action designer does not provide a value.|\n\n## Example\n\nYou can use an array of integers to store the output of a script method call. For example, the Fetch Document Approval Sequence action uses a script step to generate an approval sequence data pill. The script output variable stores the sequence of approvers as an array of integers.\n\n\\[Omitted image \"example-script-output-array-integers.png\"\\] Alt text: Script step that defines an output variable named Approver Sequence with the data type of Array.Integer\n\n**Parent Topic:**[Workflow Studio input and output data variables](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/action-inputs-outputs.md)\n\n"}}