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 Type Properties Description
Name string Create, Defaulted on create, Filter, Group, idLookup, Nillable, Sort, Update Required. The crisis metric name.
OwnerId reference Create, Defaulted on create, Filter, Group, Sort, Update 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 dateTime Filter, Nillable, Sort The timestamp for when the current user last viewed a record related to this record.
LastViewedDate dateTime Filter, Nillable, Sort 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 reference Create, Filter, Group, Nillable, Sort, Update The specific crisis that is measured by the related crisis metrics. This field refers to the Crisis object.
wkplan__DataSource__c textarea Create, Nillable, Update Reserved for future use.
wkplan__DescriptionLabel__c textarea Create, Nillable, Update 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 textarea Create, Nillable, Update 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 boolean Create, Defaulted on create, Filter, Group, Sort, Update 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 boolean Create, Defaulted on create, Filter, Group, Sort, Update Reserved for future use.
LastReferencedDate dateTime Filter, Nillable, Sort The timestamp for when the current user last viewed a record related to this record.
wkplan__MaxValue__c double Create, Filter, Nillable, Sort, Update 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 picklist Create, Filter, Group, Restricted picklist, Sort, Update 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:<ul><li>BusinessPriority—The business importance of opening or operating a location.</li><li>EmployeeData—Workforce availability, based on employee health and preference.</li><li>GovernmentGuidance—Public-policy and government recommendations or restrictions.</li><li>MedicalTrends—Data related to COVID-19 testing and patient care.</li></ul>
wkplan__MinValue__c double Create, Filter, Nillable, Sort, Update 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.

See Also