In ArcGIS Pro 2.9 Branch Version Error Inspector Evaluate Rules (checked modified in this version) evaluating all the features of the feature class

850
4
10-16-2022 11:51 PM
SU00861536
New Contributor III

Hi All,
We are using ArcGIS Pro Version 2.9.
In this we created branch version of the feature class and doing editing on the branch version of the feature class. We implemented some validation rules and for validation using error inspector, in evaluate rules we checked "Modified in this version" but when clicked on evaluate rules button, its evaluating all the features ( including non edited features in this child version) existing in the feature class.

SU00861536_0-1665989464507.png

Scenario:
In this feature class there are 100 features and we have added one new feature in this branch version.

When we run "Evaluate Rules", it is evaluating all the 101 features, ideally should evaluate only 1 feature which we added newly.

Expected behavior:
When we run "Evaluate Rules", it should run validations on the newly created feature.

any suggestion or alternative to achieve this. Thanks

0 Kudos
4 Replies
JayCary
Esri Contributor

This might be related to the implementation approach that was taken with the validation attribute rule. Are your validation rules based on Arcade or Data Reviewer's Ready to Use Rules gallery?

0 Kudos
SU00861536
New Contributor III

Hi @JayCary 

We are using Arcade expression based validation rules.error.JPG

0 Kudos
AmiraAidaAmiruddin
New Contributor II

Hi @JayCary,

Is there a bug regarding this when using Arcade expression based validation rules?

Appreciate your thoughts on this.

 

Thanks,

Amira

0 Kudos
HusseinNasser2
Esri Contributor

Your expectation is correct. Evaluate with changes - in version option should only evaluate features updated/inserted in the version. 

We were able to reproduce locally and this seems to be a bug in Pro where if you close or minimize the error inspector the options won't persist while the UI continue to show you that it did.  We will try to address this in the next 2.9 patch.  

As a workaround 

1) Switch to your version

2) Remove the error layers 

3) Close the error inspector

3) Save and close pro

4) Open the project back, Add error layer, then open the error inspector make sure the error inspector is on docked (not auto-hide) 

5) Select the modify in version option and evaluate, should work. 

 

Tags (1)