Evaluate geodatabase rules and functionality that are managed by services.
The input feature service workspace must have the validation capability enabled.
EvaluateRules_management (in_workspace, evaluation_types, extent, async)
The URL of a feature service that has the validation capability enabled, for example, https://myserver/server/rest/services/myservicename/FeatureServer.
Specifies the types of evaluation to be executed.
The extent to be evaluated.
Specifies whether the evaluation will run synchronously or asynchronously.
The updated feature service workspace that has been evaluated.
Evaluate validation rules asynchronously using the EvaluateRules tool.
# import arcpy import arcpy # assign local variables in_workspace = "https://myserver/server/rest/services/myservicename/FeatureServer" extent = "-113.187897827702 38.0958054854392 -113.142166008849 38.1404599940719" # run the evaluation arcpy.EvaluateRules_management(in_workspace, "VALIDATION_RULES", extent, "ASYNC")
- Basic: No
- Standard: Yes
- Advanced: Yes