Focal Point
[SOLVED] Schedule Report Caster Jobs to kick off as soon as ETL is finished

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

July 25, 2017, 10:50 AM
LarissaB
[SOLVED] Schedule Report Caster Jobs to kick off as soon as ETL is finished
Hi Experts,
Has anyone attempted to do a pre-procedure to a report caster job that would kick the actual report caster job off as soon as the last ETL piece was complete?
If that is possible, could it also be done to say kick this second report caster job off 15 minutes after the ETL is complete?

We do not use WebFOCUS for our ETL but Informatica which is all a SQL backend. I have access to the SQL table and even have it mapped into our WebFOCUS environment so I can tell when ETL is done for the day, but I am having a hard time trying to figure out the logic on how to set my report caster schedules based off of that completion time stamp instead of having static 8 am, 8:15 am... start times associated with my caster jobs.

Any suggestions?

Thank you in advance!
-Larissa

This message has been edited. Last edited by: FP Mod Chuck,


Version: 8.2.03M, OS/Platform: Windows 7 & 10, Output: Excel, pdf, html
July 25, 2017, 10:57 AM
MartinY
Look at Alert feature from WF.

Alert will launch another step (report or whatever) based on a true condition.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
July 25, 2017, 05:10 PM
dhagen
Use the ReportCaster REST API to run the schedule from Inf... Informmm... (I can't even spell it) your ETL tool. I assume that it supports REST.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
July 25, 2017, 05:58 PM
LarissaB
Thank you for the comments MartinY and dhagen, I am currently digging into both options, checking the alert features as well as looking into the licensing for the RESTful web services.

I'll keep this string updated if I get either of the two to work.

Thank you!


Version: 8.2.03M, OS/Platform: Windows 7 & 10, Output: Excel, pdf, html
July 26, 2017, 04:43 AM
pradhan_dp
We are in the process of implementing a similar solution using a different ETL tool but the tool doesn't matter.

All that needs to be done is run an update query at the end of ETL completion to update the NEXTRUNTIME of your reportcaster schedule in BOTSCHED table.


WebFOCUS 7.6.1
Windows, HTML,PDF,EXCEL2000
July 28, 2017, 12:05 PM
Doug
There are other options, in no particular or preferential order:

1) Use a "System Scheduler", such as OpCon, to run the jobs in order with dependencies on the previous jobs.

2) Have your ETL job end with a task to write a timestamp to a file which your RC job checks and act accordingly (wait/sleep x minutes and try again or continue)

3) I'm sure we can come up with other options once we get all the underlying details.




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206