I see in the ArcGIS Pro documentation here: Input and output parameters for geoprocessing services—ArcGIS Pro | Documentation that the field parameter should be supported. I am running ArcGIS Pro 2.5 and ArcGIS Enterprise 1.7 so I should meet all requirements; however, after publishing the GP service I receive the message below when setting up the service within the Geoprocessing widget. Any ideas?
Can you show your tool parameters before publishing?
Sure.
In my script I am using GetParameterAsText
Hmmm, perhaps set the first 2 parameters as arcpy.GetParameter(0) and (1).
I'd take a stab at the dependency not being set as no object is input, however this is just a hypothesis.