Focal Point
Difference of ScheduleID in ReportCaster Console and ReportCaster Administrator Home

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3077013406

May 23, 2011, 11:24 PM
abe786
Difference of ScheduleID in ReportCaster Console and ReportCaster Administrator Home
Hi Guys,

We recently migrated from WebFOCUS 7.1.4 to WebFOCUS 7.6.12. One of our application which uses Java Front end to schedule reports is having hard time coping with this upgrade.

It can schedule the report fine, but when I try to retrieve the job to download it, it gets a nullpointer exception. Its using function getLastLogByScheduleId to get the log info. Now with limited debugging skills I have I've debugged the Java code and found out that scheduleId being passed in getLastLogByScheduleId function is same as one displayed in ReportCaster Admin Home, but when I goto reportcaster console and see status of job which is running and which completes, it has different schedule ID.
Also If I try to see log for the job in ReportCaster Home, it says to me no log generated, while I can see the log of job in reportcaster console.

I have my WF714 servers still running, and I can see this scheduleID was same everywhere in it. So I guess, this is the real problem breaking the code i.e. the difference of scheduleID of actual job (in RC console) and one being reported in Admin Homepage. Any one has any idea what might be causing this?

Regards,


Developer Studio 7.6.11
Windows
Output Format: HTML, Excel, PDF
May 25, 2011, 01:38 PM
Don Garland
Don't mean to be indirectly helpful here, but this sounds like an issue for IBI Tech Support. Have you opened a case on this issue?
May 31, 2011, 09:34 PM
abe786
After lot of Research I found that if you trigger a schedule explicitly using manager.run(), when schedule is run its schedule ID is different from what was being generated. However, process ID returned by manager.run is constant and can be used to fetch the log instead of schedule ID. So modified the code accordingly.

Hope it helps anyone who may get stuck with the same problem..

Cheers


Developer Studio 7.6.11
Windows
Output Format: HTML, Excel, PDF