Closed mshihadeh closed 8 years ago
Did you specify Wait? If so, it should return the item and the job has finished.
Ahhh... I didn't even think of that, thank you. I tried using a wait, but it is a large geodatabase and I was getting timeout errors. Once I removed the wait, it worked just fine. I suppose I'll have to use a different method for verifying publishing was successful.
Trying to check the status of my geodatabase upload/publish code (which is working well, thanks for the help). Status requires the jobID, and the documentation states "jobId - The job ID returned during publish, generateFeatures, export, and createService calls." However, Publish returns the itemID. Are the itemID and jobID one and the same? It does not seem like it, because when I use the itemID to check the status, it returns"
which is obviously unhelpful. Is there another way to access the jobID if it is something different? If not, any thoughts on what could be wrong with my code? I can add it if need be, but I didn't want to clutter things up if it was a simple answer. Thanks!