Select to view content in your preferred language

Arcade referencing original feature broken after update

1536
22
10-01-2025 07:09 AM
jmaxwell_braun
Frequent Contributor

We are getting errors for fields with Arcade calculated attributes after the Field Maps 2025.2 update. It appears to only affect expressions that use the $originalFeature variable. The error message is vague: "10 attributes failed". Was there anything in the latest update that would cause this? Thanks

Edit: Esri has determined this is a bug. BUG-000179854, Description: The $originalFeature function fails when creating a new feature in ArcGIS Field Maps version 25.2, but editing the existing feature is successful.

22 Replies
RPGIS
by MVP Regular Contributor
MVP Regular Contributor

Seems like an expression issue on the server side. It is probably something that a recent update may have caused a java handeling error.

The purpose of the $originalfeature is coded to look at the original record before any changes. For some of the codes it seems like it might be referencing a record that possibly doesnt exist on the first place. Its common in attribute rules to reference a nonexisting record.

0 Kudos
DougMorgenthaler
Esri Regular Contributor

This has been addressed in a recent update on iOS. Esri Support Info 

0 Kudos
JoryVerhagenWSRL
New Contributor

Has this new update fixed the issues for anybody here?

For me, the problem persists, even using 25.2.2 (iOS) and 25.2.3 (Android). These are the newest versions of Field Maps that are currently available. The version you referenced (25.2.1) didn't fix the issue for us unfortunately.

 

(Edit: Typo)

0 Kudos