Newer Version Available

This content describes an older version of this product. View Latest

FormulaEval Namespace (Developer Preview)

The FormulaEval namespace provides classes and methods to evaluate user-defined dynamic formulas for Apex objects and SObjects. Use the methods to avoid unnecessary DML statements to recalculate formula field values or evaluate dynamic formula expressions. All class methods must be called within the context of a global Apex class.

Feature is available as a developer preview. Feature isn’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. All commands, parameters, and other features are subject to change or deprecation at any time, with or without notice. Don’t implement functionality developed with these commands or tools in a production environment.

Note

The following are the classes and enums in the FormulaEval namespace.