laptop and a wrench

Bogue

The calculated expression triggered automatically when a feature is selected despite no changes or edit made to the trigger field.

ArcGIS Online
Numéro d’ID de bogue BUG-000175684
EnvoiApril 9, 2025
Dernière modificationJune 23, 2025
S’applique àArcGIS Online
Version trouvéeFeb 2025
Système d’exploitationWindows OS
Version du système d’exploitation11.0 64 bit
StatutAs Designed

Informations supplémentaires

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.

Solution de contournement

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//

Étapes pour reproduire

ID de bogue: BUG-000175684

Logiciel:

  • ArcGIS Online

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement