| ActualValue |
- Type
- double
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- The actual value of the WorkGoal
metric. Applicable only to WorkGoal
objects of Type: Metric.
|
| ActualValueExternalUrl |
- Type
- url
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Contains a URL that references work.com data
synchronization for the actual value of a metric.
Applicable only to WorkGoal
objects of Type: Metric.
|
| CompletionDate |
- Type
- dateTime
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- The completion date of the goal.
Field-level
security limits access to only administrators and
owners by default, and only they can complete a
goal.
|
| Description |
- Type
- textarea (max length 4000)
- Properties
- Create, Nillable, Update
- Description
- The description of the goal.
|
| DueDate |
- Type
- date
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The date the WorkGoal
object is due (optional). Applicable only to WorkGoal
objects of Type: Metric.
|
| FlaggedAs |
- Type
- picklist
- Properties
- Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description
- The progress of the WorkGoal
object. Applicable only to WorkGoal
objects of Type: Metric.
- Possible values:
- On Track: Progress on the metric is on
track.
- Behind: Progress on the metric is behind
schedule.
- Postponed: The metric is postponed.
- Critical: Progress on the metric is
critical.
|
| 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 WorkGoal
objects of Type: Goal.
|
| InitialValue |
- Type
- double
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- The initial value of the WorkGoal
metric. Applicable only to WorkGoal
objects of Type: Metric and
MetricType: Progress or
Percent.
|
| IsKeyCompanyGoal |
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group, Sort, Update
- Description
- Used to indicate if the goal is a key company goal. Used
for the Company Goal Showcase. Applicable only to WorkGoal
objects of Type: Goal.
|
| LastReferencedDate |
- Type
- dateTime
- Properties
- Filter, Nillable, Sort
- Description
- The time stamp that indicates when the current user last
viewed a record that is related to this goal.
|
| LastSyncDate |
- Type
- dateTime
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- The time stamp that indicates when the actual value was
last synced with the associated metrics report.
|
| LastViewedDate |
- Type
- dateTime
- Properties
- Filter, Nillable, Sort
- Description
- The time stamp that indicates when the current user last
viewed this goal.
|
| MetricType |
- Type
- picklist
- Properties
- Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description
- The type of metric that is represented. (See values in
the following list). Applies only to WorkGoal
objects of Type: Metric.
- Possible values:
- Progress: ActualValue / TargetValue as a
percentage
- Percent: the metric as a percentage only
- YesNo: the completed / not completed metric as a
milestone
- Absolute: Deprecated
|
| MetricTypeDataSource |
- Type
- picklist
- Properties
- Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description
- Specifies how the metric (ActualValue and CurrentValue)
is updated. Applies only to WorkGoal
objects of Type: Goal and
Metric.
- Possible values:
- Manual: indicates that the actual and target
value of the metric is updated manually by the
user
- Rollup: indicates that the actual and target
value of a goal is rolled up automatically by
Work.com Goals
- DataSyncActualOnly: indicates that the actual
value of the metric is linked to a Salesforce
report
|
| Name |
- Type
- string
- Properties
- Create, Filter, Group, idLookup, Sort, Update
- Description
- The name of the WorkGoal
object. (Maximum length is 255.)
|
| OverallStatus |
- Type
- string
- Properties
- Filter, Group, Nillable, Sort
- Description
- The overall calculated status of the WorkGoal
based on FlaggedAs and
CompletionDate.
|
| OwnerId |
- Type
- reference
- Properties
- Create, Defaulted on create, Filter, Group, Sort, Update
- Description
- ID of the user who owns the WorkGoal.
|
| ParentId |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Specifies the structural parent of the WorkGoal.
For example, a goal that has a metric is represented by
a WorkGoal of Type Metric, which has a
parent of WorkGoal
of Type Goal.
The root and the parent must be set
to the parent goal for any child
metrics.
|
| Progress |
- Type
- percent
- Properties
- Filter, Nillable, Sort
- Description
- Read Only. The overall progress of the WorkGoal.
|
| RootId |
- Type
- reference to a WorkGoal object
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Specifies the structural root of the WorkGoal.
For example, a goal that has a metric is represented by
a WorkGoal of Type Metric, which has a root
of WorkGoal of Type Goal.
|
| State |
- Type
- picklist
- Properties
- Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
- Description
- The state of the WorkGoal
object. Applies only to WorkGoal
objects of Type: Metric.
- Possible values:
- Draft: the draft state for the WorkGoal
- Published: published state for the WorkGoal
- Archived: archived state for the WorkGoal (for example, goals that no longer apply)
|
| TargetValue |
- Type
- double
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- The target value of the WorkGoal.
Applies only to WorkGoal
objects of Type: Metric.
|
| Type |
- Type
- picklist
- Properties
- Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
- Description
- The type of the WorkGoal
object, used to differentiate between the components of
a goal. (This field is used to represent components of a
goal such as its description and associated
metrics.)
- Possible values:
- Goal: a goal
- Metric: a metric (typically associated with
goals)
- Objective: an objective
- KeyResult: a key result (typically associated
with objectives
- V2Mom: a V2MOM (pilot feature)
- Vision: a vision (pilot feature —
typically associated with V2MOM)
- Value: a value (pilot feature - typically
associated with V2MOM)
- Method: a method (pilot feature - typically
associated with V2MOM)
- Obstacle: an obstacle (pilot feature - typically
associated with V2MOM)
- Measure: a measure (pilot feature - typically
associated with a method)
-
Administrators can rename goals and metrics to
objectives and key results, respectively. If this
preference is enabled, use the
Type Objective or KeyResult.
Otherwise, use the default Type
Goal or KeyResult.
|
| Weight |
- Type
- double
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- The weight of the goal or metric. The sum of the weights
should equal 100%.
|