Orders: New Behavior for Saving Orders (Update)
Now it’s easier to run custom application logic on orders. Salesforce
evaluates custom application logic when a new order product or edited order product causes a
change to the parent order.
Where: This change applies to Salesforce Lightning Experience and Salesforce Classic.
Why: Previously, Salesforce didn’t run custom application logic when an order product update caused a change to the parent order. For example, it didn’t run logic when a new order product caused a change to the order’s total amount. Users who wanted to enforce custom applications in these scenarios required further customizations for a workaround.
How: Go to the Enable New Order Save Behavior release update tile and click Enable Test Run.
When the New Order Save Behavior is active, Salesforce evaluates and runs the following customizations whenever an order product update changes the parent order.
- Order and order product validation rules
- Order and order product Apex triggers and classes
- Order and order product workflow rules
- Flows, including processes

