AnsweredAssumed Answered

broken project data source

Question asked by bflessner on Feb 15, 2018

I'm trying to publish a GP service but I'm getting the error 00068 about a broken project data source. The thing is the script creates the project data source that Pro believes is missing. The script then does some stuff to populate the table using an insert cursor before copying the table to the location specified by the user:

### ...
route = arcpy.GetParameterAsText(0)
outTable = arcpy.GetParameterAsText(1)

arcpy.CreateTable_management('in_memory', 'outTable')

## do some stuff to populate the table

arcpy.CopyRows_management('in_memory/outTable', outTable)

Any ideas on how to get around this?

Outcomes