SamahSohrab607228

Using API to get running job report - V11

Discussion created by SamahSohrab607228 on Feb 9, 2017
Latest reply on Nov 2, 2017 by Jessica_Isaacson_255
Has anyone used the Java API to get the Report of a job that is still running?

I can do this to get the finished report
Report jobLog = new Report(runID, 'REP')
connectionService.sendRequestAndWait(jobLog)
But I've only been able to get as far as getting the location of the running report from the directory tab. I can't find a way to "Open" that file via the API

GetOutputDirectory directory_tab = new GetOutputDirectory(runID)
sendrequestandwait(directory_tab)
Iterator<GetOutputDirectory.OutputDirectoryItem> it = direcotry_tab.iterator();


Outcomes