laptop and a wrench

Bug

Attribute rule is able to save in Oracle and Postgres but not in SQL Server database.

Last Published: August 11, 2021 ArcGIS Pro
Bug ID Number BUG-000142024
SubmittedAugust 6, 2021
Last ModifiedMay 19, 2026
Applies toArcGIS Pro
Version found2.8.1
Operating SystemWindows OS
Operating System Version10.0
StatusAs Designed

Additional Information

Guard logic must be added on the value of the GlobalID. Use template literals when possible, as shown below: var g = $feature.CreatedByRecord var fsParentRecord = Filter(fsRecord, "GlobalID = @g"); More information and best practices are available in the article: https://community.esri.com/t5/attribute-rules-blog/attribute-rule-authoring-and-configuration-tips/ba-p/1023745

Workaround

Use a FOR loop instead of a filter method in the script.

Guard logic must be obtained on the value of the GlobalID. Use template literals, more information and best practices are available in the following article: https://community.esri.com/t5/attribute-rules-blog/attribute-rule-authoring-and-configuration-tips/ba-p/1023745

Steps to Reproduce

Bug ID: BUG-000142024

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options