Migrate to Event Alert V2

From 3B Knowledge
Jump to navigation Jump to search

Version 9.11 of the WFM package introduces a new object Event Alert (b3s__Event_Alert_V2__c). This is necessary as we are moving to a native way of calculating the count of Penalty Alerts (i.e. those where the Penalty number field is with a value that's negative). The change is required for speed and volume optimizations of the planner.

Migration Guide for Existing Customers:

  1. Move all Reports and Automations (APEX/FLOW) as well as customizations (Workflow Rules, Email Alerts) to the new object with the postfix V2. All the other fields inside the object are named the same.
  2. Update Page Layouts, Lightning Record Pages to display the new Event Alerts V2 obejct's records
  3. Delete the old b3s__Event_Alert__c object from the client org
  4. Update the Custom Metadata Definitions referencing the b3s__Event_Alert__c object to reference the b3s__Event_Alert_V2__c
  5. Remove the field Count of Penalties number field on the Shift Object (if upgrading from version 9.9/9.10). Rely on the roll up field b3s__Event_Penalties__c