Loading
The Trailblazer Community is now read-only Read More
Put Employees First with Work.com
Populate the Location Hierarchy and Recalculate Wellness Fact Records

Populate the Location Hierarchy and Recalculate Wellness Fact Records

Automatically run batch jobs to populate the location hierarchy and recalculate the aggregated wellness value for everyone at each location.

Required Editions

Available in: Lightning Experience
Available in: Enterprise and Unlimited Editions
Workplace Command Center is available as an add-on license.
  1. From the App Launcher, search for and select Command Center Settings.
  2. In the Location Data and Permissions tab, find the Configure Location Data section.
  3. Click Run.

Run these batch jobs when you disable or reenable the Work.com location trigger (b2w_LocationTrigger) and to recalculate location or wellness data for any other reason.

Note
Note Run these batch jobs during the initial setup process if you add or import location data to your org before completing all other configuration steps.

When the batch jobs are complete, your locations are organized into the hierarchical relationships that you specified. Any new or previously unassociated wellness values are associated with the survey respondent’s location.

To confirm the status of these batch jobs, go to Setup, and in the Quick Find box, enter Apex Jobs. In the table, confirm that the Job Type Batch Apex shows a Completed Status for the Apex Class b2w_PopulateLocationHierarchyBatch.

Jobs that you see for the b2w_LocationWellnessBatchScheduler class support aggregation efficiency for your reporting. No action on those jobs is necessary.

 
Loading
Salesforce Help | Article