Focal Point
[CLOSED] Triggering tasks in Report Caster

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

September 20, 2010, 06:31 PM
JBK
[CLOSED] Triggering tasks in Report Caster
How do you get Report Caster to run a task only if the one scheduled before it completed successfully?

Thank you.

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6.11, Linux, HTML, PDF, AHTML, EXCEL
September 21, 2010, 09:40 AM
jgelona
Say there are 3 jobs that are to run in sequence and JOB2 runs only if JOB1 runs successfully and JOB3 runs only if JOB2 runs successfully. Now assumming you have worked out what "runs successfully" means, here is what I would do.

Set up JOB1, JOB2 and JOB3 in report caster and schedule JOB1 to run. When it "runs successfully", use DSTRUN to tell Report Caster to run JOB2. Likewise, when JOB2 finishes, use DSTRUN to tell Report Caster to run JOB3.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
September 22, 2010, 02:33 PM
Kerry
Hi JBK,

Suggestion from our ReportCaster technicals: &&KILL_RPC in a pre-execution fex is the way to go. Each task has its own set of pre/post-execution fexes. So for each task, have it run a pre-execution fex with &&KILL_RPC; depending on the condition/test that the pre-exec fex has to run, it could even be the same pre-exec fex for all of the tasks.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.