The value() function returns the numeric value contained in a text attribute.
Syntax
value(attribute API name)
Argument | Description |
attribute API name
(required) |
The attribute API name of the attribute holding the text value.
If the attribute does not contain text that can be converted to a numeric value, a blank value will be returned. |
Where Available
Available in all places the expression or injected expression icon is visible, as well as within Filter fields on Cards, Tables and List/View sections.
Examples
Where | Example(s) |
Metric expression
Business rules: Set Value Attribute expression |
value(headcount__c)
|
Field Editability
Tab Visibility Business rules: Condition |
Total_Bandwidth__c > value(headcount__c) |
Business Rules Notification Subject
Business Rules Notification Body Dynamic Filter |
{!value(headcount)}
*enclose the standard value() inside {!..} to inject the expression into a text string |