---
schema_version: "1"
id: 1450bc21df53d746da86c6b4fde2999786baa4a355b9d891d2596fdad55eeef1
title: DevopsPipelineEnvironment
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_devopspipelineenvironment.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_devopspipelineenvironment.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: fbb7d9359b8b1c8fd1c9f1630f1f5fb5a40bf53cb1c284a69a3420b4d1e8b75d
description: Represents the association between a DevopsPipeline and DevopsEnvironment objects. This object defines which orgs are part of the release pipeline. This object is available in API version 66.0 and later.
---
# DevopsPipelineEnvironment

Represents the association between a DevopsPipeline and DevopsEnvironment objects. This object defines which orgs are part of the release pipeline. This object is available in API version 66.0 and later.

## Supported Calls

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

## Fields

| Field | Details |
| --- | --- |
| DevopsEnvironmentId | 
Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the DevopsEnvironment record associated with the pipeline.

This field is a relationship field.

Relationship Name

DevopsEnvironment

Refers To

DevopsEnvironment



 |
| DevopsPipelineId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

The ID of the parent DevopsPipeline record that this environment belongs to.

This field is a relationship field.

Relationship Name

DevopsPipeline

Relationship Type

Master-detail

Refers To

DevopsPipeline (the parent object)



 |
| IsActive | 

Type

boolean

Properties

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

Description

Indicates whether the environment is active for the specified pipeline.

The default value is false.



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferenceDate is not null, the user accessed this record or list view indirectly.



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

A unique, auto-generated name for the pipeline environment association record.



 |

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[DevopsPipelineEnvironmentFeed](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_associated_objects_feed.htm)

Feed tracking is available for the object.

[DevopsPipelineEnvironmentHistory](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_associated_objects_history.htm)

History is available for tracked fields of the object.

#### See Also

- [DevopsPipeline](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_devopspipeline.htm "Represents a release pipeline in Lifecycle Center, which is the ordered path work items follow from development to production. Related DevopsPipelineStage records store the pipeline stages. This object is available in API version 67.0 and later.")
- [DevopsEnvironment](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_devopsenvironment.htm "Represents a connection from Lifecycle Center to an environment, which currently can be only a Salesforce org. Developers use development environments to do their work. Each pipeline stage has an associated environment. This object is available in API version 66.0 and later.")
- [DevopsPipelineStage](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_devopspipelinestage.htm "Represents a connection between a pipeline, an environment, and the source control branch used for that stage. The collection of all pipeline stages in a project make up the Lifecycle Center pipeline. This object is available in API version 66.0 and later.")