SustainabilityTask

Represents the tasks that the sustainability stakeholder does for a sustainability task group. This object is available in API version 64.0 and later.

Supported Calls 

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

Fields 

LastReferencedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp for when the current user last viewed a record related to this record.

LastViewedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp for when the current user last viewed this record. If this value is null, this record might only have been referenced (LastReferencedDate) and not viewed.

Name 

  • Type: string
  • Properties: Create, Filter, Group, idLookup, Sort, Update
  • Description: The name of the record.

OwnerId 

  • Type: reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: The ID of the user who owns this record. This field is a polymorphic relationship field.
  • Relationship Name: Owner
  • Refers To: Group, User

SustainabilityTaskGroupId 

  • Type: reference
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The sustainability task group that’s related to the sustainability task. This field is a relationship field.
  • Relationship Name: SustainabilityTaskGroup
  • Refers To: SustainabilityTaskGroup

TaskId 

  • Type: reference
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The task that’s related to the sustainability task. This field is a relationship field.
  • Relationship Name: Task
  • Refers To: Task

TaskStatus 

  • Type: picklist

  • Properties: Defaulted on create, Filter, Group, Nillable, Sort

  • Description: The status of the task related to the sustainability task.

  • Default value: Not Started

  • Possible values:

    • Completed
    • Deferred
    • In Progress
    • Not Started
    • Waiting on someone else

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.

SustainabilityTaskHistory

History is available for tracked fields of the object.

SustainabilityTaskShare

Sharing is available for the object.