Select to view content in your preferred language

"Create Feature" step in Task (.esritask) doesn't return error if Attribute rules are violated.

258
3
04-25-2024 10:43 PM
Status: Under Consideration
Labels (1)
GeeteshSingh07
Occasional Contributor II

Steps to Reproduce:

  • In ArcGIS Pro, create a feature class containing numeric field (name: Value, data type: Short).
  • Add Constraint attribute rule (such that, if value is greater than 5, then while creating a feature we get an error).
  • Create a feature template (only, ‘Value’ field will be visible while Creating Features).
  • In the ribbon, click Edit >> Create features >> Select the ‘template’ and enter the value that violates the attribute rule > Create a point in map.
  • It throws an error, which is expected as the attribute rule is violated.
  • Create Esri Task. Configure, a simple ‘Create Feature’ step in the task.
  • Save the task.
  • Use the task to create a feature >> Enter the value that violates the attribute rule >> Create a point in map.
  • We observe that no error is returned when we try to create a feature. Feature is also not getting created.

Description: This enhancement requests to provide an error message if attribute rule is violated when creating a feature using Esri Task.

Use Case:

  • When utilizing an Esri Task to generate a feature that violates an attribute rule, no error message is returned, consequently impeding feature creation without clear indication of the issue.
  • As a user I have no idea that why I am unable to create the feature. This enhancement requests to give the error message if any attribute rule is violated.
  • The .esritask is mainly created to guide the users for steps to be followed and make the workflow easier. However, due to this buggy behavior, the user gets stuck and it gives a bad user experience.
  • Implementing this enhancement would enable users to construct tasks efficiently, adhere to correct procedures, and receive prompt error feedback, thereby elevating user satisfaction and efficiency.
Tags (2)
3 Comments
GeeteshSingh07

After contacting with Esri, Esri has logged enhancement:

ENH-000167049 

  • Allow for an attribute rule error message to appear as a pop-up when using a task in ArcGIS Pro. 
Yogesh_Chavan

Great idea @GeeteshSingh07, hope ESRI implement it soon.

AmirBar-Maor
Status changed to: Under Consideration