FME 2025.1.3.0 Build 25643
I downloaded the new ArcGIS Feature Service Package and set up a connection using the Esri ArcGIS Online OAuth Web service.
When I attempt to insert a new feature into an existing AGOL feature service using the default values of the Esri ArcGIS Feature Service format, I get a warning
WARN |ArcGISFeatureServiceWriter: The field 'GlobalID' has a NotNull constraint, but it is NULL, missing, or empty. Skipping feature...
The feature is not committed but the FeatureWriter or Writer (I tested both) shows success and the number of features written as 1. Without reading through the warnings, I wouldn’t know there was a problem.
Since I’m inserting a feature I don’t have a globalid! And the field is noneditable in the feature service, so it seems like an odd error.
Messing around with the settings I found that if I made sure the GlobalID field was exposed in the User Attributes and in the Advanced Parameters “Use GlobalID” was set to Yes, then the feature would insert. But I don’t understand why this is the case.
If the Use GlobalID is set to Yes and the GlobalID attribute is not exposed, the FeatureWriter fails. That is at least more obvious.
Previously when writing to AGOL feature services I would tend to not expose the noneditable fields (ObjectID, GlobalID, edit tracking fields) to limit the number of warnings logged by FME that fields are noneditable and won’t be updated.
Is this intentional or a bug?
I reproduced this in a workspace that simply uses a creator to create 1 point feature and then inserts it in my test feature service which I created with no extra fields or anything.


