Skip to main content
Employee
Nov 27, 2026 5:44 AM UTC

KB-2452 APNX-1-4198-000: The Function 'todecimal' Is Unavailable Error Logged by the Editable Grid Preview in Appian 26.10

Symptoms

In Appian 26.10, hovering over the Editable Grid component in the interface designer's component palette shows a preview grid with no items, and an error is written to tomcat-stdOut.log:

YYYY-MM-DD HH:MM:SS,mmm [http-nio-8080-exec-X] ERROR com.appiancorp.rest.exprdesigner.service.EvaluateComponentTemplateAndPreviewService - Could not evaluate preview sail for gridLayout
Caused by: com.appiancorp.core.expr.exceptions.ExpressionRuntimeException$AppianExceptionProvider: Expression evaluation error [evaluation ID = XXXXX:XXXXX] at function a!forEach [line 34]: Error in a!forEach() expression during iteration 1: Expression evaluation error at function 'todecimal' [line 62]: Expression evaluation error : The function 'todecimal' is unavailable. (APNX-1-4198-000)

Cause

In Appian 26.10, todecimal() was deprecated and the recommended function is a!toDecimal().

The error thrown by the Editable Grid Preview has been reported to the Appian Product Team. The reference number for this issue is AP-82776.

Action

The error logged by the Editable Grid Preview is planned to be fixed in a future version of Appian. Once the fix is available, upgrade to the latest version of Appian.

In 26.10+, when writing new expressions, use a!toDecimal instead of todecimal(). Reference: https://docs.appian.com/suite/help/26.10/Appian_Release_Notes.html#todecimal-function

Affected Versions

This article applies to Appian 26.10 and later.

Last Reviewed: November 2026