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.

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

FieldTypePropertiesDescription
LastReferencedDatedateTimeFilter, Nillable, SortThe timestamp for when the current user last viewed a record related to this record.
LastViewedDatedateTimeFilter, Nillable, SortThe timestamp for when the current user last viewed this record. A null value can mean the record was only referenced and not viewed.
NamestringCreate, Defaulted on create, Filter, Group, idLookup, Nillable, Sort, UpdateThe name of a crisis metric.
wkplan__CrisisMetric__creferenceCreate, Filter, Group, SortThe crisis metric to which a threshold belongs. This field refers to the custom object Crisis Metric.
wkplan__DefaultValueText__cstringCreate, Filter, Group, Nillable, Sort, UpdateStores 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__cdoubleCreate, Filter, Nillable, Sort, UpdateThe 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__cstringCreate, Filter, Group, Nillable, Sort, UpdateA 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__cstringCreate, Filter, Group, Nillable, Sort, UpdateDisplay 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__cbooleanCreate, Defaulted on create, Filter, Group, Sort, UpdateIndicates 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__cpicklistCreate, Filter, Group, Restricted picklist, Sort, UpdateThe 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__cdoubleCreate, Filter, Nillable, Sort, UpdateThe 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.

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..

See Also