Salesforce enforces release updates during each major release cycle, which may alter the behavior of specific features or products. To ensure smooth operations, it’s essential to prepare by testing these updates in a sandbox environment before they are automatically enabled in your production environment starting January 2025.
Image Source: Salesforce
Preparation Steps
-
Test in Sandbox First
Enable release updates in a sandbox to identify potential impacts on your system or workflows. This precaution helps ensure a seamless transition when updates are enforced in production.
-
Tools for Developers
If you have development expertise, leverage tools like Salesforce DX (SFDX) to scan metadata for references affected by the updates. Additionally, tools such as Salesforce Inspector Reloaded or Workbench can be used to query records or permissions for deeper insights.
-
Stay Updated with Release Notes
Salesforce occasionally delays or cancels certain updates. Regularly review the latest release notes to stay informed about changes.
Spring ’25 Release Updates
When the Spring ’25 release is deployed, several updates will be auto-enabled. Below are key updates, their impacts, and steps to prepare in sandbox and production environments.
-
Enforce Permission Requirements on Built-In Apex Classes Used as Inputs
Impact:
Flows or Process Builders that invoke Apex methods could behave differently. Apex called in this manner will now execute in the current context if it interacts with built-in Apex classes as inputs.
Preparation Steps:
- Identify Impacted Apex Methods
- Search for @InvocableMethod in your Apex classes.
- Review references in Flows, Process Builders, or Einstein features.
- Sandbox Testing:
- Enable the test run for this update.
- Validate that all identified Invocable methods function as expected.
- If applicable, test these methods via the REST API.
- Production Deployment:
- Plan deployment during non-working hours to minimize disruptions.
- Test changes post-deployment to ensure functionality.
For detailed guidance on this update, consult the official Salesforce documentation and release notes.
-
Enforce Rollbacks for Apex Action Exceptions in REST API
Impact:
REST API calls to Apex Actions will now be rolled back if an exception occurs, ensuring data consistency.
Preparation Steps:
- Sandbox Testing:
- Use tools like Workbench or Postman to manually trigger REST API calls.
- Enable the test run and verify that Apex actions behave as expected under various scenarios.
- Production Deployment:
- Deploy changes during off-peak hours.
- Enable the test run and validate impacted functionality in production.
For detailed guidance on this update, consult the official Salesforce documentation and release notes.
-
Sort Apex Batch Action Results by Request Order
Impact:
Batch Apex job results will now be sorted based on the order of requests, changing the current arrangement where errors appear at the top.
Preparation Steps:
- Sandbox Testing:
-
- Identify Batch Apex jobs from Setup.
- Enable the test run and validate logging mechanisms or custom error handling.
-
- Production Deployment:
- Deploy changes during off-hours.
Ensure Batch Apex jobs function as expected post-deployment.
-
Use Apex-Defined Variables for All Intelligence Signal Types
Impact:
Service Cloud Voice flows that use intelligenceSignals must include an Apex-defined variable as an input to prevent errors.
Preparation Steps:
- Sandbox Testing:
- Ensure Service Cloud Voice is properly configured.
- Modify affected flows to accept Apex-defined variables as inputs.
- Enable the test run and validate use cases triggering these flows.
- Production Deployment:
Deploy updated flows during off-hours and ensure all intelligence rules function correctly.
For detailed guidance on this update, consult the official Salesforce documentation and release notes.
Best Practices for Deployment
- Always test updates in a sandbox before enabling them in production.
- Schedule production changes outside business hours to minimize disruption.
- Collaborate with managed package providers to ensure compatibility with the updates.
By following these guidelines and staying proactive, you can ensure a smooth transition to the new features and functionalities introduced by Salesforce release updates.
Source: Read MoreÂ