Bug ID Number |
BUG-000175684 |
Submitted | April 9, 2025 |
Last Modified | June 23, 2025 |
Applies to | ArcGIS Online |
Version found | Feb 2025 |
Operating System | Windows OS |
Operating System Version | 11.0 64 bit |
Status | As Designed
After review by the development team, it has been determined that this behavior is as designed. See the Additional Information section for details.
|
Additional Information
Whenever a feature is selected on the map and the editing workflow is opened, this is recognized as an update operation. That is why the calculated expression is re-calculating when the feature is selected again. The arcade expression is comparing the current attribute for the Notification_Status field shown in the Form (B) and comparing this to what is on the service (B), and because the values are the same it is showing 'No change'. This is expected behavior based on the authored script. If Back or Cancel is selected on the edit session, the original expected value (Changed from A to B) will be preserved on the feature.
Workaround
To ensure that an expression runs only in specific scenarios, leverage the $editContext.editType
profile variable available in the Form Calculation profile: https://developers.arcgis.com/arcade/profiles/form-calculation//
Steps to Reproduce