I am trying to create a webhook that will send an email when the status changed to a specific value. It looks like I need the fieldsToCompare array but the supportsFieldsToCompare property is set to false. I have tried using updateDefinition to change the supportsFieldsToCompare to true but I get this error "Field 'extractChangesCapabilities' cannot be updated."
This involves a hosted feature service on ArcGIS Enterprise 11.5 with Change Tracking enabled and Sync disabled. I have tried with other hosted feature services and the result is the same. Here is part of the service's definition.
"capabilities": "Query,Create,Update,Delete,Editing,Extract,Uploads,ChangeTracking",
"xssPreventionInfo": {
"xssInputRule": "rejectInvalid",
"xssPreventionRule": "input",
"xssPreventionEnabled": true
},
"supportsAppend": true,
"supportsDisconnectedEditing": false,
"maxFieldNameLength": 63,
"extractChangesCapabilities": {
"supportsFeatureReturn": true,
"supportsReturnHasGeometryUpdates": false,
"supportsLayerQueries": true,
"supportsReturnAttachments": true,
"supportsReturnIdsOnly": true,
"supportsServerGens": true,
"supportsFieldsToCompare": false,
"supportsGeometry": true,
"supportsReturnExtentOnly": true
},
"supportedAppendFormats": "featureCollection,featureService,shapefile",
"serviceAdminOperationsOptions": {
"deleteFromDefinition": [
"tables",
"layers"
],
"addToDefiniton": [
"tables",
"layers"
],
"updateDefinition": [
"initialExtent",
"preferredTimeReference",
"GUIDFormat",
"datumTransformations",
"xssPreventionInfo",
"preserveLayerIds",
"zDefault",
"serviceDescription",
"layerOverridesEnabled",
"allowGeometryUpdates",
"editorTrackingInfo",
"canUseTopologicalSortForRelationshipOrdering",
"copyrightText",
"description",
"enableZDefaults",
"hasStaticData",
"syncRowsMovedOutsideFilter",
"maxRecordCount",
"enforceDefinitionQueryDuringEdit",
"maxViewsCount",
"capabilities",
"supportsBiDirectionalSyncForServer",
"maxIdsCount"
]
},
"currentVersion": 11.5,