Focal Point
[CLOSED]Schedule a Report on Selective Dates

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

February 22, 2017, 03:34 PM
tomatosauce
[CLOSED]Schedule a Report on Selective Dates
Hello Webfocus Warriors,

I have a requirement to create a schedule that runs on the next sunday of every Fiscal period end date. The Fiscal period end date is normally a saturday and is stored in our Oracle database.

Do i have to create a pre-process procedure that checks whether Today's Date EQ Fiscal period End date + One Day. If it matches then run the schedule or else kill RPC Job?

Any other suggestions are much appreciated.

This message has been edited. Last edited by: <Emily McAllister>,


Tharun Katanguru
SBOX- 8205 DEV/TEST/PROD : 8105 8205
Linux, All Outputs
February 23, 2017, 05:57 PM
Kathleen Butler
Hi Tomatosauce,

I like your profile name! I just checked with our product team and they said there is a Custom Dates option in the scheduler that allows a user to pick specific dates on which to run the schedule.

If this doesn't work please open a case so our Customer Support Team can assist you further.

Sincerely,

Kathleen Butler
Customer Care and Communications Manager
Information Builders
February 27, 2017, 04:23 PM
tomatosauce
Kathleen and Emily, Sorry for getting back late.

We got the custom dates from our Accounting Team and created the schedule to run on those specific dates. Since these dates change every year, we have to update our schedule at the end of year with new Fiscal period dates.

Thanks for the Tomatoes. "You better catch up!"


Tharun Katanguru
SBOX- 8205 DEV/TEST/PROD : 8105 8205
Linux, All Outputs
February 28, 2017, 10:22 AM
tomatosauce
I actually created a pre-process procedure with the following code.

 -SET &&KILL_RPC = IF &&LWEEK_EOW_DATE EQ &&LW_EOFP THEN 'N' ELSE 'Y';
-SET &&KILL_RPC_ERR = 'N';
 


and created a schedule to run on every sunday. Only if the pre-processer condition is met then it will run or else it will kill the RC job with warning.

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


Tharun Katanguru
SBOX- 8205 DEV/TEST/PROD : 8105 8205
Linux, All Outputs
February 28, 2017, 11:08 AM
MartinY
You could also have used the "Alert" IBI facility.


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
March 01, 2017, 12:06 AM
tomatosauce
Interesting.. I will have a look at it. Thanks MartinY


Tharun Katanguru
SBOX- 8205 DEV/TEST/PROD : 8105 8205
Linux, All Outputs