Loading

Error "The result returned by the SCRIPT function is of an unexpected type" When the Result is NA

Data pubblicazione: Jun 2, 2026
Descrizione

When using SCRIPT_REAL in a calculated field, and the result of the calculation in the script is NA, the following error may occur:

Unable to complete action
The result returned by the SCRIPT function is of an unexpected type.

Cause

This behavior is by design, since NA_real_ is of the expected type when using the SCRIPT_REAL() function.
 
Risoluzione
 Instead of using 'NA' in the calculation, use 'NA_real_'. 
Numero articolo Knowledge

001496564

 
Caricamento
Salesforce Help | Article