---
schema_version: "1"
id: 878f668b8cb688cb63f29cc0ed2596a513a18368c0d89ff489c22df953569182
title: FlowVariableView
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_flowvariableview.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_flowvariableview.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 435bd107f15e9042a00de74a5d00c75933c3c29636da3908cd737813eef729aa
description: Represents a variable within the flow version. This object is available in API version 46.0 and later.
---
# FlowVariableView

Represents a variable within the flow version. This object is available in API version 46.0 and later.

## Supported Calls

describeSObjects(), query()

## Fields

| Field | Details |
| --- | --- |
| ApiName | 
Type

string

Properties

Filter, Group, Nillable, Sort

Description

The API name of the flow variable.



 |
| DataType | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The data type of the flow variable. Valid values are:

- Apex—This value is available in API version 46.0 and later.
- Boolean
- Currency
- Date
- DateTime—This value is available in API version 30.0 and later.
- Number
- Multipicklist—This value is available in API version 34.0 and later.
- Picklist—This value is available in API version 34.0 and later.
- String
- sObject





 |
| Description | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Flow variable information, specified by the org’s admin.



 |
| DurableId | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The Id of the flow variable.



 |
| FlowVersionViewId | 

Type

string

Properties

Filter, Nillable, Sort

Description

The Id of the flow version.

This is a relationship field.

Relationship Name

FlowVersionView

Relationship Type

Lookup

Refers To

FlowVersionView



 |
| IsCollection | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether or not the flow variable is a collection of values.



 |
| IsInput | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicated whether or not the flow variable is available for input.



 |
| IsOutput | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether or not the flow variable is available for output.



 |
| ObjectType | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

If the data type is sObject, this field indicates which object.



 |

## Usage

Use this object to query information about flow variables. A query must be filtered by FlowVersionViewId to get results. Only variables with IsInput or IsOutput marked as true are visible.