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

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil 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: Brazil  
Updated September 10, 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

In Workflow Studio, actions and subflows use variables to manage input and output data, facilitating data handling across workflows.
Variables are displayed as data pills in the Workflow Studio data pane, helping users visualize and work with workflow data efficiently.
Understanding the types and behavior of these variables is essential for building custom actions and flows within ServiceNow.
Show full answer Show less  

## Data Variables in Actions, Flows, and Subflows

* **Actions:** Inputs appear as data pills in the Input Variables section, while outputs appear in the Output Variables section. Step input variables are not shown in the data pane, but step output variables are accessible within the step context.
* **Flows and Subflows:** Flow triggers and subflow inputs/outputs appear as data pills in their respective sections of the data pane. Action input variables within flows are not displayed, but action output variables are available within the action context.

This design provides clear visibility into data flow while building and debugging workflows.

## Supported Variable Data Types

Workflow Studio supports a range of variable data types to handle ServiceNow AI Platform record data and complex data structures. Variables must match the data type of their source fields or data formats. Key supported types include:

* **Record-related types:** Reference, Records (Glide List), List, Variables (Glide variables), and Table name.
* **Primitive types:** String, Integer (whole numbers only), Boolean (true/false), Datetime, Choice, and JSON.
* **Complex types:** Arrays (Boolean, Choice, Datetime, Integer, Object, String), Object (JavaScript object).
* **Specialized types:** Approval rules (approval conditions), Conditions (record conditions), File attachment (single file linked to a record), Password (encrypted and decryptable).

These data types enable precise and reliable data management within workflows, supporting a wide variety of business logic and integrations.

## Practical Implications for ServiceNow Customers

ServiceNow customers leveraging Workflow Studio should:

* Use appropriate variable data types matching their data source for consistency and accuracy.
* Utilize the data pane to track inputs and outputs of actions, flows, and subflows, improving transparency and troubleshooting.
* Leverage complex data types like arrays and objects to handle structured data efficiently.
* Apply specialized types such as Approval rules and File attachments to meet specific workflow requirements.

Mastering these variable types and their usage helps customers build robust, maintainable workflows that align with their business processes.  
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/1q1hi80IAAoV02L0p4Xq_Q "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/ySxoN4ji1UYM5vTAO~hKVw "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=brazil&pubname=brazil-platform-administration&ft:locale=en-US) of the source data. Variables for [complex data](https://www.servicenow.com/docs/kOWMv2XXJdAyiN_5ldPysA "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=brazil&pubname=brazil-platform-administration&ft:locale=en-US).
* **[Approval rules data type](https://www.servicenow.com/docs/XQkllgDVplmIAE2Pdcg0Sg)**   
  Store the conditions for approving or rejecting an approval requests.
* **[Array.Boolean data type](https://www.servicenow.com/docs/~hOZGWqaBZZdzwEvt8jWMg)**   
  Store a sequence of true or false values in an array.
* **[Array.Choice data type](https://www.servicenow.com/docs/YovZ_z1lmMZOp44WbwnEQg)**   
  Store a sequence of choice list values in an array.
* **[Array.Datetime data type](https://www.servicenow.com/docs/k0kesxQH9Pq4mTEzf4LiPQ)**   
  Store a sequence of date-time values in an array.
* **[Array.Integer data type](https://www.servicenow.com/docs/fjK50DZhz_ObJTTLlrGcvA)**   
  Store a sequence of numeric integer data in an array.
* **[Array.Object data type](https://www.servicenow.com/docs/uqsXqu3uwKhUfboV0KUW9Q)**   
  Store a sequence of JavaScript objects in an array.
* **[Array.String data type](https://www.servicenow.com/docs/PNnpTGbNR7slo9f80LiLRA)**   
  Store a sequence of alphanumeric text values in an array.
* **[Choice data](https://www.servicenow.com/docs/KZYXvijiLyNKjibJpHhYhg)**   
  Store choice list values for a specific choice field.
* **[Conditions data type](https://www.servicenow.com/docs/Z7PuVdkB~fW4tAXkLkZRTw)**   
  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/DQxTBssyojERZsf9icKo4w)**   
  Store date-time values.
* **[File attachment data type](https://www.servicenow.com/docs/QJSJYnNsxJUUiOGFwjLNCg)**   
  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/QLV8XlE6Q9DXJxdh8eB6pQ)**   
  Store numeric integer data. Integers are whole numbers only. Fractions and decimals values are not supported.
* **[JSON data type](https://www.servicenow.com/docs/gNwvF65RhkTM7cDFVwTGeg)**   
  Store JSON formatted text values. JSON values can be generated by integration steps or by scripts.
* **[List.\[Table\] data type](2Y16VV9SBIhqvW4x3CfXTg)**   
  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/NnjZhCyOUdTcuQpIqgfcZw)**   
  Store a JavaScript object.
* **[Password (2 Way Encrypted) design considerations](https://www.servicenow.com/docs/dolLuLuN0BiUHsYsHCxcQA)**   
  Store encrypted password data that can be decrypted.
* **[Records.\[Table\] data type](ckMmcCE4C1mMUiLvEju9Kg)**   
  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](zak6l0CyLc3mbQxWmxiFZA)**   
  Store a single Sys ID reference to a record in a specific table.
* **[String data type](https://www.servicenow.com/docs/pLukESwPSeXdV8sqNnDw4w)**   
  Store alphanumeric text values using JavaScript data conventions.
* **[Table name data type](https://www.servicenow.com/docs/OqPcxiQeNys9vJBXgVD2tQ)**   
  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/40aam8ThxZeMlQPnGH71yQ)**   
  Store true or false values using JavaScript data conventions.
* **[Variables.\[Table\] data type](yZczlGqL0d8_Q_30w1g1Yg)**   
  Store a reference to a specific table of Glide variables such as a decision input variable.

