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.

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

FieldTypePropertiesDescription
NamestringCreate, Defaulted on create, Filter, Group, idLookup, Nillable, Sort, UpdateRequired. The crisis metric name.
OwnerIdreferenceCreate, Defaulted on create, Filter, Group, Sort, UpdateThe 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.
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.
wkplan__Crisis__creferenceCreate, Filter, Group, Nillable, Sort, UpdateThe specific crisis that is measured by the related crisis metrics. This field refers to the Crisis object.
wkplan__DataSource__ctextareaCreate, Nillable, UpdateReserved for future use.
wkplan__DescriptionLabel__ctextareaCreate, Nillable, UpdateA 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__ctextareaCreate, Nillable, UpdateA 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__cbooleanCreate, Defaulted on create, Filter, Group, Sort, UpdateAllows 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__cbooleanCreate, Defaulted on create, Filter, Group, Sort, UpdateReserved for future use.
LastReferencedDatedateTimeFilter, Nillable, SortThe timestamp for when the current user last viewed a record related to this record.
wkplan__MaxValue__cdoubleCreate, Filter, Nillable, Sort, UpdateAlong 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__cpicklistCreate, Filter, Group, Restricted picklist, Sort, UpdateRequired. 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__cdoubleCreate, Filter, Nillable, Sort, UpdateAlong with wkplan__MaxValue__c, used to define a metric threshold range. The minimum value for all default metrics is 1.

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