I have a attribute rule for an immediate calculation to populate sequential IDs using the arcade function NextSequenceValue() when an insert is triggered.
When I try inserting a new row into the feature service's attribute table from ArcGIS Pro, I get an error that says:
Add table row failed.
ERROR: Unable to complete operation. Unable to perform applyEdits operation.
On ArcGIS Server, the log says:
Error: The field is not nullable. [inventory_a2z_id]
I do not have this issue if I add a new row in the geodatabase table directly in ArcGIS Pro.
Additional info:
ArcGIS Enterprise 10.8.1
ArcGIS Pro 2.7.3
Immediate Calculation Arcade Expression: return NextSequenceValue('InventoryIDs')
Triggers: Insert
Execution: Exclude from client evaluation is enabled (box checked)