Newer Version Available

This content describes an older version of this product. View Latest

Goal

The Goal object represents the components of a goal such as its name, description, and status.

Supported Calls

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

Fields

Field Name Details
CompletionDate
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
The completion date of the goal.
Description
Type
textarea
Properties
Create, Nillable, Update
Description
The description of the goal. The maximum length is 65,535 characters.
DueDate
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The date the goal is due.
ImageUrl
Type
url
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The URL for the goal image. The image must be stored in Documents and set as externally available. Applicable only to Goal objects of Type: Goal.
IsKeyCompanyGoal
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether the goal is a key company goal.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp that indicates when a user last viewed a record that is related to this goal.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp that indicates when a user last viewed this goal. If this value is null, this record might have been only referenced (LastReferencedDate) and not viewed.
Name
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
The name of the goal. The maximum length is 255 characters.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
ID of the user who owns the goal.
Progress
Type
percent
Properties
Filter, Nillable, Sort
Description
The progress of the goal measured as a percentage.
StartDate
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The start date of the goal.
Status
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The status of the goal.
Possible values:
  • Draft
  • Published
  • Completed
  • Canceled
  • Not Completed