Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Triggering tasks in Report Caster
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Triggering tasks in Report Caster
 Login/Join
 
Platinum Member
posted
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
 
Posts: 100 | Registered: September 15, 2010Reply With QuoteReport This Post
Master
posted Hide Post
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.
 
Posts: 919 | Location: Oklahoma City | Registered: October 27, 2006Reply With QuoteReport This Post
Expert
posted Hide Post
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.
 
Posts: 1950 | Location: New York | Registered: November 16, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Triggering tasks in Report Caster

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.