---
sourceDocument: Australia Build workflows
sourceDocumentLink: https://www.servicenow.com/docs/r/build-workflows

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Build workflows

ft:clusterId :

    - crworkflow

bundleId :

    - crworkflow

workflow :

    - Creator


---

# Input and output data variables

# Workflow Studio input and output data variables {#ariaid-title1}

* Release version: Australia
* 
* Updated March 12, 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Workflow Studio Input and Output Data Variables

Workflow Studio enables users to manage input and output data through variables, which are crucial for storing and manipulating data in actions and subflows.
Understanding these variables allows ServiceNow customers to effectively create custom actions and flows.
Show full answer Show less  

## Key Features

* **Data Types:** Workflow Studio supports various data types that correspond to ServiceNow AI Platform records and complex data structures. This includes types like Record, Array, Choice, and JSON.
* **Input and Output Variables:** Action inputs and outputs are displayed as data pills in the Data pane, allowing users to easily view and manage data associated with workflows.
* **Hierarchy and Contents:** Users can expand data pills to inspect the contents and hierarchy of child elements related to the variables.
* **Subflow Management:** The UI clearly distinguishes between flow triggers and subflow inputs/outputs, enhancing data management within workflows.

## Key Outcomes

By leveraging the various data types and managing input/output variables effectively, ServiceNow customers can create more dynamic and efficient workflows. This results in improved automation and data handling, contributing to enhanced operational efficiency within their ServiceNow environment.  
Actions and subflows use variables to store input and output data. The variable data
type determines what kind of data it stores and its advanced configuration options.

## Data variables available for actions

The Workflow Studio UI displays action inputs as data pills in the Input Variables section of the Data pane. Action outputs are listed as data pills in the Output Variables section of the Data pane.

Workflow Studio does not display step input variables in the data pane. The output variables produced by each step are available in the data pane as part of the step that created them. For more information on
using input and output variables to create a custom action, see [Building actions](https://www.servicenow.com/docs/ssofuDFBgikvwwTRvpRm8w "Workflow Studio is the default ServiceNow AI Platform process automation builder used to create actions. Workflow Studio replaces the Workflow Editor.").  
Figure 1. Sample Workflow Studio data panel

Each data pill consists of a label and a data type description. For example, the Incident
input variable uses the Record data type to store an incident Sys ID. The Problem output
variable uses the Record data type to store a problem Sys ID. You can expand data pills to
see the contents and hierarchy of any child elements.

## Data variables available for flows and subflows {#action-inputs-outputs__section_zv4_3fh_blb}

The Workflow Studio UI displays the flow trigger as a data pill in the data pane, and displays subflow inputs as data pills in the Subflow Inputs section of the Data pane. Subflow outputs are listed as data pills
in the Subflow Outputs section of the Data pane.

Workflow Studio does not display action input variables in the data pane. The output variables produced by each action are available in the data pane as part of the action that created them. For more
information on using input and output variables to create a flow, see [Building flows](https://www.servicenow.com/docs/rdjXjcHvTmif13bwuZtdtg "Workflow Studio is the default ServiceNow AI Platform process automation builder used to create flows. Workflow Studio replaces the Workflow Editor.").

## Supported variable data types {#action-inputs-outputs__section_vrm_s2s_y1b}

Workflow Studio supports variable data types to store ServiceNow AI Platform record data and complex data. Variables that store record data must have a data type matching the ServiceNow AI Platform [field type](https://www.servicenow.com/docs/access?context=r_FieldTypes&version=australia&pubname=australia-platform-administration&ft:locale=en-US) of the source data. Variables for [complex data](https://www.servicenow.com/docs/tYVT1pPJOWkjWSc3dPFAWQ "Use a graphical interface to work with collections of complex structured data. Help design users understand the organization of structured data, and add, remove, or configure its individual elements.") must match the type of complex data stored, either an array or an object.  
Note:  
This reference documentation doesn't list all possible ServiceNow AI Platform data types available to actions and flows. Instead, the reference information focuses on the data types used by ServiceNow provided actions and flows. For a list and descriptions of available ServiceNow AI Platform data types, see [field type](https://www.servicenow.com/docs/access?context=r_FieldTypes&version=australia&pubname=australia-platform-administration&ft:locale=en-US).
* **[Approval rules data type](https://www.servicenow.com/docs/RDbiBGSB_J4CCcxN9MVhSA)**   
  Store the conditions for approving or rejecting an approval requests.
* **[Array.Boolean data type](https://www.servicenow.com/docs/x0umzLBl0BfXzXl3N5gtNQ)**   
  Store a sequence of true or false values in an array.
* **[Array.Choice data type](https://www.servicenow.com/docs/Ri6AH9ZbqgYM~lgw7tEwWA)**   
  Store a sequence of choice list values in an array.
* **[Array.Datetime data type](https://www.servicenow.com/docs/h5hS_SV2asW5oDk5v6mFrA)**   
  Store a sequence of date-time values in an array.
* **[Array.Integer data type](https://www.servicenow.com/docs/xz2u7Na8rvYF6Tal2cuHEA)**   
  Store a sequence of numeric integer data in an array.
* **[Array.Object data type](https://www.servicenow.com/docs/tlCj5kSQgw7EFlVz30wQYQ)**   
  Store a sequence of JavaScript objects in an array.
* **[Array.String data type](https://www.servicenow.com/docs/72QfdnytiGVtFMh3xFLVZw)**   
  Store a sequence of alphanumeric text values in an array.
* **[Choice data](https://www.servicenow.com/docs/tVr79bO4RchV7ehOzTo44g)**   
  Store choice list values for a specific choice field.
* **[Conditions data type](https://www.servicenow.com/docs/ab8~kTDow1w9cvUtQhfllA)**   
  Store a set of conditions for a specific type of record. You must select a source table to define the conditions.
* **[Datetime data type](https://www.servicenow.com/docs/lvFWjj2aYN3EUhpacVWsHA)**   
  Store date-time values.
* **[File attachment data type](https://www.servicenow.com/docs/88u9vGJiOukmSMRmBkoqbQ)**   
  Store a single file attachment as part of the action or flow's associated record rather than a record in the system Attachment table.
* **[Integer data type](https://www.servicenow.com/docs/u2OF8An_8Pu237uE6JoZ6g)**   
  Store numeric integer data. Integers are whole numbers only. Fractions and decimals values are not supported.
* **[JSON data type](https://www.servicenow.com/docs/9lrsfdQz46pBID84yBjgPA)**   
  Store JSON formatted text values. JSON values can be generated by integration steps or by scripts.
* **[List.\[Table\] data type](iFw94iYlZ3wtqPY_fjcYJA)**   
  Stores a list of record Sys IDs associated to a specific table. This variable supports ServiceNow AI Platform List field options such as default records and reference qualifiers.
* **[Object data type](https://www.servicenow.com/docs/FHHN372s9jPNG53kXmazWg)**   
  Store a JavaScript object.
* **[Password (2 Way Encrypted) design considerations](https://www.servicenow.com/docs/V65sZEg8iagNYZTM~_xdXg)**   
  Store encrypted password data that can be decrypted.
* **[Records.\[Table\] data type](lbj0muTloWx2A71GcDthUQ)**   
  Stores one or more Sys ID references to records in a specific table. The Records data format is also known as a Glide List since it stores a list of GlideRecord Sys ID values.
* **[Reference.\[Table\] data type](~GPyTWjzBcMZkjIrcEirVQ)**   
  Store a single Sys ID reference to a record in a specific table.
* **[String data type](https://www.servicenow.com/docs/4aajggXDwDR87uSjvG8U9w)**   
  Store alphanumeric text values using JavaScript data conventions.
* **[Table name data type](https://www.servicenow.com/docs/2HPMQwzucva0NUK~4Fb4Ig)**   
  Store a table name value as specified in the database dictionary. Table names are always alphanumeric strings.
* **[True/false data type](https://www.servicenow.com/docs/tCZOv8EaNQoXN95SCMBO4A)**   
  Store true or false values using JavaScript data conventions.
* **[Variables.\[Table\] data type](eTAfAhuBwQcoS5pzJnShug)**   
  Store a reference to a specific table of Glide variables such as a decision input variable.

