I'm creating a model in order to publish it as a geoprocessing service. The model runs successfull in ArcMap but it crashes when I run the published GPService.
The model has a parameter called
FUSO, which can be equals to
24. This parameter selects for instance which geodatabase table I'll need to use as a route source.
The GPServer errror is
Error executing tool.: The value does not exist.\nERROR 000732: Input Features: Dataset GEO.VWG_LOGRADOURO_LIN_%FUSO% does not exist or is not supported\nWARNING 000970: The join field id_logradouro_%fuso% in the join table TABELA_DISTANCIAS is not indexed. To improve performance, we recommend that an index be created for the join field in the join table.
So I guess that despite of ArcMap be able to interprets
%FUSO% as the value of the parameter
FUSO, the GPServer does not.
Refer to images bellow to see how I built the model.
How can I pass throught it?