wkplan__CrisisMetric__c

Stores quantitative and qualitative data that can be used to measure an aspect of a crisis. Crisis metrics are used to better understand the severity of a crisis, such as the COVID-19 pandemic. Use them to help decide how to manage individual workplace locations during the crisis. 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
Name
Type
string
Properties
Create, Defaulted on create, Filter, Group, idLookup, Nillable, Sort, Update
Description
Required. The crisis metric name.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The ID of the user who currently owns this record. The default value is the user logged in to the API to perform the create operation.
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.
wkplan__Crisis__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The specific crisis that is measured by the related crisis metrics. This field refers to the Crisis object.
wkplan__DataSource__c
Type
textarea
Properties
Create, Nillable, Update
Description
Reserved for future use.
wkplan__DescriptionLabel__c
Type
textarea
Properties
Create, Nillable, Update
Description
A reference to the label used for translating the description. This field is used by Salesforce for translating labels from English into other supported languages. This field shouldn’t be edited.
wkplan__Description__c
Type
textarea
Properties
Create, Nillable, Update
Description
A short explanation of what this crisis metric measures. For example, a description for the Workplace Strategy Planner default metric Percent Positive is Percentage of COVID-19 tests that are positive.
wkplan__IgnoreIfDataIsEmpty__c
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Allows the Workplace Strategy Planner dashboard to ignore a metric when it has no data. This field isn’t used by default in Strategy Planner. Developers can use this field to create a checkbox that, when selected, allows Strategy Planner users to exclude metrics with no data from the dashboard.
wkplan__IsCustomMetric__c
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Reserved for future use.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed a record related to this record.
wkplan__MaxValue__c
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Along with wkplan__MinValue__c, used to define a metric threshold range. For example, the maximum value for the default Workplace Strategy Planner metric New Tests per 100,000 is 100,000.
wkplan__MetricCategory__c
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
Required. The category or criterion to which a crisis metric belongs. All metrics belong to criteria. These values can’t be customized.
The values are:
  • BusinessPriority—The business importance of opening or operating a location.
  • EmployeeData—Workforce availability, based on employee health and preference.
  • GovernmentGuidance—Public-policy and government recommendations or restrictions.
  • MedicalTrends—Data related to COVID-19 testing and patient care.
wkplan__MinValue__c
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Along with wkplan__MaxValue__c, used to define a metric threshold range. The minimum value for all default metrics is 1.

Usage

Crisis metrics track discrete data points and are organized into one of four criteria, the values for wkplan__MetricCategory__c. The default crisis metrics are populated in your org by the Workplace Strategy Planner managed package. Each metric can have opening and closing threshold values, set by your organization with the wkplan__CrisisMetricThreshold__c object. The threshold values are used in aggregate to determine the risk level for every workplace location, organized by criteria, and displayed in the Strategy Planner App dashboard.

The Strategy Planner managed package includes a custom, pre-configured connector that imports public COVID-19 data from a Snowflake Data Warehouse to populate the values for some default crisis metrics. Your organization must populate other crisis metrics. For information on the data type and source for all default metrics, review Salesforce Help: Understand Strategy Planner Criteria, Metrics, and Thresholds.