Select to view content in your preferred language

How do I get current job ID

909
1
11-15-2017 04:08 PM
SurendranNeelakantan
Occasional Contributor

How do I get the  ArcGIS server directories(Cache,Jobs,Output,System)  paths using arcpy  including job ID

I want search for a file in the current Job folder.  Is there any environment variables  like  arcpy.env.scrachfolder.

I know the path  but I have to add  [jobid]\scratch  to that. How do I get  current jobid.? 

0 Kudos
1 Reply
RandallWilliams
Esri Regular Contributor

I think you may have to pull it out of the location header in the response to the client.

0 Kudos