I'm customizing a geoprocessing tool that runs an arcpy.un.Trace.
I can successfully run the GP tool in ArcGIS Pro, but when I publish it to ArcGIS Enterprise, I receive the following message:
"Parameters are not valid. ERROR 000840: The value is not a String. Failed to execute (Trace)."
g_ESRI_variable_4 = 'https://myportal/server/rest/services/Water/Water/FeatureServer/8'
arcpy.un.Trace(
in_utility_network=g_ESRI_variable_4,
trace_type="ISOLATION",
starting_points=temp_starting,
domain_network="Water",
tier="Distribuição",
out_json_file=trace_json
)
Does someone once made an GP tool that runs a Trace and worked?