Einstein Opportunity Scoring populates a score on each scored Opportunity. This score is exposed through the Opportunity Score field, whose API name is IqScore (integer/number field).
The Opportunity Score field is a derived read-only field. Its value is not stored directly in the Opportunity table row; instead, it is calculated and returned only when the field is explicitly queried. Because the value is not part of the record's in-row data, it is not automatically loaded into the record in an automation's transaction context. As a result:
{!$Record.IqScore}) returns null.Affected feature / product: Einstein Opportunity Scoring (Opportunity Score field) on the Opportunity object.
Conditions that trigger the issue:
Prerequisites to observe correct behavior: The Opportunity must be scored (a score must exist), and the running user must have access to Opportunity Scoring.
Important: Reading IqScore directly from the triggering record has never been a reliable way to obtain the score, because the field is derived. Customers may observe that this behavior appeared to work previously and then stopped; regardless of prior behavior, the supported method is to query the field explicitly as described below.
To reliably obtain the Opportunity Score value in automation, query the field explicitly instead of reading it from the triggering record.
In a record-triggered flow:
{!$Record.IqScore} for the score value, as it will be null.{!$Record.Id} (the triggering record's Id).IqScore) field from that queried record.In Apex: Re-query the Opportunity with SOQL after the trigger fires (for example, SELECT Id, IqScore FROM Opportunity WHERE Id = :recordId) and use the queried value rather than the value from the trigger context.
This query-based approach is a supported and stable method for retrieving the Opportunity Score field value.
Fix / version information: This is expected behavior for a derived field; there is no code fix or patch required or planned. The query-based workaround above is the recommended long-term solution.
IqScore (field label: Opportunity Score) on the Opportunity object. It is a derived, read-only integer field.$Record variable and may surface the following error: "The $Record.IqScore field contains a derived value that isn't supported. In a scheduled or record-triggered flow, $Record doesn't support some standard fields whose values are derived. Remove the $Record.IqScore field."$Record.IqScore directly has never been a supported method. The value should always be obtained via an explicit query (Get Records or SOQL).005390248

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.