DevopsEnvironment
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.
Introduced in API version 64.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Description:
Indicates whether source tracking is enabled for this environment.
The default value is
false. -
Default value: false
- Type: picklist
- Properties: Filter, Group, Nillable, Restricted picklist, Sort
- Description: Possible values are: CORE
- Possible values:
- CORE — CORE
-
Type: string
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description:
The external reference ID for mapping cross-system records.
This field is unique within your org.
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Description:
Indicates whether the environment is a development environment.
The default value is
false. -
Default value: false
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Description:
Indicates if the connection to the environment is invalid or the environment has expired. For example, a deleted or expired scratch org, or a refreshed sandbox whose org ID no longer matches
OrgIdentifier.The default value is
false. -
Default value: false
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Description:
Indicates whether Lifecycle Center uses
test.salesforce.comfor login. When false, Lifecycle Center useslogin.salesforce.com.The default value is
false. -
Default value: false
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Description:
Indicates whether this pipeline is associated with a Code Builder (Agentforce Vibes) environment.
The default value is
false. -
Default value: false
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Tracks the last revision or sync point for source control to determine changes. Lifecycle Center uses this value to ensure that it doesn’t pull duplicate records.
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: The name of the environment.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The unique name of the named credential that Lifecycle Center uses to authenticate and connect to the org referenced by this environment.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The 18-character ID of the Salesforce org that this environment is connected to. Lifecycle Center connects to an org using a URL. When it connects, it compares its org ID with the value in this field. If the two IDs differ, Lifecycle Center determines that the connected org is a refreshed sandbox.
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Description:
Classifies the connected Salesforce org.
The default value is
PRODUCTION. -
Possible values:
- PRODUCTION — PRODUCTION (default)
- SANDBOX — SANDBOX
-
Default value: PRODUCTION
- Type: url
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The login URL Lifecycle Center uses to connect to the org.
- Type: datetime
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The date and time that this sandbox was last refreshed from its parent org. Lifecycle Center uses this field with Refresh Source ID to determine post-refresh state. For example, work items that are missing from a recently swapped environment.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description:
The ID of the environment that this sandbox was cloned from. Lifecycle Center uses this field and Refresh Date to determine which work items are missing from a recently swapped environment.
This field is a relationship field.
-
Relationship name: RefreshSource
-
Relationship type: relationship
-
Refers to: DevopsEnvironment
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description:
The ID of the environment that this one replaces during reconnection or sandbox swap.
This field is a relationship field.
-
Relationship name: Replaces
-
Relationship type: relationship
-
Refers to: DevopsEnvironment
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Use this object to manage and track the Salesforce orgs Lifecycle Center connects to for pipeline stages and work items.
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.