Data Driven Report Schedule

Hawaiian Geff
edited February 11, 2022 in Analytics #1
There are 2 reports, they do not need to be used together. <br />
<br />
The basic report checks a value and if the condition is true, throws an error otherwise it completes successfully. The value in this example is a calculated column and the report is just a simple table with 1 record. The output of the report when it is successful can be useful as a point in time status.<br />
<br />
The retries report checks a value and if the condition is true, it tries again after a set number of minutes and will continue to retry until the number of attemps has been reached. These values are set with parameters so the code doesn't need to be adjusted if you want different values for various scheduled items. It does this by querying the dataset in the report's beforeFactory method.<br />
<br />
For both reports the scheduler should be set to retry if it fails. Downstream reports should be waiting for a success from this report as that is the trigger that the desired data value is present.<br />
<br />
The supporting csv file is expected to be in c:\data, adjust as needed for your environment.