---
schema_version: "1"
id: aa55515b1f05d11f6bc2c8a1b57f1731882990ccac5a79e517c8b250852858e3
title: FunctionConnection
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_functionconnection.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_functionconnection.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 09ec7ebd2b8657a4d0038da0bac0644817210a87d1257fcd144a65ed4d98ea12
description: Represents a connection between an org and Salesforce Functions. This object is available in API version 52.0 and later.
---
# FunctionConnection

Represents a connection between an org and Salesforce Functions. This object is available in API version 52.0 and later.

In API version 53.0, the name of this object was changed from SfFunctionsConnection to FunctionConnection.

## Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), undelete(), update(), upsert()

## Fields

| Field | Details |
| --- | --- |
| Error | 
Type

string

Properties

Filter, Group, Nillable, Sort

Description

The error string, if any, for the connection between the org and Salesforce Functions.



 |
| FunctionsAccountLoginOrg | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The Salesforce Functions account login org.



 |
| FunctionsAccountName | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The Salesforce Functions account name.



 |
| FunctionsAccountUuid | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The unique Salesforce Functions account UUID. This is a generated ID that is not in Salesforce object ID format.



 |
| Sequence | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, Sort

Description

Sequence number for the record.



 |
| Status | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update

Description

The status of the connection between the org and Salesforce Functions.

Possible values are:

- Attempted
- None
- TrustedBiDirection
- TrustedUniDirection

The default value is 'None'. TrustedBiDirection indicates the connection is fully established.



 |

## Usage

FunctionConnection is not intended for direct use and should be treated as a read-only object that represents the current connection information between your org and Salesforce Functions. To create and manage connections between your org and Salesforce Functions use the steps and commands described in the [Salesforce Functions developer documentation](https://developer.salesforce.com/docs/platform/functions/guide/index.html).

FunctionConnection is not supported in Trialforce templates or org snapshots.