漏洞 ID 编号 |
BUG-000175684 |
已提交 | April 9, 2025 |
上次修改时间 | June 23, 2025 |
适用范围 | ArcGIS Online |
找到的版本 | Feb 2025 |
操作系统 | Windows OS |
操作系统版本 | 11.0 64 bit |
状态 | As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
|
附加信息
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.
解决办法
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//
重现步骤