wkplan__CrisisMetricThreshold__c

Defines your organization's threshold values for every crisis metric. By default, Workplace Strategy Planner allows location opening and closing thresholds. The metric data value for each location is evaluated by the threshold values to determine its risk level and whether the location can be considered for either opening or closing. This object is installed as a part of the Workplace Strategy Planner managed package. This object is available in API version 50.0 and later.

Supported Calls

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

Fields

Field Details
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. A null value can mean the record was only referenced and not viewed.
Name
Type
string
Properties
Create, Defaulted on create, Filter, Group, idLookup, Nillable, Sort, Update
Description
The name of a crisis metric.
wkplan__CrisisMetric__c
Type
reference
Properties
Create, Filter, Group, Sort
Description
The crisis metric to which a threshold belongs. This field refers to the custom object Crisis Metric.
wkplan__DefaultValueText__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the default value for the text display of wkplan__DefaultValue__c. The default value displays only when the threshold values aren’t customized in your org.
wkplan__DefaultValue__c
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
The default value for a metric threshold in Workplace Strategy Planner. The default values are intended only to demonstrate the app features and capabilities. Customize metric threshold values in your org before using Workplace Strategy Planner.
wkplan__DisplayTextLabel__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
A reference to the label used for translating the display text. This field is used by Salesforce for translating labels from English into other supported languages. This field shouldn’t be edited.
wkplan__DisplayText__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Display text for a metric threshold to display in the Workplace Strategy Planner app. For example, Less Than {value} per 100,000. The display text can be an integer, percent, or text string.
wkplan__IsLowerThreshold__c
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description

Indicates whether the value of the field wkplan__Value__c is lower than the threshold value.

For example, if data for a crisis metric associated with a location is greater than or equal to the wkplan__Value__c of the opening threshold and the wkplan__IsLowerThreshold__c is set to true, the location is considered low risk and can be a candidate for opening. If the current metric data for a location is greater than or equal to the wkplan__Value__c of the closing threshold whenwkplan__IsLowerThreshold__cis set to true, the location is considered high risk and can be a candidate for closing.

wkplan__Type__c
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
The type of crisis metric threshold. The threshold type indicates the action or response to take when a threshold is reached.
The default values are:
  • Closing
  • Opening
wkplan__Value__c
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description

The numeric value of a threshold.

When the data value for a metric is greater than or equal to this field value and wkplan__IsLowerThreshold__c is set to true, the metric for that location is categorized into the appropriate risk level or threshold recommendation. See the field wkplan__IsLowerThreshold__c for more information.

Usage

Crisis metric thresholds allow your organization to set a range for the data values associated with each wkplan__CrisisMetric__c. When a data value for a metric associated with a location reaches a threshold, Workplace Strategy Planner categorizes the metric for that location as low, medium, or high risk. By default, the thresholds in Workplace Strategy Planner indicate when an organization should consider opening or closing a workplace location.

Set threshold values in your org. If a threshold value isn’t set for any metric, the default value is used to calculate the risk level for that metric in the dashboard. For information on how crisis metric thresholds are used in Workplace Strategy Planner, see Salesforce Help: How Risk Are Levels Calculated..